CVE-2026-72217
KrytyczneCVSS 9.8Prawdopodobieństwo exploitacji (EPSS)
Niskie ryzykoPercentyl 10 - wyżej niż 10% wszystkich znanych CVE
Streszczenie
W jądrze Linux w module SUNRPC funkcja xdr_buf_to_bvec() zapisuje dane do tablicy przed sprawdzeniem, czy indeks jest w zakresie, co może prowadzić do zapisu poza granicami tablicy. Tablica rq_bvec przekazywana przez nfsd_vfs_write() jest alokowana bez zapasu, więc zapis poza zakres może naruszyć sąsiednią pamięć.
Ocena ryzyka
Zapis poza granicami może prowadzić do uszkodzenia pamięci, awarii systemu lub potencjalnego zdalnego wykonania kodu, ponieważ dane pochodzą z żądań RPC klienta.
Rekomendacja
Zainstaluj poprawkę jądra, która przenosi sprawdzenie zakresu przed zapisem we wszystkich gałęziach (head, page-loop, tail).
Oryginalny opis (angielski, źródło NVD)
In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Bound-check xdr_buf_to_bvec() stores before writing xdr_buf_to_bvec() writes a bio_vec into the caller's array before testing whether that slot is in range, and the head branch performs the store with no check at all. When the caller's budget is exactly used up, the next store lands one element past the end of the array. The overflow label returns count - 1, which masks the surplus store but cannot undo it. rq_bvec, the array passed by nfsd_vfs_write(), is allocated to exactly rq_maxpages entries with no slack. The OOB store can land in adjacent slab memory; the bv_len and bv_offset fields written there are derived from client-supplied RPC payload sizes. Move the in-range check ahead of the store in the head, page-loop, and tail branches. With the check at the top of each sequence, count is incremented only after a successful store, so the overflow label can return count directly.

