Kernel crash via oversized ext4 group preallocation
Published Jul 12, 2024 · Updated May 11, 2026
A slab out-of-bounds read in Linux 6.5 through 6.6.35 and 6.7 through 6.9.6 allows local users to crash the kernel. The ext4 allocator derives index 29 from an oversized s_mb_group_prealloc value and reads a 14-entry s_mb_avg_fragment_size array without bounding that index. Triggering requires local access to write the ext4 sysfs parameter on a mounted filesystem and then force block allocation; the bounded consequence is a kernel crash.
Summary
What happened
A slab out-of-bounds read in Linux 6.5 through 6.6.35 and 6.7 through 6.9.6 allows local users to crash the kernel. The ext4 allocator derives index 29 from an oversized s_mb_group_prealloc value and reads a 14-entry s_mb_avg_fragment_size array without bounding that index. Triggering requires local access to write the ext4 sysfs parameter on a mounted filesystem and then force block allocation; the bounded consequence is a kernel crash.
The record
- CVE
- CVE-2024-40955
- Published
- Jul 12, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-125, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 12, 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.5
- Affected versionversion=7e170922f06bf46effa7c57f6035fc463d6edc7e <13df4d44a3aaabe61cd01d277b6ee23ead2a5206
- Affected versionversion=7e170922f06bf46effa7c57f6035fc463d6edc7e <677ff4589f1501578fa903a25bb14831d0607992
- Affected versionversion=7e170922f06bf46effa7c57f6035fc463d6edc7e <b829687ae1229224262bcabf49accfa2dbf8db06
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