Kernel corruption via malformed NILFS2 directory entry
Published Jul 29, 2024 · Updated Aug 5, 2026
Out-of-bounds access in the Linux NILFS2 filesystem allows attackers to crash or corrupt the kernel via a malformed directory. nilfs_dotdot() accepts an invalid parent-entry location beyond the first directory chunk, and nilfs_set_link() then reads and writes outside the folio. A privileged user or automount daemon must first mount the crafted NILFS2 image; an unprivileged rename can then panic the host or corrupt kernel memory.
Summary
What happened
Out-of-bounds access in the Linux NILFS2 filesystem allows attackers to crash or corrupt the kernel via a malformed directory. nilfs_dotdot() accepts an invalid parent-entry location beyond the first directory chunk, and nilfs_set_link() then reads and writes outside the folio. A privileged user or automount daemon must first mount the crafted NILFS2 image; an unprivileged rename can then panic the host or corrupt kernel memory.
The record
- CVE
- CVE-2024-41034
- Published
- Jul 29, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- unauthenticated
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=2.6.30
- Affected versionversion=2ba466d74ed74f073257f86e61519cb8f8f46184 <1a8879c0771a68d70ee2e5e66eea34207e8c6231
- Affected versionversion=2ba466d74ed74f073257f86e61519cb8f8f46184 <24c1c8566a9b6be51f5347be2ea76e25fc82b11e
- Affected versionversion=2ba466d74ed74f073257f86e61519cb8f8f46184 <298cd810d7fb687c90a14d8f9fd1b8719a7cb8a5
- Affected versionversion=2ba466d74ed74f073257f86e61519cb8f8f46184 <60f61514374e4a0c3b65b08c6024dd7e26150bfd
- Affected versionversion=2ba466d74ed74f073257f86e61519cb8f8f46184 <7000b438dda9d0f41a956fc9bffed92d2eb6be0d
- Affected versionversion=2ba466d74ed74f073257f86e61519cb8f8f46184 <a9a466a69b85059b341239766a10efdd3ee68a4b
- Affected versionversion=2ba466d74ed74f073257f86e61519cb8f8f46184 <a9e1ddc09ca55746079cc479aa3eb6411f0d99d4
- Affected versionversion=2ba466d74ed74f073257f86e61519cb8f8f46184 <ff9767ba2cb949701e45e6e4287f8af82986b703
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