System crash via unchecked Btrfs folio mapping
Published Jan 6, 2025 · Updated May 23, 2026
A race in Btrfs relocation in affected Linux kernel versions allows local users to crash the system during a transaction abort. After btrfs_read_folio() unlocks a folio, concurrent invalidation can clear its mapping before relocate_one_folio() relocks it; set_extent_mapping() then dereferences the unchecked null mapping. Triggering the crash requires local access and the narrow overlap of Btrfs relocation with transaction cleanup that invalidates the same folio.
Summary
What happened
A race in Btrfs relocation in affected Linux kernel versions allows local users to crash the system during a transaction abort. After btrfs_read_folio() unlocks a folio, concurrent invalidation can clear its mapping before relocate_one_folio() relocks it; set_extent_mapping() then dereferences the unchecked null mapping. Triggering the crash requires local access and the narrow overlap of Btrfs relocation with transaction cleanup that invalidates the same folio.
The record
- CVE
- CVE-2024-56758
- Published
- Jan 6, 2025
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 6, 2025CVE publishedPublication date reported by the CVE source.
- May 23, 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=08daa38ca212d87f77beae839bc9be71079c7abf <36679fab54fa7bcffafd469e2c474c1fc4beaee0
- Affected versionversion=6.1.54 <6.1.141
- Affected versionversion=6.5.4 <6.6
- Affected versionversion=6.6
- Affected versionversion=9d1e020ed9649cf140fcfafd052cfdcce9e9d67d
- Affected versionversion=e7f1326cc24e22b38afc3acd328480a1183f9e79 <3e74859ee35edc33a022c3f3971df066ea0ca6b9
- Affected versionversion=e7f1326cc24e22b38afc3acd328480a1183f9e79 <c7b1bd52a031ad0144d42eef0ba8471ce75122dd
- Affected versionversion=e7f1326cc24e22b38afc3acd328480a1183f9e79 <d508e56270389b3a16f5b3cf247f4eb1bbad1578
What conditions does exploitation require?
What is affected?
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