Katalog CVE

CVE-2026-89677

KrytyczneCVSS 9.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.16%

Percentyl 6 - wyżej niż 6% wszystkich znanych CVE

Streszczenie

W jądrze Linux w funkcji nfsd4_create_file() występuje możliwość użycia niewłaściwego dentry w fh_compose(). Funkcja dentry_create() może teoretycznie zwrócić inny dentry niż przekazany, co może prowadzić do użycia zwolnionego dentry (use-after-free). Poprawka przenosi wywołanie fh_compose() do momentu, gdy ostateczny dentry jest już znany.

Ocena ryzyka

Może prowadzić do użycia zwolnionej pamięci (use-after-free) i potencjalnego wykonania kodu lub awarii jądra. Sytuacja występuje w rzadkich przypadkach, np. gdy eksportowany system plików to NFS.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę przenoszącą wywołanie fh_compose() po ustaleniu ostatecznego dentry. Unikaj eksportowania systemów plików NFS przez NFS, jeśli to możliwe.

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: nfsd: fix possible fh_compose of wrong dentry in nfsd4_create_file() dentry_create() can hypothetically provide a different dentry than the one passed in. This could happen, for example, if the exported filesystem is NFS, and the server returned to OPEN a filehandle which matched a directory that was already in the dcache. Clearly this would not be expected! If this were to happen the dentry (child) that was already stored in resfhp could be freed and later dereferenced. We shouldn't call fh_compose() until we are certain that we have the final dentry, so this patch moved the fh_compose() call to two places: one for the case where the target already exists, and one after dentry_create() where it was created.

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