CVE-2026-80808
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2026
Last modified:
06/11/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ext4: stop retrying saturated xattr cache entries<br />
<br />
ext4_xattr_block_set() retries when a cache entry selected for reuse<br />
has a saturated reference count after taking the buffer lock. The retry<br />
returns to the mbcache lookup without making that entry ineligible, so<br />
it can select the same unusable entry indefinitely. A task spinning<br />
there can hold the parent directory&#39;s i_rwsem and leave concurrent<br />
rmdir callers blocked.<br />
<br />
Normally a reusable entry has a reference count below<br />
EXT4_XATTR_REFCOUNT_MAX because the count and MBE_REUSABLE_B are<br />
updated under the same buffer lock. A corrupted filesystem can violate<br />
that invariant. The syzbot reproducer reports allocator and xattr<br />
corruption before triggering this retry loop.<br />
<br />
Check the untrusted on-disk count before incrementing it, avoiding<br />
overflow, and clear MBE_REUSABLE_B when it is already saturated. The<br />
next lookup then skips the entry that was just proven unusable. This<br />
mirrors the normal transition at EXT4_XATTR_REFCOUNT_MAX; the release<br />
path marks the entry reusable again on the exact 1024-to-1023<br />
transition.<br />
<br />
Using the same QEMU harness and guest parameters, current unpatched<br />
Linux hung in 6 of 8 420-second trials with the do_rmdir signature;<br />
representative NMI backtraces caught the owner spinning in<br />
ext4_xattr_block_set(). The patched kernel completed 28 of 28 trials<br />
without a hung-task report; the final twelve trials exercised the<br />
reviewed overflow-safe form of the change. syzbot&#39;s patch testing also<br />
completed without reproducing the hang.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/119a2f053242ed75bdd2ebc95baf3ae7db6ccacf
- https://git.kernel.org/stable/c/4902a5cba21aeaf91e6b29e20e0967a5f6abdcd9
- https://git.kernel.org/stable/c/54b6bd40898de7906acb2bccc9a96d1b8e6b4323
- https://git.kernel.org/stable/c/55ee6533c1db7f7656fa8dd19637f3f8b8c08dc5
- https://git.kernel.org/stable/c/61631352a5b405c89be579de00903b72e6888aa4
- https://git.kernel.org/stable/c/8865cd664484517703df5c18a965dc3227572b87
- https://git.kernel.org/stable/c/889ec86464d261f026f6c334040cfc6c58c99d58
- https://git.kernel.org/stable/c/a40c45268f4358207aa9c53764fed2e05f62986a
- https://git.kernel.org/stable/c/dbd4aea175ad3c46436acb251e817b4374628072


