CVE-2021-47600·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: dm btree remove: fix use after free in rebalance_children() Move dm_tm_unlock() after dm_tm_dec().
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.15.11
- Published
- 2024-06-19
Affected versions
From: 5.11
Until: 5.15.11
Fixed in: 5.15.11
How to fix this CVE
Update your Linux kernel to version 5.15.11 or later to remediate CVE-2021-47600, a memory corruption vulnerability in the device mapper btree removal logic. This flaw allows local privileged users to cause a denial of service or potentially escalate privileges by triggering a use-after-free condition during btree rebalancing operations. Apply the patch immediately if your system is running kernel versions 5.11 through 5.15.10.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check your current kernel version; if it falls within 5.11.x to 5.15.10, your system is vulnerable
- Verify device mapper btree usage by checking if dm-related modules are loaded: 'lsmod | grep dm'
- Search kernel logs for btree rebalancing errors: 'journalctl -u kernel | grep -i "btree\|rebalance"'
- After patching, run 'uname -r' again and confirm the kernel version is 5.15.11 or later
FAQ
What is CVE-2021-47600?
CVE-2021-47600 is a use-after-free vulnerability in the Linux kernel's device mapper btree removal function that occurs when memory is accessed after being freed during rebalancing operations, potentially allowing local privilege escalation.
Is CVE-2021-47600 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available, though the high CVSS score warrants prompt patching.
What versions of Kernel are affected by CVE-2021-47600?
Linux kernel versions 5.11.0 through 5.15.10 are vulnerable; version 5.15.11 and later include the fix.
How do I check if my server is vulnerable to CVE-2021-47600?
Run 'uname -r' and verify the output; if it shows a kernel version between 5.11 and 5.15.10 (inclusive), your system requires the patch.
Does Defensia detect CVE-2021-47600?
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-47600 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0e21e6cd5eebfc929ac5fa3b97ca2d4ace3cb6a3
- https://git.kernel.org/stable/c/1b8d2789dad0005fd5e7d35dab26a8e1203fb6da
- https://git.kernel.org/stable/c/293f957be5e39720778fb1851ced7f5fba6d51c3
- https://git.kernel.org/stable/c/501ecd90efdc9b2edc6c28852ecd098a4adf8f00
- https://git.kernel.org/stable/c/607beb420b3fe23b948a9bf447d993521a02fbbb
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47600. Free for 1 server.
Get started free