
Cloud Vulnerability DB
A community-led vulnerabilities database
A vulnerability in the Linux kernel's ext4 filesystem was discovered and disclosed on November 12, 2025. The vulnerability (CVE-2025-40190) affects the extended attribute (EA) inode reference counting mechanism in the ext4 filesystem implementation (NVD).
The vulnerability occurs in the ext4_xattr_inode_update_ref() function where it reads an EA inode refcount that is already less than or equal to 0 and then applies a ref_change (often -1). This leads to a refcount underflow condition, causing the system to proceed with an invalid value. The issue manifests through error messages such as 'EXT4-fs error: EA inode ref underflow: ref_count=-1 ref_change=-1' and 'EXT4-fs warning: ea_inode dec ref err=-117' (NVD).
The vulnerability can lead to filesystem corruption due to the refcount underflow and subsequent orphan/cleanup issues in the ext4 filesystem (NVD).
The fix involves modifying the code to treat non-positive refcounts as on-disk corruption, emit ext4_error_inode(), and fail the operation with -EFSCORRUPTED instead of updating the refcount. The WARN_ONCE() call has been removed as negative refcounts are now impossible, while error reporting is maintained in ext4_error_inode() (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."