CVE-2026-98954
net: always dissect GSO packets in __virtio_net_hdr_to_skb()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= d5be7f632bad0f489879eed0ff4b99bd7fe0b74c, < 5f4dfdf0077730e9d3ef5b37ceb17a5a56d6f34c; >= d5be7f632bad0f489879eed0ff4b99bd7fe0b74c, < 44378d02c5aaae24b60a75fbbb539b4aa4db503d; dac7d4432b13d6b58923c1178b786bcda37c9e9e; e93384b12443c9bb6830b56b7d299beed432b865; f709f7b28d76de327373598a0fda9f916c36b5e6; d996573ebd5c528c613e90b7e7daa961d58fa16e; c375152be9dd9d6fbf6ae5ac8be337d0590f192a; 0dab7eb86ea06ce8c530785f1999948c6f223c96; ea3fb2ce5fa794d02135f5c079e05cd6fc3f545d; 54ef8243c3c8e90f1ea5792e6752e021a25c8eb3; …
- Anyone running Linux 5.0
Vulnerability facts
- Affected
- Linux >= d5be7f632bad0f489879eed0ff4b99bd7fe0b74c, < 5f4dfdf0077730e9d3ef5b37ceb17a5a56d6f34c; >= d5be7f632bad0f489879eed0ff4b99bd7fe0b74c, < 44378d02c5aaae24b60a75fbbb539b4aa4db503d; dac7d4432b13d6b58923c1178b786bcda37c9e9e; e93384b12443c9bb6830b56b7d299beed432b865; f709f7b28d76de327373598a0fda9f916c36b5e6; d996573ebd5c528c613e90b7e7daa961d58fa16e; c375152be9dd9d6fbf6ae5ac8be337d0590f192a; 0dab7eb86ea06ce8c530785f1999948c6f223c96; ea3fb2ce5fa794d02135f5c079e05cd6fc3f545d; 54ef8243c3c8e90f1ea5792e6752e021a25c8eb3; …; Linux 5.0
- Fixed in
- Linux 5f4dfdf0077730e9d3ef5b37ceb17a5a56d6f34c, Linux 44378d02c5aaae24b60a75fbbb539b4aa4db503d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net: always dissect GSO packets in __virtio_net_hdr_to_skb() Commit 9e8db5913264 ("net: avoid false positives in untrusted gso validation") added a '&& skb->network_header' check before flow-dissecting GSO packets without VIRTIO_NET_HDR_F_NEEDS_CSUM in __virtio_net_hdr_to_skb(), because some callers (such as tun_get_user(), tun_xdp_one(), virtnet_receive_done(), and raw_verify_header()) called virtio_net_hdr_*_to_skb() before initializing skb->network_header and skb->dev. Because __alloc_skb() and __build_skb_around() zero-initialize skb->network_header to 0 (unlike mac_header and transport_header which are initialized to ~0U), those four callers always had skb->network_header == 0 and bypassed flow dissection in __virtio_net_hdr_to_skb(). More generally, skb->network_header is an offset from skb->head (where 0 is also a valid offset whenever skb_headroom(skb) is 0), not a boolean flag. Whenever the 'if (gso_type && skb->network_header)' branch was skipped, the fallback 'else if (gso_type)' only pulled nh_min_len + thlen (40 bytes for TCPv4) without dissecting the packet, without validating ip_proto or n_proto, and without setting skb->transport_header. If the packet has a malformed network header, it is not rejected and a subsequent skb_probe_transport_header() also fails, leaving skb->transport_header at ~0U (0xffff). Similarly, if an IPv4 packet carries IP options (ihl > 5) or an IPv6 packet carries extension headers, pulling only nh_min_len + thlen can leave the TCP header outside skb->head. In both cases, tcp_hdrlen(skb) in skb_gso_transport_seglen() reads out-of-bounds: BUG: KASAN: slab-out-of-bounds in skb_gso_transport_seglen Read of size 2 by task poc/133 skb_gso_transport_seglen (net/core/gso.c:155) skb_gso_validate_mac_len (net/core/gso.c:270) tbf_enqueue (net/sched/sch_tbf.c:260) dev_qdisc_enqueue (net/core/dev.c:4227) __dev_queue_xmit (net/core/dev.c:4884) In addition, checking virtio_net_hdr_match_proto() only inside 'if (!skb->protocol)' before flow dissection both skipped validation when skb->protocol was pre-set by the caller and rejected VLAN-tagged frames whose outer L2 protocol is ETH_P_8021Q or ETH_P_8021AD. Fix this by: 1. Initializing skb->dev and skb->network_header (plus skb->protocol for IFF_TUN) before virtio_net_hdr_*_to_skb() in tun_get_user(), tun_xdp_one(), virtnet_receive_done(), and raw_verify_header(). In tun_get_user(), drop the redundant skb_reset_mac_header(skb) in the IFF_TUN case since __virtio_net_hdr_to_skb() unconditionally resets mac_header. 2. Removing '&& skb->network_header' and the unvalidated 'else if (gso_type)' fallback in __virtio_net_hdr_to_skb() so all GSO packets without VIRTIO_NET_HDR_F_NEEDS_CSUM are flow-dissected, have their transport header pulled into linear data, and have skb->transport_header set. 3. Moving the virtio_net_hdr_match_proto() check to after skb_flow_dissect_flow_keys_basic(), validating keys.basic.n_proto against hdr_gso_type.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= d5be7f632bad0f489879eed0ff4b99bd7fe0b74c, < 5f4dfdf0077730e9d3ef5b37ceb17a5a56d6f34c; >= d5be7f632bad0f489879eed0ff4b99bd7fe0b74c, < 44378d02c5aaae24b60a75fbbb539b4aa4db503d; dac7d4432b13d6b58923c1178b786bcda37c9e9e; e93384b12443c9bb6830b56b7d299beed432b865; f709f7b28d76de327373598a0fda9f916c36b5e6; d996573ebd5c528c613e90b7e7daa961d58fa16e; c375152be9dd9d6fbf6ae5ac8be337d0590f192a; 0dab7eb86ea06ce8c530785f1999948c6f223c96; ea3fb2ce5fa794d02135f5c079e05cd6fc3f545d; 54ef8243c3c8e90f1ea5792e6752e021a25c8eb3; … | — | cvelist |
| Linux | 5.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98954. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98954.md Affected: Linux >= d5be7f632bad0f489879eed0ff4b99bd7fe0b74c, < 5f4dfdf0077730e9d3ef5b37ceb17a5a56d6f34c; >= d5be7f632bad0f489879eed0ff4b99bd7fe0b74c, < 44378d02c5aaae24b60a75fbbb539b4aa4db503d; dac7d4432b13d6b58923c1178b786bcda37c9e9e; e93384b12443c9bb6830b56b7d299beed432b865; f709f7b28d76de327373598a0fda9f9… Fixed in: Linux 5f4dfdf0077730e9d3ef5b37ceb17a5a56d6f34c, Linux 44378d02c5aaae24b60a75fbbb539b4aa4db503d Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-98954 being exploited?
There is no confirmed exploitation: CVE-2026-98954 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98954?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98954?
Linux >= d5be7f632bad0f489879eed0ff4b99bd7fe0b74c, < 5f4dfdf0077730e9d3ef5b37ceb17a5a56d6f34c; >= d5be7f632bad0f489879eed0ff4b99bd7fe0b74c, < 44378d02c5aaae24b60a75fbbb539b4aa4db503d; dac7d4432b13d6b58923c1178b786bcda37c9e9e; e93384b12443c9bb6830b56b7d299beed432b865; f709f7b28d76de327373598a0fda9f916c36b5e6; d996573ebd5c528c613e90b7e7daa961d58fa16e; c375152be9dd9d6fbf6ae5ac8be337d0590f192a; 0dab7eb86ea06ce8c530785f1999948c6f223c96; ea3fb2ce5fa794d02135f5c079e05cd6fc3f545d; 54ef8243c3c8e90f1ea5792e6752e021a25c8eb3; …; Linux 5.0.
Is there a fix for CVE-2026-98954?
Yes. Fixed in Linux 5f4dfdf0077730e9d3ef5b37ceb17a5a56d6f34c, Linux 44378d02c5aaae24b60a75fbbb539b4aa4db503d. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-98954?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.