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

CVE-2026-80855 fuse: fix invalidate lock leak on open O_TRUNC DAX failure

설명

In the Linux kernel, the following vulnerability has been resolved: fuse: fix invalidate lock leak on open O_TRUNC DAX failure fuse_open() takes filemap_invalidate_lock() for a DAX truncate (dax_truncate = true) and releases it before the out_inode_unlock label. But when fuse_dax_break_layouts() fails, the goto out_inode_unlock skips the unlock and leaks the rwsem, so any later fault or truncate on the file stalls on the stale lock. fuse_dax_break_layouts() can fail with -ERESTARTSYS when a signal interrupts the wait for busy DAX pages to drain: open("file", O_RDWR | O_TRUNC) └─ fuse_open() ├─ filemap_invalidate_lock() # dax_truncate └─ fuse_dax_break_layouts() └─ dax_break_layout() └─ wait_page_idle() # TASK_INTERRUPTIBLE └─ fuse_wait_dax_page() # unlock, schedule, re-lock └─ signal → -ERESTARTSYS goto out_inode_unlock # <- lock leaked Fix this by moving filemap_invalidate_unlock() below the label so that all error paths release the lock, and rename the label to out_unlock as it now covers more than just the inode lock.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.10.179 이상 5.10.273 미만
    • 5.15.109 이상 5.15.220 미만
    • 5.18.18 이상 5.19 미만
    • 5.19.2 이상 5.20 미만
    • 6.0

    해결 버전

    • 5.10.273 이상
    • 5.15.220 이상
    • 5.19 이상
    • 5.20 이상
    • 6.0 미만
    • 6.1.187 이상
    • 6.6.156 이상
    • 6.12.108 이상
    외 3개 구간 펼치기
    • 6.18.49 이상
    • 7.1.13 이상
    • 7.2.3 이상

참고 자료 9건

‹ 목록

점검 지원 범위 문의

도입 문의