Ad

CVE-2026-98570

NONE EPSS 0.19%
Обновлено 19 октября 2026
Linux
Параметр Значение
Поставщик Linux
Публичный эксплойт Нет

В ядре Linux устранена следующая уязвимость: net: ipv6: оставить место для заголовка mac в dst_dev_overhead() The seg6, ioam6 и rpl lwtunnels размер их запроса skb_cow_head(), как длина, которую они собираются нажать плюс dst_dev_overhead(), затем нажать новые заголовки и перестроить заголовок mac под ними с помощью skb_mac_header_rebuild(). Для восстановления требуется skb->mac_len headroom, но dst_dev_overhead() оставляет LL_RESERVED_SPACE() устройства выхода, 16 байт для обычного Ethernet. Там, где заголовок Mac длиннее, так как он проходит через устройство VLAN с выключенным reorder_hdr, перестройка заканчивается: skb_set_mac_header(skb, -skb->mac_len) вычисляет отрицательное смещение, хранит его без проверки в u16 skb->mac_header, а следующий за ним memmove пишет skb->mac_len байтами около 64 KB за skb->head.

Пересылка простого трафика ping6 через такое устройство воспроизводит его на всех пяти режимах инкапсуляции seg6 и на встроенных путях rpl и ioam6; skb->mac_header возвращается как 65534 на 704-байтной головке. Верните самый большой из двух. Помощник уже возвращает skb->mac_len, когда у него нет dst, поэтому это только заставляет другую ветку согласиться, и она покрывает каждого вызывающего абонента, а не каждый сайт вызова по очереди.

Показать оригинальное описание (EN)

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.