Katalog CVE

CVE-2026-80855

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w systemie plików FUSE występuje wyciek blokady zapisu (rwsem) podczas operacji open z flagą O_TRUNC dla plików DAX, gdy funkcja fuse_dax_break_layouts() zakończy się błędem (np. -ERESTARTSYS). Prowadzi to do zawieszenia późniejszych operacji na pliku z powodu niezwolnionej blokady.

Ocena ryzyka

Organizacja może doświadczyć zawieszenia lub blokady operacji na plikach FUSE z DAX, co może prowadzić do niedostępności usług zależnych od tych plików.

Rekomendacja

Zastosuj aktualizację jądra Linux zawierającą poprawkę, która przenosi wywołanie filemap_invalidate_unlock() poniżej etykiety out_inode_unlock, aby wszystkie ścieżki błędów zwalniały blokadę.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS