cveboard RSS feed

CVE-2025-40190

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2025
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

ext4: guard against EA inode refcount underflow in xattr update

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2affectedgitea39e712c2f5ae148ee5515798ae03523673e002UnavailableNone listed
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2affectedgit1cfb3e4ddbdc8e02e637b8852540bd4718bf4814UnavailableNone listed
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2affectedgit505e69f76ac497e788f4ea0267826ec7266b40c8UnavailableNone listed
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2affectedgit3d6269028246f4484bfed403c947a114bb583631UnavailableNone listed
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2affectedgit79ea7f3e11effe1bd9e753172981d9029133a278UnavailableNone listed
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2affectedgit6b879c4c6bbaab03c0ad2a983953bd1410bb165eUnavailableNone listed
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2affectedgit440b003f449a4ff2a00b08c8eab9ba5cd28f3943UnavailableNone listed
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2affectedgit57295e835408d8d425bef58da5253465db3d6888UnavailableNone listed
0affectedsemver5.4.301UnavailableNone listed
0affectedsemver5.10.246UnavailableNone listed
0affectedsemver5.15.195UnavailableNone listed
0affectedsemver6.1.157UnavailableNone listed
0affectedsemver6.6.113UnavailableNone listed
0affectedsemver6.12.54UnavailableNone listed
0affectedsemver6.17.4UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
5.4.301unaffectedsemverUnavailable5.4.*None listed
5.10.246unaffectedsemverUnavailable5.10.*None listed
5.15.195unaffectedsemverUnavailable5.15.*None listed
6.1.157unaffectedsemverUnavailable6.1.*None listed
6.6.113unaffectedsemverUnavailable6.6.*None listed
6.12.54unaffectedsemverUnavailable6.12.*None listed
6.17.4unaffectedsemverUnavailable6.17.*None listed
6.18unaffectedoriginal_commit_for_fixUnavailable*None listed