Skip to main content

Linux Kernel CVE-2025-40190

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 ext4 image with corrupt EA inode
  2. Delivery
    Deliver via removable media or image
  3. Exploit
    Victim mounts filesystem
  4. Execution
    Trigger xattr update operation
  5. Persist
    EA refcount underflows below zero
  6. Impact
    Filesystem corruption and orphan cleanup churn

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local access and the ability to get the kernel to mount an attacker-supplied or corrupted ext4 filesystem image that contains an EA (extended-attribute) inode with an already non-positive on-disk refcount; the underflow is then triggered by an xattr add/remove operation that calls ext4_xattr_inode_update_ref(). Limiting factors: the vulnerability is not remotely reachable (AV:L), it depends on user interaction to mount the malicious image (UI:R), it only manifests on ext4 volumes using EA-inode storage for large/numerous xattrs, and environments that forbid mounting untrusted media are effectively not exposed. It is not exploitable against a normal, uncorrupted, already-mounted filesystem without the crafted on-disk state.

Impact

The NVD-style CVSS of 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) reflects generic worst-case kernel scoring, but the multi-source signals point to a lower real-world priority. EPSS is 0.07% (21st percentile), there is no CISA KEV listing, and no public POC beyond the syzkaller reproducer implied by the report. The attack vector is genuinely local and, in practice, requires the victim/attacker to mount an attacker-controlled ext4 filesystem image - the UI:R metric captures this mount-a-crafted-image dependency. The C:H/I:H/A:H impact rating is optimistic for this specific fix: the observed behavior is filesystem-corruption reporting and orphan/cleanup churn (a denial-of-service / integrity concern), and while the 'Information Disclosure' tag hints at potential leakage from corrupted metadata, the description does not demonstrate confidential data disclosure or code execution. Conflict to flag: the CVSS impact triad and the tag imply high confidentiality impact, but the description evidences corruption/DoS - verify with the upstream fix commits before treating this as an infoleak. Overall this is a low-to-moderate priority for most fleets, meaningful mainly where untrusted removable media or user-mountable images are permitted.

Exploit ScenarioDerived

An attacker crafts an ext4 filesystem image whose EA inode carries a non-positive on-disk reference count and delivers it as a USB stick or disk image to a system that will mount it (manually or via automount). When the kernel updates the extended-attribute refcount during xattr operations on that image, the count underflows, driving ext4 into repeated EXT4-fs errors and orphan/cleanup churn that degrades or destabilizes the filesystem. This mirrors the syzkaller-discovered path; no weaponized public exploit is known, and the local attack vector plus mount requirement limit practicality.

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

Filesystem corruption and denial of service in the Linux kernel's ext4 extended-attribute (EA) inode handling allows a local attacker who can mount a crafted or corrupted ext4 image to trigger a reference-count underflow in ext4_xattr_inode_update_ref(). Because the code previously read an EA inode refcount that was already <= 0 and still applied the change (typically -1), it proceeded on a bogus negative value, spawning EXT4-fs errors and orphan/cleanup churn. No public exploit identified at time of analysis, and the EPSS score is very low (0.07%), consistent with a corruption-triggered fault rather than a readily weaponized remote flaw.

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

Local denial-of-service and on-disk-corruption handling flaw in the Linux kernel ext4 filesystem lets a crafted or corrupted ext4 image trigger an extended-attribute (EA) inode reference-count underflow during xattr updates. When ext4_xattr_inode_update_ref() reads an EA inode refcount already at or below zero and applies a decrement, the count underflows and the code proceeds with a bogus value, producing EA inode ref-underflow errors and follow-on orphan/cleanup churn. Discovered by syzkaller fuzzing; no public exploit identified at time of analysis and EPSS risk is low (0.07%, 21st percentile).

v1 Mar 28, 2026 - 19:21

In the Linux kernel, the following vulnerability has been resolved: ext4: guard against EA inode refcount underflow in xattr update syzkaller found a path where ext4_xattr_inode_update_ref() reads an. No vendor patch available.

RemediationAI

Upstream fix available (commit/stable backports); update to a kernel build that includes the ext4 change 'guard against EA inode refcount underflow in xattr update' from your distribution - apply the vendor kernel update corresponding to the stable commits listed (e.g. git.kernel.org/stable/c/1cfb3e4ddbdc8e02e637b8852540bd4718bf4814 and the seven sibling commits). A released patched version number is not independently confirmed from the provided data, so map the commit to your distro's patched kernel package and reboot. As compensating controls where immediate patching is not possible: disable or restrict user/automatic mounting of untrusted ext4 media (e.g. remove USB automount rules, mount removable devices with nosuid,nodev,noexec and only by privileged operators), which reduces the crafted-image attack surface at the cost of removable-media convenience; the post-fix behavior itself already fails the operation with -EFSCORRUPTED, so the primary trade-off of patching is simply that a corrupted EA inode now aborts the xattr operation rather than silently churning.

