Kernel memory corruption via malformed OCFS2 directory entries
Published Jul 29, 2024 · Updated Aug 5, 2026
Out-of-bounds access in the Linux OCFS2 directory parser allows local users to read or corrupt kernel memory via malformed directory entries. ocfs2_check_dir_entry() bounded record lengths against the filesystem block size rather than the actual directory buffer, allowing rec_len values to carry entries beyond valid memory. Reaching the flaw requires local low-privileged access and the kernel to parse attacker-controlled OCFS2 directory metadata, with a kernel crash among the bounded consequences.
Summary
What happened
Out-of-bounds access in the Linux OCFS2 directory parser allows local users to read or corrupt kernel memory via malformed directory entries. ocfs2_check_dir_entry() bounded record lengths against the filesystem block size rather than the actual directory buffer, allowing rec_len values to carry entries beyond valid memory. Reaching the flaw requires local low-privileged access and the kernel to parse attacker-controlled OCFS2 directory metadata, with a kernel crash among the bounded consequences.
The record
- CVE
- CVE-2024-41015
- Published
- Jul 29, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Jul 29, 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=23193e513d1cd69411469f028d56fd175d4a6b07 <13d38c00df97289e6fba2e54193959293fd910d2
- Affected versionversion=23193e513d1cd69411469f028d56fd175d4a6b07 <255547c6bb8940a97eea94ef9d464ea5967763fb
- Affected versionversion=23193e513d1cd69411469f028d56fd175d4a6b07 <53de17ad01cb5f6f8426f597e9d5c87d4cf53bb7
- Affected versionversion=23193e513d1cd69411469f028d56fd175d4a6b07 <564d23cc5b216211e1694d53f7e45959396874d0
- Affected versionversion=23193e513d1cd69411469f028d56fd175d4a6b07 <624b380074f0dc209fb8706db3295c735079f34c
- Affected versionversion=23193e513d1cd69411469f028d56fd175d4a6b07 <77495e5da5cb110a8fed27b052c77853fe282176
- Affected versionversion=23193e513d1cd69411469f028d56fd175d4a6b07 <e05a24289db90f76ff606086aadd62d068a88dcd
- Affected versionversion=23193e513d1cd69411469f028d56fd175d4a6b07 <edb2e67dd4626b06fd7eb37252d5067912e78d59
- Affected versionversion=23193e513d1cd69411469f028d56fd175d4a6b07 <fd65685594ee707cbf3ddf22ebb73697786ac114
- Affected versionversion=2.6.24
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