CVE-2021-47137·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net: lantiq: fix memory corruption in RX ring In a situation where memory allocation or dma mapping fails, an invalid address is programmed into the descriptor. This can lead to memory corruption. If the memory allocation fails, DMA should reuse the previous skb and mapping and drop the packet. This patch also increments rx drop counter.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.12.9
- Published
- 2024-03-25
Affected versions
From: 5.11
Until: 5.12.9
Fixed in: 5.12.9
How to fix this CVE
Update your Linux kernel to version 5.12.9 or later to resolve a critical memory corruption issue in the Lantiq network driver's RX ring buffer. Systems running kernel versions 5.11 through 5.12.8 should prioritize this patch, as failed memory allocations or DMA mapping operations can cause kernel memory corruption and potential system instability.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and compare against 5.12.9
- Step 2: Verify if your system uses Lantiq network hardware with `ethtool -i eth0 | grep driver`
- Step 3: Search kernel logs for DMA allocation failures: `sudo dmesg | grep -i 'dma\|allocation failed\|memory'`
- Step 4: After patching, confirm the new kernel version with `uname -r` and verify it shows 5.12.9 or later
FAQ
What is CVE-2021-47137?
This vulnerability affects the Lantiq network driver in the Linux kernel where failed memory allocation or DMA mapping operations result in an invalid descriptor address being written to hardware, causing kernel memory corruption and potential data loss or system crash.
Is CVE-2021-47137 being actively exploited?
No, there is no evidence of active exploitation in the wild, and no public exploits are available. However, the high CVSS score of 7.8 indicates this should still be patched promptly.
What versions of Kernel are affected by CVE-2021-47137?
Linux kernel versions 5.11 through 5.12.8 are vulnerable. Version 5.12.9 and later contain the fix.
How do I check if my server is vulnerable to CVE-2021-47137?
Run `uname -r` to display your kernel version. If it shows 5.11.x through 5.12.8, your system is vulnerable. Additionally, confirm Lantiq hardware presence with `ethtool -i eth0`.
Does Defensia detect CVE-2021-47137?
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-47137 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/46dd4abced3cb2c912916f4a5353e0927db0c4a2
- https://git.kernel.org/stable/c/5ac72351655f8b033a2935646f53b7465c903418
- https://git.kernel.org/stable/c/8bb1077448d43a871ed667520763e3b9f9b7975d
- https://git.kernel.org/stable/c/c7718ee96dbc2f9c5fc3b578abdf296dd44b9c20
- https://git.kernel.org/stable/c/46dd4abced3cb2c912916f4a5353e0927db0c4a2
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47137. Free for 1 server.
Get started free