What’s Vulnerable › Vulnerabilities

CVE-2024-38545: RDMA/hns: Fix UAF for cq async event

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix UAF for cq async event The refcount of CQ is not protected by locks. When CQ asynchronous events and CQ destruction are concurrent, CQ may have been released, which will cause UAF. Use the xa_lock() to protect the CQ refcount.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.168, 6.1.93, 6.6.33, 6.8.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-38545 or the next vulnerability affects your stack