CVE Catalog

CVE-2022-50666

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.66%

48th percentile - higher than 48% of all known CVEs

Summary

In the Linux kernel, in the RDMA/siw subsystem, a bug was fixed where QP destruction did not wait for all references to be dropped. The destruction completion was delayed until all siw references to the QP are released, preventing a use-after-free.

Risk Assessment

The vulnerability could lead to use-after-free, potentially causing system crashes or privilege escalation in environments using RDMA/siw.

Recommendation

Apply the Linux kernel update containing the fix for this vulnerability.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS