Kernel panic via unvalidated conflicting inode flags
Published Nov 12, 2025 · Updated Aug 5, 2026
Improper ext4 inode validation in the Linux kernel allows attackers to crash the host through a crafted local filesystem image. ext4_has_inline_data() accepts an inode bearing both INLINE_DATA and EXTENTS, so __ext4_iget() skips extent-tree validation and out-of-order extents underflow the hole-size calculation in ext4_es_cache_extent(), triggering BUG_ON. The image must be mounted without a journal and the crafted verity file opened; a user or automounter must perform the mount and access.
Summary
What happened
Improper ext4 inode validation in the Linux kernel allows attackers to crash the host through a crafted local filesystem image. ext4_has_inline_data() accepts an inode bearing both INLINE_DATA and EXTENTS, so __ext4_iget() skips extent-tree validation and out-of-order extents underflow the hole-size calculation in ext4_es_cache_extent(), triggering BUG_ON. The image must be mounted without a journal and the crafted verity file opened; a user or automounter must perform the mount and access.
The record
- CVE
- CVE-2025-40167
- Published
- Nov 12, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1203
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Nov 12, 2025CVE 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=3.8
- Affected versionversion=f19d5870cbf72d4cb2a8e1f749dff97af99b071e <1437c95ab2a28b138d4521653583729f61ccb48b
- Affected versionversion=f19d5870cbf72d4cb2a8e1f749dff97af99b071e <1d3ad183943b38eec2acf72a0ae98e635dc8456b
- Affected versionversion=f19d5870cbf72d4cb2a8e1f749dff97af99b071e <1f5ccd22ff482639133f2a0fe08f6d19d0e68717
- Affected versionversion=f19d5870cbf72d4cb2a8e1f749dff97af99b071e <2e9e10657b04152ed0d6ecae8d0c02a3405e28f5
- Affected versionversion=f19d5870cbf72d4cb2a8e1f749dff97af99b071e <4954d297c91d292630ab43ba4d195dc371ce65d3
- Affected versionversion=f19d5870cbf72d4cb2a8e1f749dff97af99b071e <cb6039b68efa547b676a8a10fc4618d9d1865c23
- Affected versionversion=f19d5870cbf72d4cb2a8e1f749dff97af99b071e <de985264eef64be8a90595908f2e6a87946dad34
- Affected versionversion=f19d5870cbf72d4cb2a8e1f749dff97af99b071e <f061f7c331fc16250fc82aa68964f35821687217
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
- syzbot C reproducer for ext4_es_cache_extent BUG_ONfunctional · validated
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