CVE-2024-38545: RDMA/hns: Fix UAF for cq async event
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 xalock() to protect the CQ refcount.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-38545?
CVE-2024-38545 has been classified with a medium severity due to the potential for user-after-free (UAF) vulnerabilities.
How do I fix CVE-2024-38545?
To address CVE-2024-38545, update your Linux kernel to versions 6.1.123-1, 6.1.119-1, 6.12.10-1, or 6.12.11-1.
What does CVE-2024-38545 impact?
CVE-2024-38545 affects the Linux kernel, specifically involving RDMA/hns and concurrent CQ asynchronous events.
Is there a workaround for CVE-2024-38545?
There are no recommended workarounds for CVE-2024-38545 beyond applying the available patches.
When was CVE-2024-38545 disclosed?
CVE-2024-38545 was disclosed in the year 2024, highlighting a significant vulnerability in the Linux kernel.