CVE-2025-40190
BaseFortify
Publication date: 2025-11-12
Last updated on: 2025-11-14
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is in the Linux kernel's ext4 filesystem, where an extended attribute (EA) inode reference count can underflow during an xattr update. Specifically, the function ext4_xattr_inode_update_ref() may read a reference count that is already zero or negative and then decrement it further, causing an underflow. This leads to invalid reference counts and filesystem errors. The fix makes the system detect non-positive reference counts as on-disk corruption, report an error, and fail the operation instead of allowing the underflow.
How can this vulnerability impact me? :
This vulnerability can cause filesystem errors and corruption by allowing the reference count of an extended attribute inode to underflow. This may lead to orphaned inodes and cleanup issues, potentially causing data integrity problems or system instability when using the ext4 filesystem.
What immediate steps should I take to mitigate this vulnerability?
The vulnerability is resolved by updating the Linux kernel to a version that includes the fix for the ext4 EA inode refcount underflow issue. Immediate mitigation involves applying the kernel update that prevents the refcount underflow by treating non-positive refcounts as on-disk corruption and failing the operation safely.