CVE-2022-50666
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 versions
Linux kernel versions
5.3
and later are affected. Fixed in
5.15.75,
5.19.17,
6.0.3,
6.1
and their respective stable series.
References
The following references provide additional information about CVE-2022-50666 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0ed8bf9d0bb19f3f5eedd73f04aaf5bba9ac0737
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5c75d608fad58301b63e7d69200c13c3a1d411da
-
PatchKernel patch commithttps://git.kernel.org/stable/c/74ad141e995a730760b1bcfa14854b7f1057d6bc
Frequently asked questions
-
What is CVE-2022-50666?
CVE-2022-50666 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.3 onward and has been patched in 5.15.75, 5.19.17, 6.0.3 and others. CVE-2022-50666 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2022-50666?
Yes — CVE-2022-50666 has been patched. Fixed versions include 5.15.75, 5.19.17, 6.0.3 and others. If you are running Linux kernel 5.3 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-50666 actively exploited?
No — CVE-2022-50666 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.