CVE-2026-98402 in Linux
Tóm tắt
Bởi VulDB • 16/10/2026
Trong kernel Linux, các lỗ hổng sau đây đã được khắc phục:
net: icmp: tránh truy cập không hợp lệ vào tiêu đề giao thức vận chuyển trong điểm theo dõi (tracepoint) icmp_send
syzbot báo cáo một cảnh BÁO CÁO (WARNING) do DEBUG_NET_WARN_ON_ONCE() kích hoạt:
WARNING: tại skb_transport_header include/linux/skbuff.h:3087 [inline]
WARNING: tại udp_hdr include/linux/udp.h:23 [inline]
WARNING: tại do_trace_event_raw_event_icmp_send include/trace/events/icmp.h:30 [inline]
WARNING: tại trace_event_raw_event_icmp_send+0x48c/0x6ec include/trace/events/icmp.h:11 Dấu vết cuộc gọi (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
Hàm TP_fast_assign() gọi udp_hdr(skb) một cách không điều kiện trước khi kiểm tra xem gói tin có phải là UDP hay không. Hơn nữa, __icmp_send() có thể được kích hoạt từ các đường dẫn (ví dụ: lỗi liên kết, lỗi ARP, chuyển tiếp, AF_PACKET) nơi skb->transport_header chưa bao giờ được khởi tạo (~0U).
Khi bật CONFIG_DEBUG_NET=y, việc gọi skb_transport_header(skb) sẽ kích hoạt DEBUG_NET_WARN_ON_ONCE(!skb_transport_header_was_set(skb)).
Khắc phục vấn đề này bằng cách: 1. Chỉ phân tích thông tin giao thức vận chuyển khi iph->protocol == IPPROTO_UDP. 2. Sử dụng skb_header_pointer() tại vị trí skb_network_offset(skb) + (iph->ihl << 2) để lấy tiêu đề UDP một cách an toàn mà không giả định transport_header đã được thiết lập.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.