В ядре Linux устранена следующая уязвимость:
netfilter: flowtable: исправить и упростить обработку туннеля IP6IP6. Исправьте nf_flow_ip6_tunnel_proto(), чтобы использовать pskb_may_pull() вместо
skb_header_pointer(), чтобы убедиться, что внешний заголовок IPv6 находится в skb.
запас, необходимый для последующей обработки пакетов. Переместить
обновление ctx->offset внутри условного блока IPPROTO_IPV6, поскольку оно
следует настраивать только тогда, когда туннель IP6IP6 действительно обнаружен.
Упростите путь приема, удалив ipv6_skip_exthdr() и проверив
ip6h->nexthdr напрямую, поскольку быстрый путь таблицы потоков обрабатывает только простые
Инкапсуляция IP6IP6 без заголовков расширения. Удалите поддержку опции назначения ограничения инкапсуляции туннеля из
tx, поскольку путь rx больше не обрабатывает заголовки расширений. Удалите параметр encap_limit из nf_flow_offload_ipv6_forward(),
nf_flow_tunnel_ip6ip6_push() и nf_flow_tunnel_v6_push(), а также
структура ipv6_tel_txoption и соответствующие настройки запаса/MTU.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: netfilter: flowtable: fix and simplify IP6IP6 tunnel handling Fix nf_flow_ip6_tunnel_proto() to use pskb_may_pull() instead of skb_header_pointer() to ensure the outer IPv6 header is in the skb headroom, which is required for subsequent packet processing. Move ctx->offset update inside the IPPROTO_IPV6 conditional block since it should only be adjusted when an IP6IP6 tunnel is actually detected. Simplify the rx path by removing ipv6_skip_exthdr() and checking ip6h->nexthdr directly, as the flowtable fast path only handles simple IP6IP6 encapsulation without extension headers. Drop the tunnel encapsulation limit destination option support from the tx path to match, since the rx path no longer handles extension headers. Remove the encap_limit parameter from nf_flow_offload_ipv6_forward(), nf_flow_tunnel_ip6ip6_push() and nf_flow_tunnel_v6_push(), along with the ipv6_tel_txoption struct and related headroom/MTU adjustments.
Характеристики атаки
Последствия
Строка CVSS v3.1