Katalog CVE

CVE-2026-99362

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

Prawdopodobieństwo exploitacji (EPSS)

Bardzo wysokie ryzyko
4.82%

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

Streszczenie

W jądrze Linux naprawiono podatność w module nfsd dotyczącą funkcji nfsd4_sequence(). Klient może wynegocjować bardzo mały bufor odpowiedzi (ca_maxresponsesize_cached), przez co slot otrzymuje zerowej długości bufor sl_data[]. Odpowiedź COMPOUND może wypełnić zwężony bufor tak, że zmieści się opcode SEQUENCE, ale nie status, co prowadzi do zapisu poza granicami bufora (slab-out-of-bounds) podczas kopiowania odpowiedzi do cache'u.

Ocena ryzyka

Podatność może prowadzić do uszkodzenia pamięci jądra (out-of-bounds write) wywoływanego przez klienta NFS, co grozi awarią systemu lub potencjalnie wykonaniem kodu w kontekście jądra. Wymaga jednak możliwości nawiązania sesji NFSv4.1 z serwerem nfsd.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę dla CVE-2026-99362. Do czasu wdrożenia aktualizacji rozważ ograniczenie dostępu do usługi NFS wyłącznie do zaufanych klientów.

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: preflight SEQUENCE replies before accepting a slot nfsd4_sequence() narrows the reply buffer to the session's cached reply limit before it accepts the slot seqid. A client may negotiate ca_maxresponsesize_cached down to NFSD_MIN_HDR_SEQ_SZ, and nfsd4_alloc_slot() then gives every slot a zero-length sl_data[]. A COMPOUND tag can fill that narrowed buffer until it holds the SEQUENCE opcode but not the status word that follows. nfsd4_encode_operation() returns without running nfsd4_encode_sequence(), so cstate.data_offset stays zero. It leaves op->status at nfs_ok as well, so the COMPOUND is treated as having succeeded. nfsd4_store_cache_entry() declines to cache a lone SEQUENCE that returned an error. That test reads the status the operation reported, so it passes here. The copy starts at offset zero and takes the whole reply, RPC and COMPOUND headers included, into the zero-length sl_data[]. The COMPOUND tag is copied along with it, so the client picks most of the bytes written past the end of the slot: BUG: KASAN: slab-out-of-bounds in read_bytes_from_xdr_buf+0x1bc/0x390 Write of size 80 at addr ffff888003a549cd by task kunit_try_catch/24 __asan_memcpy+0x38/0x60 read_bytes_from_xdr_buf+0x1bc/0x390 nfsd4_sequence_done+0x5b0/0x810 nfs4svc_encode_compoundres+0x1bf/0x240 Check that the fixed-size SEQUENCE result, plus room for a following operation's error status, fits the negotiated limit before narrowing the buffer and consuming the slot seqid. The slot and its reply cache are left unchanged, as RFC 8881 Section 2.10.6.1.2 requires of an error returned from SEQUENCE.

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