Skip to main content
EPSS 0.2%top 94%

In the Linux kernel, the following vulnerability has been resolved: ext4: guard against EA inode refcount underflow in xattr update syzkaller found… (CVE-2025-40190)

0
High
Published: 11/13/2025 (11/13/2025, 00:30:18 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's ext4 filesystem was resolved that prevented an inode reference count underflow during extended attribute (EA) updates. The flaw allowed the EA inode refcount to drop below zero, causing filesystem errors and potential corruption. The fix enforces a check that treats non-positive refcounts as on-disk corruption, aborting the operation to prevent underflow and related issues.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 17:22:04 UTC

Technical Analysis

The Linux kernel ext4 filesystem had a vulnerability where ext4_xattr_inode_update_ref() could read an EA inode refcount that was already zero or negative and then apply a decrement, causing the refcount to underflow. This underflow led to erroneous refcount values and filesystem errors such as 'EA inode ref underflow' and 'ea_inode dec ref err'. The patch makes the invariant explicit by treating non-positive refcounts as corruption, triggering ext4_error_inode() and failing the operation with -EFSCORRUPTED instead of updating the refcount. This prevents the underflow and subsequent orphan or cleanup issues.

Potential Impact

The vulnerability could cause the ext4 filesystem to encounter inode reference count underflows during extended attribute updates, leading to filesystem errors and potential data corruption. The CVSS 3.1 vector indicates local attack vector with low complexity, no privileges required, user interaction needed, and impacts confidentiality, integrity, and availability at a high level. However, no known exploits in the wild have been reported.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to address this vulnerability by adding explicit checks to prevent EA inode refcount underflow. Users should update to a Linux kernel version that includes this fix. Since no patch links are provided, consult the official Linux kernel advisories or distributions for the fixed kernel versions. There is no indication that additional mitigation steps are required beyond applying the official fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-j9x6-gmq6-xm5x
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40190"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d59c2644c7f847a25a

Added to database: 07/30/2026, 15:50:45 UTC

Last enriched: 07/30/2026, 17:22:04 UTC

Last updated: 09/10/2026, 19:38:48 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses