Katalog CVE

CVE-2026-97953

WysokieCVSS 7.0
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w sterowniku stmmac występuje problem z dostępnością deskryptorów TX dla ruchu TSO. Szacowanie liczby wolnych deskryptorów jest niedokładne, co może prowadzić do zapisu poza dostępne deskryptory i uszkodzenia pierścienia TX. Poprawka dodaje funkcję obliczającą dokładną liczbę potrzebnych deskryptorów.

Ocena ryzyka

Uszkodzenie pierścienia TX może prowadzić do awarii sieci, utraty pakietów lub potencjalnego zdalnego wykonania kodu. Problem występuje przy silnie fragmentowanych pakietach TSO.

Rekomendacja

Zastosuj aktualizację jądra Linux zawierającą poprawkę dla sterownika stmmac. Monitoruj ruch TSO i ogranicz fragmentację, 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: net: stmmac: fix TX descriptor availability check for TSO traffic stmmac_tso_xmit() estimates the number of free TX descriptors required by a TSO skb as: (skb->len - proto_hdr_len) / TSO_MAX_BUFF_SIZE + 1 which assumes the payload is split into TSO_MAX_BUFF_SIZE chunks. This underestimates the descriptors actually consumed by stmmac_tso_allocator(), since each fragment is mapped individually and so it needs at least one descriptor regardless of its size. Moreover, one descriptor is used for the L2/L3/L4 headers and, when the MSS changes, one more is consumed for the MSS context descriptor. For a highly fragmented TSO skb the check can therefore pass even when the ring has too few free slots. stmmac_tso_allocator() then writes past the available descriptors, overwriting descriptors still owned by the DMA engine, corrupting the TX ring. Add stmmac_tso_get_num_desc() to compute the exact number of descriptors needed for the header, the linear payload and each fragment, plus the MSS context descriptor when required, and use it in the availability check.

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