CVE-2024-47750: RDMA/hns: Fix Use-After-Free of rsv_qp on HIP08
In the Linux kernel, the following vulnerability has been resolved:
RDMA/hns: Fix Use-After-Free of rsvqp on HIP08
Currently rsvqp is freed before ibunregisterdevice() is called on HIP08. During the time interval, users can still dereg MR and rsvqp will be used in this process, leading to a UAF. Move the release of rsvqp after calling ibunregisterdevice() to fix it.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-47750?
CVE-2024-47750 is classified as a vulnerability in the Linux kernel that can lead to a use-after-free condition.
What versions of the Linux kernel are affected by CVE-2024-47750?
CVE-2024-47750 affects multiple versions of the Linux kernel between 5.18 and 6.1.113, 6.2 and 6.6.54, 6.7 and 6.10.13, as well as 6.11 and 6.11.2.
How do I fix CVE-2024-47750?
To fix CVE-2024-47750, users should update their Linux kernel to a patched version that addresses this vulnerability.
What could happen if I don't address CVE-2024-47750?
If CVE-2024-47750 is not addressed, it may allow attackers to exploit the use-after-free condition, possibly leading to system instability or unauthorized access.
Is CVE-2024-47750 specific to any hardware?
CVE-2024-47750 is specifically noted to affect the HIP08 hardware platform in the context of RDMA operations.