# CVE-2026-92503: ext4: fix ABBA deadlock in ext4_xattr_inode_cache_find()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-09-17T16:10:16.062Z
- Modified: 2026-10-30T13:20:55.533Z
- Assigned by: Linux

## Description

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

ext4: fix ABBA deadlock in ext4_xattr_inode_cache_find()

Syzbot/stress-ng reported an ABBA deadlock in ext4 when exercising
concurrent xattr workloads (using the ea_inode mount/format option).

The deadlock occurs between the running transaction and the eviction
thread:
- Task 1 (stress-ng): Holds a reference to a shared mbcache_entry (ce)
  and calls ext4_xattr_inode_cache_find() -> ext4_iget() to retrieve
  the corresponding EA inode. Since the EA inode is currently being
  evicted, ext4_iget() blocks in __wait_on_freeing_inode() waiting for
  eviction to complete.
- Task 2 (eviction thread): Currently evicting the same EA inode in
  ext4_evict_ea_inode(). It calls mb_cache_entry_wait_unused(oe) which
  blocks waiting for Task 1 to release the reference to the mbcache_entry.

To break this deadlock, implement a new ext4_iget() configuration flag
named EXT4_IGET_NOWAIT. When set, perform a non-blocking lookup of the
inode via VFS's find_inode_nowait() API.

If the inode is currently being evicted (marked with I_FREEING or
I_WILL_FREE) or created (I_CREATING), or if it is not present in the VFS
inode cache (cache miss), simply skip it (returning -ENOENT) rather than
waiting for eviction/creation to complete, breaking the ABBA cycle.

Since we return -ENOENT immediately on a cache miss, we never attempt to
allocate a new inode or call iget_locked(), completely eliminating any
TOCTOU race window.

If the returned inode is I_NEW, wait for its initialization to clear via
wait_on_new_inode(). If initialization fails and the inode is unhashed
during wait_on_new_inode() waking up (e.g., due to an I/O read error in
another thread), safely drop the reference and return -ENOENT. This
unhashed check is executed unconditionally on all cache-hit pathways to
properly handle concurrent initialization failures.

Finally, standard validation checks (including is_bad_inode,
EXT4_EA_INODE_FL, file_acl, and xattr flags) are executed as normal inside
check_igot_inode() to fully guarantee VFS-layer safety.

In ext4_xattr_inode_cache_find(), invoke ext4_iget() with the new
EXT4_IGET_NOWAIT flag to perform the non-blocking cache search.

(As written by CVE List.)

## Affected

- Linux Linux: from 0752e7fb549d90c33b4d4186f11cfd25a556d1dd before e5e883ffe5230320060ea613a1acf750f3161c95; from 737fb7853acd5bc8984f6f42e4bfba3334be8ae1 before 29a2a166450a3e89f61a486033b10cf170fde8b0; from 0a46ef234756dca04623b7591e8ebb3440622f0b before d3b19b318e0e0483180d15f1d9f5e807a1fb59d5; from 0a46ef234756dca04623b7591e8ebb3440622f0b before 074d0620401974cbfa9b63684cdfae99c7b2059c; from 0a46ef234756dca04623b7591e8ebb3440622f0b before 7720fddd1fe344d14be258a2028f74ebf1569511; from 0a46ef234756dca04623b7591e8ebb3440622f0b before 03438084a7b8621fb5c762dd3d04cff5f2630fb2; 111103907234bffd0a34fba070ad9367de058752; from 6.1.107 before 6.1.191; from 6.6.47 before 6.6.160; from 6.9.7 before 6.10; 6.10 (not affected: before 6.10; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/e5e883ffe5230320060ea613a1acf750f3161c95>
- <https://git.kernel.org/stable/c/29a2a166450a3e89f61a486033b10cf170fde8b0>
- <https://git.kernel.org/stable/c/d3b19b318e0e0483180d15f1d9f5e807a1fb59d5>
- <https://git.kernel.org/stable/c/074d0620401974cbfa9b63684cdfae99c7b2059c>
- <https://git.kernel.org/stable/c/7720fddd1fe344d14be258a2028f74ebf1569511>
- <https://git.kernel.org/stable/c/03438084a7b8621fb5c762dd3d04cff5f2630fb2>

## Sources

- CVE List: [CVE-2026-92503](https://www.cve.org/CVERecord?id=CVE-2026-92503), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-92503](https://nvd.nist.gov/vuln/detail/CVE-2026-92503), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-92503 · Whole record: https://cve.day/CVE-2026-92503.json · Rebuilt by cve.day 2026-11-25T22:59:39.426Z
