All reports
Medium

kernel: RDMA/siw: Fix QP destroy to wait for all references dropped

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-50666

Probability of exploitation in the next 30 days: 0.79%

FIRST EPSS · 2026-11-18

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/siw: Fix QP destroy to wait for all references dropped. Delay QP destroy completion until all siw references to QP are dropped. The calling RDMA core will free QP structure after successful return from siw_qp_destroy() call, so siw must not hold any remaining reference to the QP upon return. A use-after-free was encountered in xfstest generic/460, while testing NFSoRDMA. Here, after a TCP connection drop by peer, the triggered siw_cm_work_handler got delayed until after QP destroy call, referencing a QP which has already freed.

A flaw was found in the Linux kernel's Soft-iWARP (siw) driver. This issue can lead to a Denial of Service (DoS) via a kernel crash when network connections are terminated. The driver fails to wait for all references to a queue pair structure to be released before completing its destruction. A remote peer can trigger this flaw by dropping a network connection during teardown, causing delayed connection routines to access already freed memory.