Katalog CVE

CVE-2026-97552

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W systemie plików XFS funkcja xfs_defer_finish_one() może zwrócić niezainicjalizowaną wartość błędu, jeśli lista jest pusta, co może doprowadzić do fałszywego zamknięcia systemu plików. Poprawka inicjalizuje zmienną error na 0.

Ocena ryzyka

Może spowodować nieoczekiwane zamknięcie systemu plików podczas operacji naprawy online.

Rekomendacja

Zastosuj poprawkę inicjalizacji zmiennej error w xfs_defer_finish_one().

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: xfs: initialise error in xfs_defer_finish_one() xfs_defer_finish_one() declares error without an initialiser and only assigns it inside the loop over dfp->dfp_work. When that list is empty the loop body never runs, control falls through to the "Done with the dfp, free it" path, and the function returns an indeterminate value. An item-less pending item reaches this through xfs_defer_add_barrier(), which xfs_reap_ag_blocks() uses on any CONFIG_XFS_ONLINE_REPAIR kernel. xfs_defer_finish_noroll() treats any non-EAGAIN return as fatal, so a non-zero stack value turns a successful barrier into a SHUTDOWN_CORRUPT_INCORE in the middle of a repair. Zero is the correct result: reaching the free path means the item loop drained without a non-zero error.

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