CVE-2026-98401·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net: iptunnel: fix stale transport header during tunnel decapsulation Syzbot reported a crash in qdisc_pkt_len_segs_init() caused by a stale transport_header offset after tunnel decapsulation. BUG: unable to handle page fault for address: ffffed102091a42e Oops: Oops: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 340 Comm: qdisc_uaf_repro Not tainted 7.2.0-rc4-00061-g248951ddc14d #256 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:__asan_load2 <IRQ> qdisc_pkt_len_segs_init (net/core/dev.c:4145) __dev_queue_xmit (net/core/dev.c:4787) br_dev_queue_push_xmit (net/bridge/br_forward.c:53) br_handle_frame_finish (net/bridge/br_input.c:229) br_handle_frame (net/bridge/br_input.c:315) __netif_receive_skb_core.constprop.0 (net/core/dev.c:6099) __netif_receive_skb_list_core (net/core/dev.c:6287) netif_receive_skb_list_internal (net/core/dev.c:6445) napi_complete_done (net/core/dev.c:6813) gro_cell_poll (net/core/gro_cells.c:74) __napi_poll (net/core/dev.c:7735) net_rx_action (net/core/dev.c:7798 net/core/dev.c:7955) handle_softirqs (kernel/softirq.c:622) do_softirq (kernel/softirq.c:523 kernel/softirq.c:510 ) __local_bh_enable_ip (kernel/softirq.c:450) tun_get_user (drivers/net/tun.c:1986 (discriminator 1)) tun_chr_write_iter (drivers/net/tun.c:2032) The issue is completely latent until qdisc read transport header in commit 7fb4c1967011 ("net: pull headers in qdisc_pkt_len_segs_init()"). The crash requires four conditions to line up: 1. The incoming packet is encapsulated and carries GSO metadata. The outer transport header offset is stored in skb->transport_header while the packet is still in the outer tunnel context. 2. The tunnel receiver strips the outer headers. skb->data is advanced to the inner frame, but skb->transport_header is left pointing to the now-removed outer L4 header, so it becomes a negative offset relative to the new data. 3. The inner frame is not delivered to the local IP stack. Instead, it is forwarded at L2 by a bridge or HSR, so ip_rcv_core() never runs and the transport header is not reset to the inner L4 offset. 4. The forwarding path calls __dev_queue_xmit(), which enters qdisc_pkt_len_segs_init(). That function computes the GSO header length from skb_transport_offset(skb). Because the offset is negative, the unsigned cast overflows and pskb_may_pull(skb, hdr_len + sizeof(struct tcphdr)) reads past the end of the skb, triggering a KASAN fault or page fault. The issue specifically requires GSO packets (shinfo->gso_size != 0), which are processed/aggregated through gro_cells. Fix this by clearing transport_header to the ~0U sentinel in gro_cell for all tunnnel driver. GTP does not support GRO/GSO, drop the evil GSO packets in GTP directly.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.12.111, 6.18.53, 7.2.7, 7.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.21% — higher than 10% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-98401 scores 7.5 on CVSS, so a successful attack would be serious — but at 0.21%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
Update your Linux kernel to a patched version to resolve a stale transport header issue during tunnel decapsulation that can cause kernel crashes. Users should upgrade to kernel 6.12.111, 6.18.53, 7.2.7 or later depending on their current kernel branch, or install their distribution's patched kernel package. This vulnerability affects GSO-enabled tunnel traffic forwarded through bridges or HSR interfaces.
sudo dnf upgrade kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check current kernel version with `uname -r` and note the release number
- Step 2: Verify if tunnel interfaces (tun, gre, vxlan, geneve, etc.) are in use on the system with `ip link show type {tunnel_type}` or `cat /proc/net/dev`
- Step 3: Search kernel logs for KASAN faults or page faults in qdisc_pkt_len_segs_init with `dmesg | grep -i 'qdisc_pkt_len_segs_init\|asan\|page fault'`
- Step 4: After updating, confirm patched version is running with `uname -r` and verify it matches 6.12.111+, 6.18.53+, 7.2.7+ or later
FAQ
What is CVE-2026-98401?
A kernel vulnerability where tunnel decapsulation leaves a stale transport header offset that causes memory access violations when GSO packets are forwarded through bridge or HSR interfaces. The invalid offset is only triggered during qdisc packet length calculation in the forwarding path.
Is CVE-2026-98401 being actively exploited?
No, this CVE is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are available. However, it can be triggered locally by crafted tunnel traffic on vulnerable systems.
What versions of Kernel are affected by CVE-2026-98401?
The vulnerability affects multiple stable kernel branches. Update to 6.12.111 or later for the 6.12 branch, 6.18.53 or later for the 6.18 branch, 7.2.7 or later for the 7.2 branch, or 7.3 and later for mainline. Earlier versions of these branches are vulnerable.
How do I check if my server is vulnerable to CVE-2026-98401?
Run `uname -r` to get your kernel version, then compare it against the fixed versions (6.12.111, 6.18.53, 7.2.7+). If your version is older and matches the affected branch, you are vulnerable. Also check if tunnel interfaces are active with `ip link show`.
Does Defensia detect CVE-2026-98401?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Linux kernel is installed on a monitored server, CVE-2026-98401 will appear in your dashboard with remediation steps tailored to your kernel version.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98401. Free for 1 server.
Get started free