CVE-2026-63795
KrytyczneCVSS 10.0Prawdopodobieństwo exploitacji (EPSS)
Niskie ryzykoPercentyl 39 - wyżej niż 39% wszystkich znanych CVE
Streszczenie
W jądrze Linux w systemie plików 9p wykryto podatność polegającą na błędnym zarządzaniu referencjami w funkcji p9_client_walk(). Gdy wywołanie z parametrem clone ustawionym na false kończy się niepowodzeniem, ścieżka błędu nieprawidłowo zwalnia referencję do starego deskryptora pliku (oldfid), co może prowadzić do użycia po zwolnieniu (use-after-free) lub niedomiaru licznika referencji.
Ocena ryzyka
Ryzyko polega na możliwości wystąpienia awarii systemu lub eskalacji uprawnień przez lokalnego atakującego, który może wykorzystać błąd do naruszenia integralności pamięci jądra.
Rekomendacja
Zaleca się natychmiastową aktualizację jądra Linux do wersji zawierającej poprawkę (commit 9p: avoid putting oldfid in p9_client_walk() error path). Należy monitorować dystrybucje pod kątem wydania łatki.
Oryginalny opis (angielski, źródło NVD)
In the Linux kernel, the following vulnerability has been resolved: 9p: avoid putting oldfid in p9_client_walk() error path When p9_client_walk() is called with clone set to false, fid aliases oldfid. If the walk subsequently fails after the request has been sent, the error path jumps to clunk_fid, which currently calls p9_fid_put(fid) unconditionally. This drops a reference to oldfid even though ownership of oldfid remains with the caller. If this is the last reference, oldfid can be clunked and destroyed while the caller still expects it to be valid. A later use or put of oldfid can then trigger a use-after-free or refcount underflow. Fix this by only putting fid in the clunk_fid error path when it does not alias oldfid, matching the existing guard in the error path below. This can be triggered when a multi-component walk is split into multiple p9_client_walk() calls and a later non-cloning walk fails. A reproducer and refcount warning logs are available on request.

