Local privilege escalation via unlocked dm-btree child
Published Jun 19, 2024 · Updated Aug 5, 2026
Use-after-free in Linux kernel dm-btree removal allows local users to corrupt kernel memory through dm-thin metadata updates. In rebalance_children(), dm_tm_unlock() releases the child buffer before dm_block_location() reads from it and passes the resulting block number to dm_tm_dec(). A host must use an affected dm-thin or LVM thin pool, and access to a thin-backed filesystem or device permits discards that can trigger a kernel crash, memory disclosure, or privilege escalation.
Summary
What happened
Use-after-free in Linux kernel dm-btree removal allows local users to corrupt kernel memory through dm-thin metadata updates. In rebalance_children(), dm_tm_unlock() releases the child buffer before dm_block_location() reads from it and passes the resulting block number to dm_tm_dec(). A host must use an affected dm-thin or LVM thin pool, and access to a thin-backed filesystem or device permits discards that can trigger a kernel crash, memory disclosure, or privilege escalation.
The record
- CVE
- CVE-2021-47600
- Published
- Jun 19, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 19, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.2
- Affected versionversion=3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 <0e21e6cd5eebfc929ac5fa3b97ca2d4ace3cb6a3
- Affected versionversion=3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 <1b8d2789dad0005fd5e7d35dab26a8e1203fb6da
- Affected versionversion=3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 <293f957be5e39720778fb1851ced7f5fba6d51c3
- Affected versionversion=3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 <501ecd90efdc9b2edc6c28852ecd098a4adf8f00
- Affected versionversion=3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 <607beb420b3fe23b948a9bf447d993521a02fbbb
- Affected versionversion=3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 <66ea642af6fd4eacb5d0271a922130fcf8700424
- Affected versionversion=3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 <a48f6a2bf33734ec5669ee03067dfb6c5b4818d6
- Affected versionversion=3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 <b03abd0aa09c05099f537cb05b8460c4298f0861
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo