← CVE Intelligence

CVE-2022-50137

RDMA/irdma: Fix a window for use-after-free PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Fix a window for use-after-free During a destroy CQ an interrupt may cause processing of a CQE after CQ resources are freed by irdma_cq_free_rsrc(). Fix this by moving the call to irdma_cq_free_rsrc() after the irdma_sc_cleanup_ceqes(), which is called under the cq_lock.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected b48c24c2d710cf34810c555dcef883a3d35a9c08 before 92520864ef9f912f38b403d172a0ded020683d55; affected b48c24c2d710cf34810c555dcef883a3d35a9c08 before 0abf2eef80295923b819ce89ff9edc1fe61be17c; affected b48c24c2d710cf34810c555dcef883a3d35a9c08 before 350ac793a03c8a30a3f2b27fc282cd1c67070763; affected b48c24c2d710cf34810c555dcef883a3d35a9c08 before 8ecef7890b3aea78c8bbb501a4b5b8134367b821
Linux / Linuxaffected 5.14; unaffected 0 before 5.14; unaffected 5.15.61 through 5.15.*; unaffected 5.18.18 through 5.18.*; unaffected 5.19.2 through 5.19.*; unaffected 6.0 through *

CWE

No CWE identifiers supplied.

References