Ad

CVE-2026-98955

NONE EPSS 0.21%
Обновлено 30 октября 2026
Linux
Параметр Значение
Уязвимые версии 4.14.16 — 7.3
Устранено в версии 6.6.160
Поставщик Linux
Публичный эксплойт Нет

В ядре Linux была устранена следующая уязвимость: flow_dissector: избежать урезания u16 skb->len при вычислении thoff __skb_flow_dissect() вычисляет key_control->thoff, используя: key_control->thoff min_t(u16, nhoff, skb ? skb->len : hlen); min_t(u16, ...) бросает оба аргумента u16 перед их сравнением. Всякий раз, когда skb->len (или hlen) по модулю 65536 меньше nhoff, усеченная длина побеждает, и thoff устанавливается в поддельное маленькое значение, даже если рассечение прошло успешно. Например, кадр IPv4/TCP с skb->len 65540 и nhoff 34 получает thoff 4, поэтому вызывающее устройство, такое как skb_probe_transport_header(), указывает транспортный заголовок внутри заголовка Ethernet.

Such skbs are not exotic: - At the time of commit d0c081b49137 ("flow_dissector: properly cap thoff field"), AF_PACKET with PACKET_VNET_HDR could already build GSO skbs larger than 64KB (MTU checks are skipped for GSO, and alloc_skb_with_frags() accepted up to MAX_SKB_FRAGS (17) order-0 pages on top of the linear part). - BIG TCP now makes skbs larger than 64KB common. - The following patch makes tun_get_user() dissect IFF_TAP frames before eth_type_trans() pulls the Ethernet header, so a GSO frame carrying a 65522..65535 byte L3 packet will be dissected with skb->len in [65536, 65549]. Сравните с u32. Если результирующее смещение не может быть представлено в u16 key_control->thoff, закройте его в U16_MAX и сообщите о рассечении как о неудачном, а не о молчаливом возврате неправильного смещения переноса. thoff по-прежнему настроен на сбой, поскольку некоторые абоненты (такие как eth_get_headlen()) используют его независимо от возвращаемого значения.

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

In the Linux kernel, the following vulnerability has been resolved: flow_dissector: avoid u16 truncation of skb->len when computing thoff __skb_flow_dissect() computes key_control->thoff using: key_control->thoff = min_t(u16, nhoff, skb ? skb->len : hlen); min_t(u16, ...) casts both arguments to u16 before comparing them. Whenever skb->len (or hlen) modulo 65536 is smaller than nhoff, the truncated length wins and thoff is set to a bogus small value, even when the dissection succeeded. For example, an IPv4/TCP frame with skb->len == 65540 and nhoff == 34 gets thoff == 4, so callers such as skb_probe_transport_header() point the transport header inside the Ethernet header. Such skbs are not exotic: - At the time of commit d0c081b49137 ("flow_dissector: properly cap thoff field"), AF_PACKET with PACKET_VNET_HDR could already build GSO skbs larger than 64KB (MTU checks are skipped for GSO, and alloc_skb_with_frags() accepted up to MAX_SKB_FRAGS (17) order-0 pages on top of the linear part). - BIG TCP now makes skbs larger than 64KB common. - The following patch makes tun_get_user() dissect IFF_TAP frames before eth_type_trans() pulls the Ethernet header, so a GSO frame carrying a 65522..65535 byte L3 packet will be dissected with skb->len in [65536, 65549]. Compare as u32 instead. If the resulting offset cannot be represented in the u16 key_control->thoff, cap it to U16_MAX and report the dissection as failed rather than silently returning a wrong transport offset. thoff is still set on failure, as some callers (such as eth_get_headlen()) use it regardless of the return value.

Уязвимые продукты 8

Конфигурация От (включительно) До (исключительно)
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.15 6.6.160
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.15 6.12.113
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.15 6.18.57
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.15 7.2.11
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.15 7.3
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.4.114 —
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.9.79 —
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.14.16 —