Kernel crash via corrupted ext4 fragment accounting
Published Apr 3, 2024 · Updated May 23, 2026
A divide-by-zero flaw in Linux kernel 5.19.12 through 6.7.6 allows local users to crash the kernel via a corrupted ext4 filesystem. mb_update_avg_fragment_size() tests bb_free for zero but divides it by bb_fragments, leaving a zero fragment count unchecked as the denominator. Exploitation requires locally accessible corrupted ext4 block-bitmap metadata to reach allocator accounting; the reported consequence is an availability-only kernel crash.
Summary
What happened
A divide-by-zero flaw in Linux kernel 5.19.12 through 6.7.6 allows local users to crash the kernel via a corrupted ext4 filesystem. mb_update_avg_fragment_size() tests bb_free for zero but divides it by bb_fragments, leaving a zero fragment count unchecked as the denominator. Exploitation requires locally accessible corrupted ext4 block-bitmap metadata to reach allocator accounting; the reported consequence is an availability-only kernel crash.
The record
- CVE
- CVE-2024-26774
- Published
- Apr 3, 2024
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-369, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 3, 2024CVE 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=398a0fdb38d9ab5e68023667cc5e6e3d109e2d6b
- Affected versionversion=5.19.12 <5.20
- Affected versionversion=6.0
- Affected versionversion=83e80a6e3543f37f74c8e48a5f305b054b65ce2a <8b40eb2e716b503f7a4e1090815a17b1341b2150
- Affected versionversion=83e80a6e3543f37f74c8e48a5f305b054b65ce2a <8cf9cc602cfb40085967c0d140e32691c8b71cf3
- Affected versionversion=83e80a6e3543f37f74c8e48a5f305b054b65ce2a <993bf0f4c393b3667830918f9247438a8f6fdb5b
- Affected versionversion=83e80a6e3543f37f74c8e48a5f305b054b65ce2a <f32d2a745b02123258026e105a008f474f896d6a
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.
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