CVE-2022-50666

published 9 Dec 2025 · updated 15 Oct 2026

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

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 0ed8bf9d0bb19f3f5eedd73f04aaf5bba9ac0737, Kernel 5c75d608fad58301b63e7d69200c13c3a1d411da, Kernel 74ad141e995a730760b1bcfa14854b7f1057d6bc and 1 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.3, >=303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b <0ed8bf9d0bb19f3f5eedd73f04aaf5bba9ac0737, >=303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b <5c75d608fad58301b63e7d69200c13c3a1d411da, >=303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b <74ad141e995a730760b1bcfa14854b7f1057d6bc, >=303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b <a3c278807a459e6f50afee6971cabe74cccfb4900ed8bf9d0bb19f3f5eedd73f04aaf5bba9ac0737, 5c75d608fad58301b63e7d69200c13c3a1d411da, 74ad141e995a730760b1bcfa14854b7f1057d6bc, a3c278807a459e6f50afee6971cabe74cccfb490

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50666 severity on Zeptric[![CVE-2022-50666](https://zeptric.io/badge/cve/CVE-2022-50666.svg)](https://zeptric.io/cve/CVE-2022-50666)