CVE-2021-47614·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Fix a user-after-free in add_pble_prm When irdma_hmc_sd_one fails, 'chunk' is freed while its still on the PBLE info list. Add the chunk entry to the PBLE info list only after successful setting of the SD in irdma_hmc_sd_one.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.15.10
- Published
- 2024-06-19
Affected versions
From: 5.14
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 patch a memory management vulnerability in the RDMA/irdma driver. This flaw can allow local attackers with low privileges to trigger a use-after-free condition, potentially leading to system crashes or privilege escalation. Systems running kernel versions 5.14 through 5.15.9 should prioritize this update.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version by running: uname -r. Vulnerable versions are 5.14.0 through 5.15.9.
- Step 2: Verify if RDMA/irdma driver is loaded by running: lsmod | grep irdma. If output is empty, the driver is not active.
- Step 3: Search kernel logs for memory errors or page faults related to irdma by running: sudo journalctl -xe | grep -i 'irdma\|use.after.free\|memory'.
- Step 4: After patching, reboot and confirm the new kernel version with: uname -r. Ensure it is 5.15.10 or later.
FAQ
What is CVE-2021-47614?
CVE-2021-47614 is a use-after-free vulnerability in the Linux kernel's RDMA/irdma driver. During memory allocation for page-based list entries, if the SD (Scatter Descriptor) setup fails, the chunk structure is prematurely freed while still referenced in the PBLE list, enabling potential denial of service or code execution.
Is CVE-2021-47614 being actively exploited?
No. This vulnerability is not listed on CISA's Known Exploited Vulnerabilities (KEV) catalog, and no public exploits are currently available.
What versions of Kernel are affected by CVE-2021-47614?
Linux kernel versions 5.14 through 5.15.9 are vulnerable. The fix is included in kernel 5.15.10 and all later versions.
How do I check if my server is vulnerable to CVE-2021-47614?
Run 'uname -r' and compare your kernel version. If it shows 5.14.x through 5.15.9, you are vulnerable. Also verify irdma is loaded with 'lsmod | grep irdma'.
Does Defensia detect CVE-2021-47614?
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-47614 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-47614. Free for 1 server.
Get started free