Local kernel crash via invalid compressed-block assignment
Published Aug 17, 2024 · Updated Aug 5, 2026
Out-of-bounds access in f2fs on affected Linux kernel versions allows local users to crash the kernel through compressed-file writeback. During writeback, set_cluster_dirty marks the page for garbage collection, but do_write_page assigns CURSEG_ALL_DATA_ATGC when blkaddr is COMPR_ADDR, causing segment lookup to index outside its arrays. Exploitation requires local write access to a compression-enabled f2fs mount; the resulting BUG_ON or kernel oops can hang the filesystem or system.
Summary
What happened
Out-of-bounds access in f2fs on affected Linux kernel versions allows local users to crash the kernel through compressed-file writeback. During writeback, set_cluster_dirty marks the page for garbage collection, but do_write_page assigns CURSEG_ALL_DATA_ATGC when blkaddr is COMPR_ADDR, causing segment lookup to index outside its arrays. Exploitation requires local write access to a compression-enabled f2fs mount; the resulting BUG_ON or kernel oops can hang the filesystem or system.
The record
- CVE
- CVE-2024-42273
- Published
- Aug 17, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 17, 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=417b8a91f4e8831cadaf85c3f15c6991c1f54dde <4239571c5db46a42f723b8fa8394039187c34439
- Affected versionversion=4961acdd65c956e97c1a000c82d91a8c1cdbe44b <0cd106612396656d6f1ca17ef192c6759bb60791
- Affected versionversion=4961acdd65c956e97c1a000c82d91a8c1cdbe44b <8cb1f4080dd91c6e6b01dbea013a3f42341cb6a1
- Affected versionversion=5.15.149 <5.16
- Affected versionversion=6.1.77 <6.1.104
- Affected versionversion=6.6.16 <6.6.45
- Affected versionversion=6.7.4 <6.8
- Affected versionversion=6.8
- Affected versionversion=7c972c89457511007dfc933814c06786905e515c <5fd057160ab240dd816ae09b625395d54c297de1
- Affected versionversion=7ea0f29d9fd84905051be020c0df7d557e286136
- Affected versionversion=b8094c0f1aae329b1c60a275a780d6c2c9ff7aa3
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