{"id":"CVE-2022-50666","summary":"RDMA/siw: Fix QP destroy to wait for all references dropped.","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/siw: Fix QP destroy to wait for all references dropped.\n\nDelay QP destroy completion until all siw references to QP are\ndropped. The calling RDMA core will free QP structure after\nsuccessful return from siw_qp_destroy() call, so siw must not\nhold any remaining reference to the QP upon return.\nA use-after-free was encountered in xfstest generic/460, while\ntesting NFSoRDMA. Here, after a TCP connection drop by peer,\nthe triggered siw_cm_work_handler got delayed until after\nQP destroy call, referencing a QP which has already freed.","modified":"2026-04-02T08:28:41.924286Z","published":"2025-12-09T01:29:16.813Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50666.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0ed8bf9d0bb19f3f5eedd73f04aaf5bba9ac0737"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5c75d608fad58301b63e7d69200c13c3a1d411da"},{"type":"WEB","url":"https://git.kernel.org/stable/c/74ad141e995a730760b1bcfa14854b7f1057d6bc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a3c278807a459e6f50afee6971cabe74cccfb490"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50666.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50666"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b"},{"fixed":"5c75d608fad58301b63e7d69200c13c3a1d411da"},{"fixed":"74ad141e995a730760b1bcfa14854b7f1057d6bc"},{"fixed":"0ed8bf9d0bb19f3f5eedd73f04aaf5bba9ac0737"},{"fixed":"a3c278807a459e6f50afee6971cabe74cccfb490"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50666.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.0"},{"fixed":"5.15.75"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.19.17"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.20.0"},{"fixed":"6.0.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50666.json"}}],"schema_version":"1.7.5"}