Affected ProductsAI

The Linux kernel's ext4 filesystem driver is affected across multiple stable branches, as evidenced by the eight stable-tree fix commits referenced (git.kernel.org/stable/c/1cfb3e4ddbdc..., 3d6269028246..., 440b003f449a..., 505e69f76ac4..., 57295e835408..., 6b879c4c6bba..., 79ea7f3e11ef..., and ea39e712c2f5...). Precise vulnerable version ranges are not enumerated in the provided data and no CPE strings were supplied, so exact kernel version boundaries should be confirmed against each stable branch's fix commit and the corresponding kernel.org release notes; any kernel using ext4 with EA-inode (large/many xattr) support prior to these backports should be considered potentially affected.

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

The bug lives in ext4's extended-attribute subsystem, where large or numerous xattrs are stored in dedicated 'EA inodes' that carry their own reference count (tracked via i_size / the refcount helper ext4_xattr_inode_update_ref()). When xattrs are added or removed, this refcount is incremented or decremented. The root cause is an unvalidated-input / improper-integrity-check class issue (aligned with CWE-190 integer underflow and CWE-20 improper input validation, though the feed lists CWE as N/A): the on-disk refcount was trusted without checking that it was positive before applying ref_change. syzkaller reached a state where the stored count was non-positive, so decrementing underflowed it. The fix makes the invariant explicit - a non-positive current refcount is now treated as on-disk corruption, reported via ext4_error_inode(), and the operation fails with -EFSCORRUPTED instead of proceeding; the now-unreachable WARN_ONCE() was removed.

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.6 MEDIUM

Local mount of a crafted ext4 image (AV:L, UI:R) typically needs mount privilege (PR:L); observed impact is corruption/DoS (A:H, I:L) with no demonstrated confidentiality leak (C:N).

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE 6.1 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
Red Hat 6.1 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

4
Analysis Updated
Jul 30, 2026 - 08:31 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 30, 2026 - 08:31 vuln.today
v2 - CVSS changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
CVE Published
Nov 12, 2025 - 22:15 nvd
N/A

DescriptionCVE.org

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

ext4: guard against EA inode refcount underflow in xattr update

syzkaller found a path where ext4_xattr_inode_update_ref() reads an EA inode refcount that is already <= 0 and then applies ref_change (often -1). That lets the refcount underflow and we proceed with a bogus value, triggering errors like:

EXT4-fs error: EA inode <n> ref underflow: ref_count=-1 ref_change=-1 EXT4-fs warning: ea_inode dec ref err=-117

Make the invariant explicit: if the current refcount is non-positive, treat this as on-disk corruption, emit ext4_error_inode(), and fail the operation with -EFSCORRUPTED instead of updating the refcount. Delete the WARN_ONCE() as negative refcounts are now impossible; keep error reporting in ext4_error_inode().

This prevents the underflow and the follow-on orphan/cleanup churn.

Executive ViewAI

Why It Matters

CVE-2025-40190 affects the Linux kernel's ext4 filesystem, allowing local attackers to cause data corruption and service denial through crafted filesystem images. While technically rated HIGH severity, the 0.1% exploitation probability and requirement for local system access mean most enterprises face minimal risk; however, organizations with shared Linux systems, containerized environments, or guest user access should prioritize defensive measures.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict mount(2) system call permissions via SELinux or AppArmor; validate ext4 filesystem images from untrusted sources; implement filesystem integrity monitoring and automated orphan inode cleanup; maintain regular filesystem backups to enable recovery from corruption; isolate shared and guest user workloads to dedicated filesystems with enhanced logging.

Threat Intelligence Overview

EPSS Score
0.1%
Top 79% exploitable
Prevalence
Ubiquitous
ext4 is the default filesystem across most Linux distributions and servers
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://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:0315/ 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/1cfb3e4ddbdc8e02e637b8852540bd4718bf4814 REF https://git.kernel.org/stable/c/3d6269028246f4484bfed403c947a114bb583631 REF https://git.kernel.org/stable/c/440b003f449a4ff2a00b08c8eab9ba5cd28f3943 REF https://git.kernel.org/stable/c/505e69f76ac497e788f4ea0267826ec7266b40c8 REF https://git.kernel.org/stable/c/57295e835408d8d425bef58da5253465db3d6888 REF https://git.kernel.org/stable/c/6b879c4c6bbaab03c0ad2a983953bd1410bb165e REF https://git.kernel.org/stable/c/79ea7f3e11effe1bd9e753172981d9029133a278 REF https://git.kernel.org/stable/c/ea39e712c2f5ae148ee5515798ae03523673e002

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