Skip to main content

Linux Kernel CVE-2025-40167

HIGH
2025-11-12 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft corrupted ext4 image with dual INLINE_DATA+EXTENTS inode
  2. Delivery
    Deliver image via USB or loopback
  3. Exploit
    Victim mounts image without journal
  4. Execution
    Open crafted verity file skips extent validation
  5. Persist
    Integer underflow triggers BUG_ON in ext4_es_cache_extent
  6. Impact
    Kernel panic / denial of service

Vulnerability Assessment

Exploitation Conditions

Exploitation requires a local attacker to supply a corrupted ext4 filesystem image containing an inode with BOTH the INLINE_DATA flag and the EXTENTS flag set, and requires the victim to mount that image - specifically without a journal - and then access the crafted inode (the report triggers it while opening an fs-verity file). Limiting factors: the vector is local (AV:L) with mandatory user interaction (UI:R) to mount/open the malicious image, mounting a filesystem normally requires privilege or a physical/automount path, and the trigger depends on the non-default combination of a corrupted on-disk inode plus a no-journal mount, so default, trusted-only filesystems are not at risk.

Impact

The NVD CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 7.8) rates this HIGH, but the signals point to a narrow, low-priority real-world risk. The vector is local (AV:L) and requires user interaction (UI:R) - a victim must mount and access an attacker-supplied corrupted image - which sharply limits mass exploitation. EPSS is very low (0.07%, 21st percentile) and the CVE is absent from CISA KEV, consistent with no observed exploitation. Note a discrepancy worth flagging: the tag labels this 'Information Disclosure' and the NVD vector claims full C:H/I:H/A:H, yet the described impact is a BUG_ON kernel crash - i.e., primarily a denial-of-service (availability), not confirmed confidentiality/integrity loss; verify the CIA breakdown against the kernel commit before treating this as a disclosure bug. The PR:N rating is also debatable since mounting a filesystem typically requires privilege or a physical/automount vector.

Exploit ScenarioDerived

An attacker crafts a corrupted ext4 filesystem image with an inode that sets both INLINE_DATA and EXTENTS flags and delivers it as a disk image or USB device; when a user mounts it (e.g., via desktop auto-mount) without a journal and opens the malicious verity file, the kernel skips extent validation, underflows a hole-size calculation, and hits a BUG_ON, crashing the system. Because the vector is local with required user interaction (AV:L/UI:R) and complexity is low, the reliable outcome is a denial of service; a syzbot reproducer demonstrates the trigger though no weaponized public exploit is identified.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jul 30, 2026

Denial-of-service in the Linux kernel ext4 filesystem driver allows a local attacker to trigger a kernel BUG_ON (panic) by inducing a victim to mount and access a specially crafted, corrupted ext4 image. The flaw stems from an inode that illegally carries both the INLINE_DATA and EXTENTS flags, which causes extent-tree validation to be skipped and an integer underflow during hole-size calculation in ext4_es_cache_extent(). Discovered via the syzbot fuzzer, it carries a low EPSS score (0.07%, 21st percentile), is not on the CISA KEV list, and has no public exploit identified at time of analysis, though a syzbot reproducer effectively exists.

Earlier versions of this analysis (2)
v2 Jul 30, 2026 - 08:50 cvss changed CVSS 7.8

Denial of service in the Linux kernel ext4 filesystem driver lets a crafted or corrupted filesystem image trigger a BUG_ON kernel panic when a verity file is opened. The flaw affects systems where a malicious ext4 image can be mounted (e.g. via USB or attacker-supplied volume) without a journal; an inode carrying both the mutually exclusive INLINE_DATA and EXTENTS flags bypasses extent-tree validation, producing an integer underflow in ext4_es_cache_extent(). No public exploit is identified at time of analysis, though the issue was found and reproduced by syzbot, and EPSS risk is low (0.07%).

v1 Mar 28, 2026 - 19:21

In the Linux kernel, the following vulnerability has been resolved: ext4: detect invalid INLINE_DATA + EXTENTS flag combination syzbot reported a BUG_ON in ext4_es_cache_extent() when opening a.

RemediationAI

Upstream fix available (multiple stable-tree commits at git.kernel.org, e.g., 1437c95ab2a2b138 and backports); a released patched version is not independently pinned in the provided data, so apply your distribution's updated kernel packages - Ubuntu users should update per USN-8126-1 (https://ubuntu.com/security/notices/USN-8126-1) and USN-8125-1 (https://ubuntu.com/security/notices/USN-8125-1) and reboot into the new kernel. Where immediate patching is not possible, the practical compensating control is to prevent untrusted ext4 images from being mounted: disable removable-media auto-mount (e.g., stop udisks2 automounting or restrict it via polkit) so users cannot passively mount attacker-crafted USB/loopback images, and avoid mounting untrusted filesystem images, with the trade-off that legitimate removable-media workflows are disrupted. Restricting mount capability to trusted administrators (do not grant CAP_SYS_ADMIN or unprivileged mount rights broadly) further limits the attack surface at the cost of convenience.

