CVE-2021-47616·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: RDMA: Fix use-after-free in rxe_queue_cleanup On error handling path in rxe_qp_from_init() qp->sq.queue is freed and then rxe_create_qp() will drop last reference to this object. qp clean up function will try to free this queue one time and it causes UAF bug. Fix it by zeroing queue pointer after freeing queue in rxe_qp_from_init().
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.15.10
- Published
- 2024-06-19
Affected versions
From: 5.15
Until: 5.15.10
Fixed in: 5.15.10
How to fix this CVE
Update your Linux kernel to version 5.15.10 or later to remediate this use-after-free vulnerability in the RDMA rxe queue management subsystem. The vulnerability occurs during error handling when queue pointers are not properly cleared after deallocation, leading to potential memory corruption. Apply kernel updates immediately if you are running RDMA-dependent workloads or have kernel versions 5.15 through 5.15.9 deployed.
sudo dnf upgrade kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check current kernel version: uname -r
- Verify if RDMA/rxe modules are loaded: lsmod | grep -E 'rdma|rxe'
- Review dmesg for UAF warnings: sudo dmesg | grep -i 'use.after.free\|sanitizer\|rxe'
- Confirm kernel update applied: uname -r (should show 5.15.10 or later)
FAQ
What is CVE-2021-47616?
This is a use-after-free vulnerability in the Linux kernel's RDMA rxe queue cleanup function where a queue pointer is freed during error handling but not zeroed, allowing subsequent cleanup attempts to access freed memory.
Is CVE-2021-47616 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2021-47616?
Linux kernel versions 5.15 through 5.15.9 are affected; the vulnerability is resolved in 5.15.10 and later.
How do I check if my server is vulnerable to CVE-2021-47616?
Run 'uname -r' to display your kernel version. If the output shows 5.15.0 through 5.15.9, your system is vulnerable and requires immediate updating.
Does Defensia detect CVE-2021-47616?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2021-47616 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47616. Free for 1 server.
Get started free