Kernel crash via device-mapper mempool race
Published May 22, 2024 · Updated May 11, 2026
NULL pointer dereference in the Linux kernel allows attackers to crash the system via concurrent device-mapper table swaps. In dm_io_dec_pending(), end_io_acct() wakes a table-swapping task before free_io() releases the I/O object, allowing bioset teardown to clear mempool->elements before mempool_free() uses it. Reaching the race requires a device-mapper table swap to overlap I/O completion; the bounded result is a kernel crash.
Summary
What happened
NULL pointer dereference in the Linux kernel allows attackers to crash the system via concurrent device-mapper table swaps. In dm_io_dec_pending(), end_io_acct() wakes a table-swapping task before free_io() releases the I/O object, allowing bioset teardown to clear mempool->elements before mempool_free() uses it. Reaching the race requires a device-mapper table swap to overlap I/O completion; the bounded result is a kernel crash.
The record
- CVE
- CVE-2021-47435
- Published
- May 22, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- May 22, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 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=2.6.37
- Affected versionversion=6a8736d10cb413be95ea443ba40f25c93f4ef9b2 <6e506f07c5b561d673dd0b0d8f7f420cc48024fb
- Affected versionversion=6a8736d10cb413be95ea443ba40f25c93f4ef9b2 <9e07272cca2ed76f7f6073f4444b1143828c8d87
- Affected versionversion=6a8736d10cb413be95ea443ba40f25c93f4ef9b2 <9fb7cd5c7fef0f1c982e3cd27745a0dec260eaed
- Affected versionversion=6a8736d10cb413be95ea443ba40f25c93f4ef9b2 <ad1393b92e5059218d055bfec8f4946d85ad04c4
- Affected versionversion=6a8736d10cb413be95ea443ba40f25c93f4ef9b2 <d208b89401e073de986dc891037c5a668f5d5d95
- Affected versionversion=6a8736d10cb413be95ea443ba40f25c93f4ef9b2 <d29c78d3f9c5d2604548c1065bf1ec212728ea61
- Affected versionversion=6a8736d10cb413be95ea443ba40f25c93f4ef9b2 <d35aef9c60d310eff3eaddacce301efe877e2b7c
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
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.
Weakness, pattern, technique
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