CVE-2024-47750 RDMA/hns: Fix Use-After-Free of rsv_qp on HIP08
A use-after-free vulnerability in the Linux kernel RDMA driver allows attackers to potentially execute code or escalate privileges via deregistering memory regions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-47750?
CVE-2024-47750 is a high-severity use after free vulnerability in Linux kernel, published on 21 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
RDMA/hns: Fix Use-After-Free of rsv_qp on HIP08
Currently rsv_qp is freed before ib_unregister_device() is called on HIP08. During the time interval, users can still dereg MR and rsv_qp will be used in this process, leading to a UAF. Move the release of rsv_qp after calling ib_unregister_device() to fix it.
Weakness: CWE-416
Which versions are affected by CVE-2024-47750?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-47750?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2024-47750 being exploited?
There is no known exploitation of CVE-2024-47750 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-50948, BELL-CVE-2024-47750, DEBIAN-CVE-2024-47750, GHSA-qhxx-xgp6-7rvh, UBUNTU-CVE-2024-47750.