CVE-2024-47750·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.11.2
- Published
- 2024-10-21
Affected versions
From: 6.11
Until: 6.11.2
Fixed in: 6.11.2
How to fix this CVE
Update your Linux kernel to version 6.11.2 or later to resolve this use-after-free vulnerability in the RDMA/hns driver. The fix ensures that reserved queue pair resources are properly cleaned up after device unregistration, preventing kernel memory corruption when memory deregistration operations occur during shutdown on HIP08 hardware. Reboot the system after applying the kernel update to activate the patched code.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r (vulnerable if output shows 6.11.0, 6.11.1, or 6.11.2)
- Verify HIP08 RDMA hardware presence: lspci | grep -i 'Mellanox\|HIP08\|infiniband' (if present and kernel is vulnerable, system is at risk)
- Search system logs for RDMA errors: dmesg | grep -i 'rdma\|hns\|use.after.free' or journalctl -u kernel | grep -i 'rsv_qp'
- Confirm patch applied: uname -r should show version 6.11.2 or higher, or dmesg | tail -20 should show no RDMA-related memory warnings post-reboot
FAQ
What is CVE-2024-47750?
This vulnerability is a use-after-free defect in the Linux kernel's RDMA/hns (Hisilicon RoCE) driver where reserved queue pair structures are deallocated prematurely, allowing subsequent device deregistration operations to reference freed memory and cause kernel instability.
Is CVE-2024-47750 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and has no public exploit code available, though it represents a high-severity memory safety issue.
What versions of Kernel are affected by CVE-2024-47750?
Linux kernel versions 6.11.0 through 6.11.1 on HIP08 hardware are vulnerable; version 6.11.2 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-47750?
Run uname -r to check your kernel version—if it shows 6.11.0 or 6.11.1 and lspci reports Hisilicon RDMA/HIP08 hardware, your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2024-47750?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-47750 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2ccf1c75d39949d8ea043d04a2e92d7100ea723d
- https://git.kernel.org/stable/c/60595923371c2ebe7faf82536c47eb0c967e3425
- https://git.kernel.org/stable/c/d2d9c5127122745da6e887f451dd248cfeffca33
- https://git.kernel.org/stable/c/dac2723d8bfa9cf5333f477741e6e5fa1ed34645
- https://git.kernel.org/stable/c/fd8489294dd2beefb70f12ec4f6132aeec61a4d0
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-47750. Free for 1 server.
Get started free