File unavailability via F2FS reserved-block miscount
Published May 17, 2024 · Updated May 11, 2026
An F2FS compressed-block accounting error in Linux allows local users to leave files unrecoverable after storage exhaustion. In reserve_compress_blocks(), an -ENOSPC return bypasses reserved_blocks += ret, leaving the counter at zero and preventing the fsck repair flag from being set. Reaching the flaw requires local low-privileged access, an F2FS compressed file with one direct node, and a nearly full filesystem; the affected file remains unusable until filesystem repair runs.
Summary
What happened
An F2FS compressed-block accounting error in Linux allows local users to leave files unrecoverable after storage exhaustion. In reserve_compress_blocks(), an -ENOSPC return bypasses reserved_blocks += ret, leaving the counter at zero and preventing the fsck repair flag from being set. Reaching the flaw requires local low-privileged access, an F2FS compressed file with one direct node, and a nearly full filesystem; the affected file remains unusable until filesystem repair runs.
The record
- CVE
- CVE-2024-35844
- Published
- May 17, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 17, 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=5.8
- Affected versionversion=c75488fb4d82b697f381f855bf5b16779df440aa <2f6d721e14b69d6e1251f69fa238b48e8374e25f
- Affected versionversion=c75488fb4d82b697f381f855bf5b16779df440aa <569c198c9e2093fd29cc071856a4e548fda506bc
- Affected versionversion=c75488fb4d82b697f381f855bf5b16779df440aa <889846dfc8ee2cf31148a44bfd2faeb2faadc685
- Affected versionversion=c75488fb4d82b697f381f855bf5b16779df440aa <f0bf89e84c3afb79d7a3a9e4bc853ad6a3245c0a
- Affected versionversion=c75488fb4d82b697f381f855bf5b16779df440aa <fa3ac8b1a227d9b470b87972494293348b5839ee
- Affected versionversion=c75488fb4d82b697f381f855bf5b16779df440aa <fc0aed88afbf6f606205129a7466eebdf528e3f3
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