Local storage exhaustion via misaligned free-space accounting
Published Jul 30, 2024 · Updated May 11, 2026
Availability flaw in zoned Btrfs in Linux 6.7 allows local users to exhaust allocatable space and trigger ENOSPC during writes. calc_available_free_space() uses an incorrect data chunk size and returns a non-zone-aligned byte count, overstating metadata or system space available for allocation. The condition requires zoned mode on a nearly full, large-zone device; reduced asynchronous metadata reclaim then leaves writes unable to allocate space.
Summary
What happened
Availability flaw in zoned Btrfs in Linux 6.7 allows local users to exhaust allocatable space and trigger ENOSPC during writes. calc_available_free_space() uses an incorrect data chunk size and returns a non-zone-aligned byte count, overstating metadata or system space available for allocation. The condition requires zoned mode on a nearly full, large-zone device; reduced asynchronous metadata reclaim then leaves writes unable to allocate space.
The record
- CVE
- CVE-2024-42231
- Published
- Jul 30, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 30, 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=6.7
- Affected versionversion=cb6cbab79055ca207ad88bc54226b48ececdcef0 <64d2c847ba380e07b9072d65a50aa6469d2aa43f
- Affected versionversion=cb6cbab79055ca207ad88bc54226b48ececdcef0 <8548903b1999bba02a2b894ad750ab8eb1f40307
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.
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