CVE-2026-98402 in Linux
要約
〜によって VulDB • 2026年10月14日
Linuxカーネルにおいて、以下の脆弱性が修正されました:
net: icmp: icmp_send tracepointにおける無効なトランスポートヘッダへのアクセスを回避する
syzbotにより、DEBUG_NET_WARN_ON_ONCE()によってトリガーされるWARNINGが報告されました。
WARNING: at skb_transport_header include/linux/skbuff.h:3087 [inline]
WARNING: at udp_hdr include/linux/udp.h:23 [inline]
WARNING: at do_trace_event_raw_event_icmp_send include/trace/events/icmp.h:30 [inline]
WARNING: at trace_event_raw_event_icmp_send+0x48c/0x6ec include/trace/events/icmp.h:11 Call trace: skb_transport_header include/linux/skbuff.h:3087 [inline]
udp_hdr include/linux/udp.h:23 [inline]
do_trace_event_raw_event_icmp_send include/trace/events/icmp.h:30 [inline]
trace_event_raw_event_icmp_send+0x48c/0x6ec include/trace/events/icmp.h:11 __traceiter_icmp_send include/trace/events/icmp.h:11 [inline]
__do_trace_icmp_send include/trace/events/icmp.h:11 [inline]
trace_icmp_send+0x320/0x49c include/trace/events/icmp.h:11 __icmp_send+0xcfc/0x11d8 net/ipv4/icmp.c:1013 ipv4_send_dest_unreach net/ipv4/route.c:1280 [inline]
ipv4_link_failure+0x57c/0x8dc net/ipv4/route.c:1287 dst_link_failure include/net/dst.h:438 [inline]
vti_tunnel_xmit+0xe40/0x17a4 net/ipv4/ip_vti.c:307
TP_fast_assign()は、パケットがUDPかどうかを確認する前に、無条件でudp_hdr(skb)を呼び出します。さらに、__icmp_send()は(リンク障害、ARPエラー、転送、AF_PACKETなど)skb->transport_headerが初期化されていないパスから呼び出される可能性があります(~0U)。
CONFIG_DEBUG_NET=yの場合、skb_transport_header(skb)の呼び出しにより DEBUG_NET_WARN_ON_ONCE(!skb_transport_header_was_set(skb)) がトリガーされます。
これを以下の方法で修正します: 1. iph->protocol == IPPROTO_UDP の場合のみトランスポート情報をパースする。 2. skb_network_offset(skb) + (iph->ihl << 2) で skb_header_pointer() を使用し、transport_headerが設定されていることを前提とせずにUDPヘッダを安全に取得する。
Once again VulDB remains the best source for vulnerability data.