{"id":"CVE-2026-80808","aliases":["CVE-2026-80808"],"related":[],"kind":"vulnerability","state":"published","title":"ext4: stop retrying saturated xattr cache entries","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: stop retrying saturated xattr cache entries\n\next4_xattr_block_set() retries when a cache entry selected for reuse\nhas a saturated reference count after taking the buffer lock. The retry\nreturns to the mbcache lookup without making that entry ineligible, so\nit can select the same unusable entry indefinitely. A task spinning\nthere can hold the parent directory's i_rwsem and leave concurrent\nrmdir callers blocked.\n\nNormally a reusable entry has a reference count below\nEXT4_XATTR_REFCOUNT_MAX because the count and MBE_REUSABLE_B are\nupdated under the same buffer lock. A corrupted filesystem can violate\nthat invariant. The syzbot reproducer reports allocator and xattr\ncorruption before triggering this retry loop.\n\nCheck the untrusted on-disk count before incrementing it, avoiding\noverflow, and clear MBE_REUSABLE_B when it is already saturated. The\nnext lookup then skips the entry that was just proven unusable. This\nmirrors the normal transition at EXT4_XATTR_REFCOUNT_MAX; the release\npath marks the entry reusable again on the exact 1024-to-1023\ntransition.\n\nUsing the same QEMU harness and guest parameters, current unpatched\nLinux hung in 6 of 8 420-second trials with the do_rmdir signature;\nrepresentative NMI backtraces caught the owner spinning in\next4_xattr_block_set(). The patched kernel completed 28 of 28 trials\nwithout a hung-task report; the final twelve trials exercised the\nreviewed overflow-safe form of the change. syzbot's patch testing also\ncompleted without reproducing the hang.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: stop retrying saturated xattr cache entries\n\next4_xattr_block_set() retries when a cache entry selected for reuse\nhas a saturated reference count after taking the buffer lock. The retry\nreturns to the mbcache lookup without making that entry ineligible, so\nit can select the same unusable entry indefinitely. A task spinning\nthere can hold the parent directory's i_rwsem and leave concurrent\nrmdir callers blocked.\n\nNormally a reusable entry has a reference count below\nEXT4_XATTR_REFCOUNT_MAX because the count and MBE_REUSABLE_B are\nupdated under the same buffer lock. A corrupted filesystem can violate\nthat invariant. The syzbot reproducer reports allocator and xattr\ncorruption before triggering this retry loop.\n\nCheck the untrusted on-disk count before incrementing it, avoiding\noverflow, and clear MBE_REUSABLE_B when it is already saturated. The\nnext lookup then skips the entry that was just proven unusable. This\nmirrors the normal transition at EXT4_XATTR_REFCOUNT_MAX; the release\npath marks the entry reusable again on the exact 1024-to-1023\ntransition.\n\nUsing the same QEMU harness and guest parameters, current unpatched\nLinux hung in 6 of 8 420-second trials with the do_rmdir signature;\nrepresentative NMI backtraces caught the owner spinning in\next4_xattr_block_set(). The patched kernel completed 28 of 28 trials\nwithout a hung-task report; the final twelve trials exercised the\nreviewed overflow-safe form of the change. syzbot's patch testing also\ncompleted without reproducing the hang.","source":"cvelist"}],"published":"2026-09-04T15:13:28.562Z","modified":"2026-11-06T17:19:59.093Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1a56cd972ce121b6cf2517a47a578782bbd2ec95","fixed":"119a2f053242ed75bdd2ebc95baf3ae7db6ccacf","status":"affected"},{"type":"git","introduced":"1be97463696c7291a3e1547614e96432b0bd3add","fixed":"61631352a5b405c89be579de00903b72e6888aa4","status":"affected"},{"type":"git","introduced":"65f8b80053a1b2fd602daa6814e62d6fa90e5e9b","fixed":"8865cd664484517703df5c18a965dc3227572b87","status":"affected"},{"type":"git","introduced":"65f8b80053a1b2fd602daa6814e62d6fa90e5e9b","fixed":"a40c45268f4358207aa9c53764fed2e05f62986a","status":"affected"},{"type":"git","introduced":"65f8b80053a1b2fd602daa6814e62d6fa90e5e9b","fixed":"889ec86464d261f026f6c334040cfc6c58c99d58","status":"affected"},{"type":"git","introduced":"65f8b80053a1b2fd602daa6814e62d6fa90e5e9b","fixed":"4902a5cba21aeaf91e6b29e20e0967a5f6abdcd9","status":"affected"},{"type":"git","introduced":"65f8b80053a1b2fd602daa6814e62d6fa90e5e9b","fixed":"55ee6533c1db7f7656fa8dd19637f3f8b8c08dc5","status":"affected"},{"type":"git","introduced":"65f8b80053a1b2fd602daa6814e62d6fa90e5e9b","fixed":"dbd4aea175ad3c46436acb251e817b4374628072","status":"affected"},{"type":"git","introduced":"65f8b80053a1b2fd602daa6814e62d6fa90e5e9b","fixed":"54b6bd40898de7906acb2bccc9a96d1b8e6b4323","status":"affected"},{"type":"git","version":"98953044b3cdb2cb7d82e7365b659e2ed4f4ca4d","status":"affected"},{"type":"git","version":"af8ecc8d20e72130771cc076bce7fcf17ccda6c4","status":"affected"},{"type":"git","version":"c6fac5cf5a5098732623bcd00a8a3eb9f5465144","status":"affected"},{"type":"git","version":"96fa141fa295ae9428da73c56c9852053b575c04","status":"affected"},{"type":"semver","introduced":"5.10.163","fixed":"5.10.267","status":"affected"},{"type":"semver","introduced":"5.15.61","fixed":"5.15.218","status":"affected"},{"type":"semver","introduced":"4.19.270","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.4.229","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"5.18.18","fixed":"5.19","status":"affected"},{"type":"semver","introduced":"5.19.2","fixed":"5.20","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"5.10.267","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.218","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.185","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.154","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.106","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.47","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.11","lastAffected":"7.1.*","status":"unaffected"},{"type":"semver","introduced":"7.2.1","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/119a2f053242ed75bdd2ebc95baf3ae7db6ccacf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/61631352a5b405c89be579de00903b72e6888aa4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8865cd664484517703df5c18a965dc3227572b87","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a40c45268f4358207aa9c53764fed2e05f62986a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/889ec86464d261f026f6c334040cfc6c58c99d58","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4902a5cba21aeaf91e6b29e20e0967a5f6abdcd9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/55ee6533c1db7f7656fa8dd19637f3f8b8c08dc5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dbd4aea175ad3c46436acb251e817b4374628072","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/54b6bd40898de7906acb2bccc9a96d1b8e6b4323","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T17:03:39.373Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80808","url":"https://www.cve.org/CVERecord?id=CVE-2026-80808","licence":"CVE Terms of Use","modified":"2026-11-06T17:05:54.814Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80808","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80808","licence":"Public domain","modified":"2026-11-06T17:19:59.093Z"}],"updatedAt":"2026-11-25T22:59:36.333Z","epss":{"score":0.00202,"percentile":0.1077,"date":"2026-12-01T12:00:22.000Z"}}