CVE-2026-80808: ext4: stop retrying saturated xattr cache entries

Published Sep 4, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ext4: stop retrying saturated xattr cache entries

ext4xattrblockset() retries when a cache entry selected for reuse has a saturated reference count after taking the buffer lock. The retry returns to the mbcache lookup without making that entry ineligible, so it can select the same unusable entry indefinitely. A task spinning there can hold the parent directory's irwsem and leave concurrent rmdir callers blocked.

Normally a reusable entry has a reference count below EXT4XATTRREFCOUNTMAX because the count and MBEREUSABLEB are updated under the same buffer lock. A corrupted filesystem can violate that invariant. The syzbot reproducer reports allocator and xattr corruption before triggering this retry loop.

Check the untrusted on-disk count before incrementing it, avoiding overflow, and clear MBEREUSABLEB when it is already saturated. The next lookup then skips the entry that was just proven unusable. This mirrors the normal transition at EXT4XATTRREFCOUNTMAX; the release path marks the entry reusable again on the exact 1024-to-1023 transition.

Using the same QEMU harness and guest parameters, current unpatched Linux hung in 6 of 8 420-second trials with the dormdir signature; representative NMI backtraces caught the owner spinning in ext4xattrblockset(). The patched kernel completed 28 of 28 trials without a hung-task report; the final twelve trials exercised the reviewed overflow-safe form of the change. syzbot's patch testing also completed without reproducing the hang.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch resolved
  2. Configuration

    Apply the resolved ext4 fix so ext4_xattr_block_set no longer retries using an already saturated xattr cache entry that can be selected indefinitely during the reuse retry loop.

    Linux kernel ext4 (xattr) ext4: stop retrying saturated xattr cache entries (ext4_xattr_block_set retry behavior) = disabled/revised

Event History

Sep 4, 2026
CVE Published
via MITRE·03:13 PM
Data Sourced
via MITRE·03:13 PM
Description
Data Sourced
via NVD·04:18 PM
Description

Frequently Asked Questions

1

Which systems are realistically exposed to this issue?

Systems using ext4 are exposed when the filesystem contains a corrupted extended-attribute cache entry whose on-disk reference count is saturated while the entry is still marked reusable. The described reproducer encountered allocator and xattr corruption before reaching the retry loop.

2

What operational impact can the failure cause?

A task can spin indefinitely while retrying the same unusable cache entry. Because it may hold the parent directory's i_rwsem, concurrent rmdir operations can remain blocked.

3

How can an administrator recognize a possible occurrence?

A possible indicator is a task repeatedly retrying ext4 xattr cache reuse while rmdir callers against the affected parent directory are blocked. The issue is associated with corrupted filesystem and xattr metadata.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203