CVE-2026-98402 in Linux
Résumé
par VulDB • 14/10/2026
Dans le noyau Linux, la vulnérabilité suivante a été corrigée :
net: icmp : éviter l'accès non valide à l'en-tête de transport dans le point d'insertion (tracepoint) icmp_send
syzbot a signalé un WARNING déclenché par DEBUG_NET_WARN_ON_ONCE() :
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 Trace d'appels : 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
La fonction TP_fast_assign() appelle de manière inconditionnelle udp_hdr(skb) avant de vérifier si le paquet est UDP. De plus, __icmp_send() peut être invoqué depuis des chemins (par exemple, échecs de liaison, erreurs ARP, routage, AF_PACKET) où skb->transport_header n'a jamais été initialisé (~0U).
Sous CONFIG_DEBUG_NET=y, l'appel à skb_transport_header(skb) déclenche DEBUG_NET_WARN_ON_ONCE(!skb_transport_header_was_set(skb)).
Correction apportée en : 1. Analysant les informations de transport uniquement lorsque iph->protocol == IPPROTO_UDP. 2. Utilisant skb_header_pointer() sur la position (skb_network_offset(skb) + (iph->ihl << 2)) pour récupérer l'en-tête UDP de manière sûre, sans supposer que transport_header est défini.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.