CVE-2022-50666

CRITICALCVSS 9.8/10EPSS 0.22%

Last modified

CVE-2022-50666 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
0.22%

12.4th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, < 5c75d608fad58301b63e7d69200c13c3a1d411da; >= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, < 74ad141e995a730760b1bcfa14854b7f1057d6bc; >= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, < 0ed8bf9d0bb19f3f5eedd73f04aaf5bba9ac0737; >= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, < a3c278807a459e6f50afee6971cabe74cccfb490
LinuxLinux5.3

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is 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.
How severe is CVE-2022-50666?
CVE-2022-50666 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 0.22% probability of exploitation in the next 30 days.
How do I fix CVE-2022-50666?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2022

Are you affected by CVE-2022-50666?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST