{"id":"CVE-2026-98402","aliases":["CVE-2026-98402"],"related":[],"kind":"vulnerability","state":"published","title":"net: icmp: avoid invalid transport header access in icmp_send tracepoint","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: icmp: avoid invalid transport header access in icmp_send tracepoint\n\nsyzbot reported a WARNING triggered by DEBUG_NET_WARN_ON_ONCE():\n\n WARNING: at skb_transport_header include/linux/skbuff.h:3087 [inline]\n WARNING: at udp_hdr include/linux/udp.h:23 [inline]\n WARNING: at do_trace_event_raw_event_icmp_send include/trace/events/icmp.h:30 [inline]\n WARNING: at trace_event_raw_event_icmp_send+0x48c/0x6ec include/trace/events/icmp.h:11\n Call trace:\n  skb_transport_header include/linux/skbuff.h:3087 [inline]\n  udp_hdr include/linux/udp.h:23 [inline]\n  do_trace_event_raw_event_icmp_send include/trace/events/icmp.h:30 [inline]\n  trace_event_raw_event_icmp_send+0x48c/0x6ec include/trace/events/icmp.h:11\n  __traceiter_icmp_send include/trace/events/icmp.h:11 [inline]\n  __do_trace_icmp_send include/trace/events/icmp.h:11 [inline]\n  trace_icmp_send+0x320/0x49c include/trace/events/icmp.h:11\n  __icmp_send+0xcfc/0x11d8 net/ipv4/icmp.c:1013\n  ipv4_send_dest_unreach net/ipv4/route.c:1280 [inline]\n  ipv4_link_failure+0x57c/0x8dc net/ipv4/route.c:1287\n  dst_link_failure include/net/dst.h:438 [inline]\n  vti_tunnel_xmit+0xe40/0x17a4 net/ipv4/ip_vti.c:307\n\nTP_fast_assign() unconditionally calls udp_hdr(skb) before checking\nwhether the packet is UDP. Furthermore, __icmp_send() can be invoked\nfrom paths (e.g., link failures, ARP errors, forwarding, AF_PACKET)\nwhere skb->transport_header was never initialized (~0U).\n\nUnder CONFIG_DEBUG_NET=y, calling skb_transport_header(skb) triggers\nDEBUG_NET_WARN_ON_ONCE(!skb_transport_header_was_set(skb)).\n\nFix this by:\n1. Only parsing transport info when iph->protocol == IPPROTO_UDP.\n2. Using skb_header_pointer() at skb_network_offset(skb) + (iph->ihl << 2)\n   to safely fetch the UDP header without assuming transport_header is set.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: icmp: avoid invalid transport header access in icmp_send tracepoint\n\nsyzbot reported a WARNING triggered by DEBUG_NET_WARN_ON_ONCE():\n\n WARNING: at skb_transport_header include/linux/skbuff.h:3087 [inline]\n WARNING: at udp_hdr include/linux/udp.h:23 [inline]\n WARNING: at do_trace_event_raw_event_icmp_send include/trace/events/icmp.h:30 [inline]\n WARNING: at trace_event_raw_event_icmp_send+0x48c/0x6ec include/trace/events/icmp.h:11\n Call trace:\n  skb_transport_header include/linux/skbuff.h:3087 [inline]\n  udp_hdr include/linux/udp.h:23 [inline]\n  do_trace_event_raw_event_icmp_send include/trace/events/icmp.h:30 [inline]\n  trace_event_raw_event_icmp_send+0x48c/0x6ec include/trace/events/icmp.h:11\n  __traceiter_icmp_send include/trace/events/icmp.h:11 [inline]\n  __do_trace_icmp_send include/trace/events/icmp.h:11 [inline]\n  trace_icmp_send+0x320/0x49c include/trace/events/icmp.h:11\n  __icmp_send+0xcfc/0x11d8 net/ipv4/icmp.c:1013\n  ipv4_send_dest_unreach net/ipv4/route.c:1280 [inline]\n  ipv4_link_failure+0x57c/0x8dc net/ipv4/route.c:1287\n  dst_link_failure include/net/dst.h:438 [inline]\n  vti_tunnel_xmit+0xe40/0x17a4 net/ipv4/ip_vti.c:307\n\nTP_fast_assign() unconditionally calls udp_hdr(skb) before checking\nwhether the packet is UDP. Furthermore, __icmp_send() can be invoked\nfrom paths (e.g., link failures, ARP errors, forwarding, AF_PACKET)\nwhere skb->transport_header was never initialized (~0U).\n\nUnder CONFIG_DEBUG_NET=y, calling skb_transport_header(skb) triggers\nDEBUG_NET_WARN_ON_ONCE(!skb_transport_header_was_set(skb)).\n\nFix this by:\n1. Only parsing transport info when iph->protocol == IPPROTO_UDP.\n2. Using skb_header_pointer() at skb_network_offset(skb) + (iph->ihl << 2)\n   to safely fetch the UDP header without assuming transport_header is set.","source":"cvelist"}],"published":"2026-10-14T13:26:02.321Z","modified":"2026-10-19T10:18:45.083Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"524c341cb16a8d5318d2ffacf6fe160271a18743","fixed":"ec6d4612d1c170e1cef1fe55526471da1e81e777","status":"affected"},{"type":"git","introduced":"21b28f97e621cba196fb32c576734d216a8a79c9","fixed":"99654b651c6d5fe865798a2adb859767905f9278","status":"affected"},{"type":"git","introduced":"db3efdcf70c752e8a8deb16071d8e693c3ef8746","fixed":"b972b5e6168dc5d1e13297b1f37f71d6b21cc0f1","status":"affected"},{"type":"git","introduced":"db3efdcf70c752e8a8deb16071d8e693c3ef8746","fixed":"04c0d35bac5122b533672a6775851dfae84e265e","status":"affected"},{"type":"git","introduced":"db3efdcf70c752e8a8deb16071d8e693c3ef8746","fixed":"2b32f8c3560905582fb12ed68315a6e606367a6a","status":"affected"},{"type":"git","introduced":"db3efdcf70c752e8a8deb16071d8e693c3ef8746","fixed":"7fcc2fe39fed1cb98a7374a113ff3800e8f9af80","status":"affected"},{"type":"semver","introduced":"6.1.130","fixed":"6.1.189","status":"affected"},{"type":"semver","introduced":"6.6.81","fixed":"6.6.158","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.10","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ec6d4612d1c170e1cef1fe55526471da1e81e777","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/99654b651c6d5fe865798a2adb859767905f9278","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b972b5e6168dc5d1e13297b1f37f71d6b21cc0f1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/04c0d35bac5122b533672a6775851dfae84e265e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2b32f8c3560905582fb12ed68315a6e606367a6a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7fcc2fe39fed1cb98a7374a113ff3800e8f9af80","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98402","url":"https://www.cve.org/CVERecord?id=CVE-2026-98402","licence":"CVE Terms of Use","modified":"2026-10-19T09:18:55.710Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98402","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98402","licence":"Public domain","modified":"2026-10-19T10:18:45.083Z"}],"updatedAt":"2026-11-25T22:59:44.636Z","epss":{"score":0.00211,"percentile":0.12091,"date":"2026-12-01T12:00:22.000Z"}}