CVE-2025-38724
KrytyczneCVSS 9.8Prawdopodobieństwo exploitacji (EPSS)
Niskie ryzykoPercentyl 28 - wyżej niż 28% wszystkich znanych CVE
Streszczenie
W jądrze Linux w serwerze NFS (nfsd) funkcja nfsd4_setclientid_confirm() nie sprawdza wartości zwracanej przez get_client_locked(). Wyścig z wygasającym klientem może prowadzić do użycia po zwolnieniu (UAF).
Ocena ryzyka
Może prowadzić do awarii serwera NFS lub potencjalnego wykonania dowolnego kodu przez atakującego.
Rekomendacja
Zastosuj łatkę, która dodaje sprawdzenie wartości zwracanej przez get_client_locked() i odpowiednie obsłużenie błędu.
Oryginalny opis (angielski, źródło NVD)
In the Linux kernel, the following vulnerability has been resolved: nfsd: handle get_client_locked() failure in nfsd4_setclientid_confirm() Lei Lu recently reported that nfsd4_setclientid_confirm() did not check the return value from get_client_locked(). a SETCLIENTID_CONFIRM could race with a confirmed client expiring and fail to get a reference. That could later lead to a UAF. Fix this by getting a reference early in the case where there is an extant confirmed client. If that fails then treat it as if there were no confirmed client found at all. In the case where the unconfirmed client is expiring, just fail and return the result from get_client_locked().