Affected ProductsAI

The Linux kernel's ext4 filesystem driver is affected across multiple stable branches, as evidenced by the eight git.kernel.org stable-tree fix commits (e.g., 1437c95ab2a2, 1d3ad183943b, de985264eef6, f061f7c331fc). Exact vulnerable-to-fixed version ranges are not enumerated in the provided data, but Ubuntu confirms affected kernels and provides fixed packages via USN-8126-1 (https://ubuntu.com/security/notices/USN-8126-1) and USN-8125-1 (https://ubuntu.com/security/notices/USN-8125-1). No CPE strings were supplied in the input, so precise version boundaries should be confirmed against each distribution's advisory.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ext4 is the default filesystem for most Linux distributions and stores small files either directly inside the inode (INLINE_DATA feature) or in extent-mapped blocks (EXTENTS feature); these two storage modes are mutually exclusive by design. The root cause is a missing consistency check: when a corrupted inode sets both flags, ext4_has_inline_data() returns true, so __ext4_iget() skips extent-tree validation. The unvalidated, out-of-order extents are then fed into ext4_es_cache_extent(), where computing a hole size across non-monotonic logical block numbers underflows an unsigned integer and hits a BUG_ON. This is a classic improper input validation / uncaught-corruption class of bug (no CWE was assigned in the source data), specific to on-disk metadata trust boundaries and made reachable here because the filesystem was mounted without a journal, exercised while opening a fs-verity file.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 5.0 MEDIUM

Local corrupted-image mount requires privilege/interaction so PR:L and UI:R; the reported impact is a BUG_ON crash, so A:H with no confirmed confidentiality or integrity loss.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.8 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Jul 30, 2026 - 08:50 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 30, 2026 - 08:50 vuln.today
v2 - CVSS changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
Patch released
Mar 28, 2026 - 19:31 nvd
Patch available
CVE Published
Nov 12, 2025 - 11:15 nvd
N/A

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

ext4: detect invalid INLINE_DATA + EXTENTS flag combination

syzbot reported a BUG_ON in ext4_es_cache_extent() when opening a verity file on a corrupted ext4 filesystem mounted without a journal.

The issue is that the filesystem has an inode with both the INLINE_DATA and EXTENTS flags set:

EXT4-fs error (device loop0): ext4_cache_extents:545: inode #15: comm syz.0.17: corrupted extent tree: lblk 0 < prev 66

Investigation revealed that the inode has both flags set: DEBUG: inode 15 - flag=1, i_inline_off=164, has_inline=1, extents_flag=1

This is an invalid combination since an inode should have either:

  • INLINE_DATA: data stored directly in the inode
  • EXTENTS: data stored in extent-mapped blocks

Having both flags causes ext4_has_inline_data() to return true, skipping extent tree validation in __ext4_iget(). The unvalidated out-of-order extents then trigger a BUG_ON in ext4_es_cache_extent() due to integer underflow when calculating hole sizes.

Fix this by detecting this invalid flag combination early in ext4_iget() and rejecting the corrupted inode.

Executive ViewAI

Why It Matters

Linux infrastructure running ext4 filesystems requires patching within 30 days to address a denial-of-service vulnerability that could cause unexpected system outages and service interruptions. The risk is primarily relevant to organizations operating multi-tenant platforms, shared hosting environments, or systems with untrusted local user access-remote-only infrastructures face minimal exposure. While the vulnerability cannot be remotely exploited and an official patch is available, proactive patching will eliminate this availability risk and reduce operational disruption.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 79% exploitable
Prevalence
Ubiquitous
ext4 is the default filesystem in most Linux distributions
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.95 Image SL-Micro Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.115 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.146 Affected
Container suse/sl-micro/6.0/toolbox:latest Affected

References

Advisories & patches
ADVISORY https://ubuntu.com/security/notices/USN-8125-1 ADVISORY https://ubuntu.com/security/notices/USN-8126-1 ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0278/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0281/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0293/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0315/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0316/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20207/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20220/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20228/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20477/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20479/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20498/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20520/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20564/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20772/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20794/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20819/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20845/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20872/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20876/ REF https://git.kernel.org/stable/c/1437c95ab2a28b138d4521653583729f61ccb48b REF https://git.kernel.org/stable/c/1d3ad183943b38eec2acf72a0ae98e635dc8456b REF https://git.kernel.org/stable/c/1f5ccd22ff482639133f2a0fe08f6d19d0e68717 REF https://git.kernel.org/stable/c/2e9e10657b04152ed0d6ecae8d0c02a3405e28f5 REF https://git.kernel.org/stable/c/4954d297c91d292630ab43ba4d195dc371ce65d3 REF https://git.kernel.org/stable/c/cb6039b68efa547b676a8a10fc4618d9d1865c23 REF https://git.kernel.org/stable/c/de985264eef64be8a90595908f2e6a87946dad34 REF https://git.kernel.org/stable/c/f061f7c331fc16250fc82aa68964f35821687217

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy