{"id":"CVE-2026-92503","aliases":["CVE-2026-92503"],"related":[],"kind":"vulnerability","state":"published","title":"ext4: fix ABBA deadlock in ext4_xattr_inode_cache_find()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix ABBA deadlock in ext4_xattr_inode_cache_find()\n\nSyzbot/stress-ng reported an ABBA deadlock in ext4 when exercising\nconcurrent xattr workloads (using the ea_inode mount/format option).\n\nThe deadlock occurs between the running transaction and the eviction\nthread:\n- Task 1 (stress-ng): Holds a reference to a shared mbcache_entry (ce)\n  and calls ext4_xattr_inode_cache_find() -> ext4_iget() to retrieve\n  the corresponding EA inode. Since the EA inode is currently being\n  evicted, ext4_iget() blocks in __wait_on_freeing_inode() waiting for\n  eviction to complete.\n- Task 2 (eviction thread): Currently evicting the same EA inode in\n  ext4_evict_ea_inode(). It calls mb_cache_entry_wait_unused(oe) which\n  blocks waiting for Task 1 to release the reference to the mbcache_entry.\n\nTo break this deadlock, implement a new ext4_iget() configuration flag\nnamed EXT4_IGET_NOWAIT. When set, perform a non-blocking lookup of the\ninode via VFS's find_inode_nowait() API.\n\nIf the inode is currently being evicted (marked with I_FREEING or\nI_WILL_FREE) or created (I_CREATING), or if it is not present in the VFS\ninode cache (cache miss), simply skip it (returning -ENOENT) rather than\nwaiting for eviction/creation to complete, breaking the ABBA cycle.\n\nSince we return -ENOENT immediately on a cache miss, we never attempt to\nallocate a new inode or call iget_locked(), completely eliminating any\nTOCTOU race window.\n\nIf the returned inode is I_NEW, wait for its initialization to clear via\nwait_on_new_inode(). If initialization fails and the inode is unhashed\nduring wait_on_new_inode() waking up (e.g., due to an I/O read error in\nanother thread), safely drop the reference and return -ENOENT. This\nunhashed check is executed unconditionally on all cache-hit pathways to\nproperly handle concurrent initialization failures.\n\nFinally, standard validation checks (including is_bad_inode,\nEXT4_EA_INODE_FL, file_acl, and xattr flags) are executed as normal inside\ncheck_igot_inode() to fully guarantee VFS-layer safety.\n\nIn ext4_xattr_inode_cache_find(), invoke ext4_iget() with the new\nEXT4_IGET_NOWAIT flag to perform the non-blocking cache search.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix ABBA deadlock in ext4_xattr_inode_cache_find()\n\nSyzbot/stress-ng reported an ABBA deadlock in ext4 when exercising\nconcurrent xattr workloads (using the ea_inode mount/format option).\n\nThe deadlock occurs between the running transaction and the eviction\nthread:\n- Task 1 (stress-ng): Holds a reference to a shared mbcache_entry (ce)\n  and calls ext4_xattr_inode_cache_find() -> ext4_iget() to retrieve\n  the corresponding EA inode. Since the EA inode is currently being\n  evicted, ext4_iget() blocks in __wait_on_freeing_inode() waiting for\n  eviction to complete.\n- Task 2 (eviction thread): Currently evicting the same EA inode in\n  ext4_evict_ea_inode(). It calls mb_cache_entry_wait_unused(oe) which\n  blocks waiting for Task 1 to release the reference to the mbcache_entry.\n\nTo break this deadlock, implement a new ext4_iget() configuration flag\nnamed EXT4_IGET_NOWAIT. When set, perform a non-blocking lookup of the\ninode via VFS's find_inode_nowait() API.\n\nIf the inode is currently being evicted (marked with I_FREEING or\nI_WILL_FREE) or created (I_CREATING), or if it is not present in the VFS\ninode cache (cache miss), simply skip it (returning -ENOENT) rather than\nwaiting for eviction/creation to complete, breaking the ABBA cycle.\n\nSince we return -ENOENT immediately on a cache miss, we never attempt to\nallocate a new inode or call iget_locked(), completely eliminating any\nTOCTOU race window.\n\nIf the returned inode is I_NEW, wait for its initialization to clear via\nwait_on_new_inode(). If initialization fails and the inode is unhashed\nduring wait_on_new_inode() waking up (e.g., due to an I/O read error in\nanother thread), safely drop the reference and return -ENOENT. This\nunhashed check is executed unconditionally on all cache-hit pathways to\nproperly handle concurrent initialization failures.\n\nFinally, standard validation checks (including is_bad_inode,\nEXT4_EA_INODE_FL, file_acl, and xattr flags) are executed as normal inside\ncheck_igot_inode() to fully guarantee VFS-layer safety.\n\nIn ext4_xattr_inode_cache_find(), invoke ext4_iget() with the new\nEXT4_IGET_NOWAIT flag to perform the non-blocking cache search.","source":"cvelist"}],"published":"2026-09-17T16:10:16.062Z","modified":"2026-10-30T13:20:55.533Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0752e7fb549d90c33b4d4186f11cfd25a556d1dd","fixed":"e5e883ffe5230320060ea613a1acf750f3161c95","status":"affected"},{"type":"git","introduced":"737fb7853acd5bc8984f6f42e4bfba3334be8ae1","fixed":"29a2a166450a3e89f61a486033b10cf170fde8b0","status":"affected"},{"type":"git","introduced":"0a46ef234756dca04623b7591e8ebb3440622f0b","fixed":"d3b19b318e0e0483180d15f1d9f5e807a1fb59d5","status":"affected"},{"type":"git","introduced":"0a46ef234756dca04623b7591e8ebb3440622f0b","fixed":"074d0620401974cbfa9b63684cdfae99c7b2059c","status":"affected"},{"type":"git","introduced":"0a46ef234756dca04623b7591e8ebb3440622f0b","fixed":"7720fddd1fe344d14be258a2028f74ebf1569511","status":"affected"},{"type":"git","introduced":"0a46ef234756dca04623b7591e8ebb3440622f0b","fixed":"03438084a7b8621fb5c762dd3d04cff5f2630fb2","status":"affected"},{"type":"git","version":"111103907234bffd0a34fba070ad9367de058752","status":"affected"},{"type":"semver","introduced":"6.1.107","fixed":"6.1.191","status":"affected"},{"type":"semver","introduced":"6.6.47","fixed":"6.6.160","status":"affected"},{"type":"semver","introduced":"6.9.7","fixed":"6.10","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.10","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e5e883ffe5230320060ea613a1acf750f3161c95","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/29a2a166450a3e89f61a486033b10cf170fde8b0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d3b19b318e0e0483180d15f1d9f5e807a1fb59d5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/074d0620401974cbfa9b63684cdfae99c7b2059c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7720fddd1fe344d14be258a2028f74ebf1569511","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/03438084a7b8621fb5c762dd3d04cff5f2630fb2","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-92503","url":"https://www.cve.org/CVERecord?id=CVE-2026-92503","licence":"CVE Terms of Use","modified":"2026-10-30T12:35:43.123Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-92503","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92503","licence":"Public domain","modified":"2026-10-30T13:20:55.533Z"}],"updatedAt":"2026-11-25T22:59:39.426Z","epss":{"score":0.00219,"percentile":0.13221,"date":"2026-12-01T12:00:22.000Z"}}