kcve.ai취약점 정보 · 내 자산 확인

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

설명

In the Linux kernel, the following vulnerability has been resolved: ext4: stop retrying saturated xattr cache entries ext4_xattr_block_set() 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 i_rwsem and leave concurrent rmdir callers blocked. Normally a reusable entry has a reference count below EXT4_XATTR_REFCOUNT_MAX because the count and MBE_REUSABLE_B 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 MBE_REUSABLE_B when it is already saturated. The next lookup then skips the entry that was just proven unusable. This mirrors the normal transition at EXT4_XATTR_REFCOUNT_MAX; 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 do_rmdir signature; representative NMI backtraces caught the owner spinning in ext4_xattr_block_set(). 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.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.10.163 이상 5.10.267 미만
    • 5.15.61 이상 5.15.218 미만
    • 4.19.270 이상 4.20 미만
    • 5.4.229 이상 5.5 미만
    • 5.18.18 이상 5.19 미만
    • 5.19.2 이상 5.20 미만
    • 6.0

    해결 버전

    • 5.10.267 이상
    • 5.15.218 이상
    • 4.20 이상
    • 5.5 이상
    • 5.19 이상
    • 5.20 이상
    • 6.0 미만
    • 6.1.185 이상
    외 5개 구간 펼치기
    • 6.6.154 이상
    • 6.12.106 이상
    • 6.18.47 이상
    • 7.1.11 이상
    • 7.2.1 이상

참고 자료 9건

‹ 목록

점검 지원 범위 문의

도입 문의