Katalog CVE

CVE-2026-98570

Niskie ryzyko· EPSS 8%
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.19%

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

Streszczenie

W jądrze Linux tunele lwtunnel seg6, ioam6 i rpl obliczały rozmiar żądania skb_cow_head() jako długość nowych nagłówków plus dst_dev_overhead(), a następnie odbudowywały nagłówek MAC przez skb_mac_header_rebuild(). Gdy nagłówek MAC był dłuższy niż pozostawione miejsce (np. przy wejściu przez urządzenie VLAN z wyłączonym reorder_hdr), odbudowa obliczała ujemny offset i zapisywała dane około 64 KB poza skb->head.

Ocena ryzyka

Zapis poza granicami bufora przy przekazywaniu ruchu IPv6 przez tunele może prowadzić do uszkodzenia pamięci jądra, awarii systemu lub potencjalnego wykonania kodu.

Rekomendacja

Zaktualizuj jądro Linux do wersji, w której dst_dev_overhead() zwraca większą z dwóch wartości, zapewniając miejsce na nagłówek MAC.

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: ipv6: keep room for the mac header in dst_dev_overhead() The seg6, ioam6 and rpl lwtunnels size their skb_cow_head() request as the length they are about to push plus dst_dev_overhead(), then push the new headers and rebuild the mac header below them with skb_mac_header_rebuild(). That rebuild needs skb->mac_len of headroom, but dst_dev_overhead() leaves LL_RESERVED_SPACE() of the egress device, 16 bytes for plain Ethernet. Where the mac header is longer than that, as it is on ingress through a VLAN device with reorder_hdr off, the rebuild runs out of room: skb_set_mac_header(skb, -skb->mac_len) computes a negative offset, stores it unchecked in the u16 skb->mac_header, and the memmove that follows writes skb->mac_len bytes about 64 KB past skb->head. Forwarding plain ping6 traffic through such a device reproduces it on all five seg6 encapsulation modes and on the rpl and ioam6 inline paths; skb->mac_header comes back as 65534 on a 704-byte head. Return the larger of the two. The helper already returns skb->mac_len when it has no dst, so this only makes the other branch agree, and it covers every caller rather than each call site in turn.

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