CVE-2026-99636: Linux kernel reads a TCP header far past a packet when a stale transport offset is negative, and a 64-bit host crashes

ByLinuxtastic

December 1, 2026 #CVE, #Linux Kernel

Before a GSO packet is queued for transmission the kernel works out how many segments it will become and how much header each carries, and qdisc_pkt_len_segs_init() reads the TCP header to do it. The kernel CNA record describes an offset it should not have trusted: “qdisc_pkt_len_segs_init() stores skb_transport_offset(), or the inner offset, in the unsigned hdr_len. A header in front of skb->data gives a negative offset. For an offset a little below zero, pskb_may_pull() gets a small length and succeeds. Then a 64-bit kernel reads the TCP header far after the skb and can crash.” Red Hat rates it Important at 7.5 as a remote, unauthenticated denial of service; Ubuntu Medium; SUSE Important with no score yet. If a host runs a 6.6, 6.12 or 7.x kernel and forwards or terminates tunnelled traffic, upgrade it to a kernel at or above 6.6.163, 6.12.118 or 7.3.5 and reboot; 6.1 and older are not in range.

CVE-2026-99636 at a glance.

ComponentLinux kernel, the core network transmit path: qdisc_pkt_len_segs_init() in net/core/dev.c, the GSO branch for SKB_GSO_TCPV4 and SKB_GSO_TCPV6
Affected versionsmainline 7.1 up to 7.4-rc2 (from commit 7fb4c196, “net: pull headers in qdisc_pkt_len_segs_init()”), and the stable series that took that commit as a backport: 6.6.160 up to 6.6.163, 6.12.114 up to 6.12.118, 7.0.10 up to 7.1; 7.3.x below 7.3.5. Kernels before 6.6.160, including every 6.1 and 5.x, do not have the function in this form
Fixed inmainline 7.4-rc2 (commit 35d2d6e5, the one Debian and Ubuntu cite) and stable 6.6.163, 6.12.118, 7.3.5; four fix commits in the record. The fix drops a packet with a negative offset in the TCP branch with SKB_DROP_REASON_SKB_BAD_GSO; three lines changed in one file
SeverityRed Hat Important, CVSS 3.1 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), CWE-125, score marked draft; Ubuntu Medium; SUSE Important, no SUSE score and every product in Analysis on 1 December; the kernel CNA gives no score and NVD is Received with no score, CWE or CPE
Exploited in the wildNot on the CISA KEV catalogue (2026.11.30). EPSS 0.00167 (6th percentile) on 1 December 2026 (the EPSS entry is dated 22 November)
Who is exposedHosts on an affected kernel that transmit GSO TCP packets whose transport header pointer was left stale by code that removed bytes from the front of the packet, which the record describes as tunnel decapsulation and “other code that removes bytes from the front of a packet”. Red Hat’s statement: “an unauthenticated remote attacker can trigger kernel crash; standard interfaces process these packets by default; no special config/privileges”. The record names one such source already fixed separately (commit 28a57fb2, the IP tunnel case) and says others exist; this fix is the backstop in the transmit path, and the read only occurs on 64-bit kernels
PublishedCVE record 20 November 2026 (kernel CNA, updated 23 November with the stable backports); this page built 1 December 2026, last updated 1 December 2026

What it is

A GSO packet is one large skb that the driver or the software segmenter will split into MTU-sized frames; to charge the queue correctly the queueing layer needs the segment count and the per-segment header length, and since 7.1 qdisc_pkt_len_segs_init() pulls and reads the TCP header to get them. It took the header’s position from skb_transport_offset(), or the inner offset for encapsulated packets, and stored it in hdr_len, which is unsigned. The transport header pointer is set when a packet is parsed on receive; when a later stage strips an outer header off the front of the packet and moves skb->data forward without resetting it, the pointer now sits before the data, and the offset is negative. Stored unsigned, a small negative number is a very large positive one, but as the record notes, pskb_may_pull() is given hdr_len + sizeof(struct tcphdr), which wraps to a small value and succeeds, and the following read of the TCP header at that offset lands, on a 64-bit kernel, far beyond the packet.

The record is careful about what the fix does and does not do. It adds, in the TCP branch, a check that the offset is not negative, returning SKB_DROP_REASON_SKB_BAD_GSO if it is, so the packet is dropped rather than parsed. For a UDP GSO packet or the other GSO types no header is read, so there is no crash, but the computed length is still wrong; and a drop from __dev_queue_xmit() returns -EINVAL to the caller while sch_handle_ingress() ignores that result, so some packets with valid content are now dropped where they used to be mis-sized. The record’s last sentence is the one to keep: “the code that leaves the header stale needs its own fix”. One such source was fixed in commit 28a57fb2, the IP tunnel decapsulation case; this change catches the rest at the point where they would crash the host.

The fix on GitHub, by Alexei Starovoitov and committed by Paolo Abeni, reviewed by Eric Dumazet and acknowledged by Michael S. Tsirkin, is three lines: a comment that a header in front of skb->data gives a negative offset, and (int)hdr_len < 0 || in front of the existing pull test. git.kernel.org and lore.kernel.org refused our reader, and GitHub rate-limited the mainline page, so the commit was read from the gregkh mirror of the same hash. The affected range is narrower than most kernel records: the function was reworked in 7.1 and that rework was backported into 6.6 and 6.12 late in their lives, so a host on 6.1 or an older 6.6 is not in range, which is why Debian marks bookworm not affected and Ubuntu 22.04 the same.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one. The vulnerable code arrived in 7.1 and was backported into late 6.6 and 6.12, so the 6.1 kernels of Debian bookworm and the 5.15 and 6.8 kernels of Ubuntu 22.04 and 24.04 GA are out of range; Debian’s DSA-6652-1 for trixie had the fix out on 1 December.

DistributionStatusFixed package
AlpineNot consulted for this page—
Debianbookworm (6.1.192-3) not affected (“vulnerable code not present”); fixed in trixie-security (6.12.118-1, DSA-6652-1), forky and sid (7.3.6-1); trixie (6.12.117-1) vulnerabletrixie 6.12.118-1 (DSA-6652-1); unstable 7.3.5-1; bookworm not affected
UbuntuMedium; linux needed in 26.04 LTS and 24.04 LTS (and the 6.11, 6.14 and 6.17 HWE and cloud kernels on 22.04 and 24.04), pending in 26.10 (7.3.0-12.13); 22.04 and older on their GA kernels not affected; some FIPS and nvidia kernels in progress; no USNnothing released on 1 December 2026
RHEL, Rocky, Alma, CentOS StreamImportant, 7.5, CWE-125 (bug 2577666, “Denial of Service via negative TCP header offset”); RHEL 8, 9 and 10 kernels and RHEL 6 affected per the page, RHEL 7 and the RHEL 9 realtime kernel not affected; OpenShift CoreOS 9 and 10 images affected; no errata on 1 Decembernot yet
openSUSE/SLEImportant, no SUSE score, no bug cross-referenced; every listed product, SLE 15 SP7, 16.0, 16.1, Micro, Leap 16.x and the LTSS lines, in state Analysis on 1 Decembernothing on 1 December 2026
Fedora, Arch; self-built kernelsNot consulted; upstream stable versions apply6.6.163 / 6.12.118 / 7.3.5 or later

How to check

Two questions after the kernel version: is this kernel in the narrow affected range at all, and does the host do the kind of decapsulation that leaves a transport header stale. The first rules most hosts in or out on its own; the second is the record’s precondition, and it is the one a host cannot fully answer for itself, since the record says other sources of stale headers exist.

# 1. the running kernel: in range only if 6.6.160+, 6.12.114+, 7.0.10+ or 7.1 to 7.3.4 (fixed: 6.6.163, 6.12.118, 7.3.5)
uname -r
# the function in this form is the precondition; a kernel with symbols can confirm it is present
grep -c qdisc_pkt_len_segs_init /proc/kallsyms 2>/dev/null

# 2. tunnel and encapsulation interfaces that strip headers on receive and forward the result
ip -d link show | grep -E 'gre|ipip|sit|vxlan|geneve|ip6tnl|wireguard|ipsec|xfrm' | head
ip xfrm policy 2>/dev/null | head -5
# GSO on the egress interfaces (the read happens on a GSO TCP packet being queued)
for i in $(ls /sys/class/net | grep -v lo); do echo "$i: $(ethtool -k $i 2>/dev/null | grep -E 'generic-segmentation-offload|tcp-segmentation-offload' | tr '\n' ' ')"; done

A kernel at or above the fixed stable version for its series is done, and a kernel below the range, 6.1, 6.8, 5.15, an early 6.6 or 6.12, never had the function in this form and is not affected whatever it forwards. A host in range that terminates or forwards tunnels is the record’s case; a host in range that does neither is still in range by the record’s “other code” sentence and Red Hat’s “standard interfaces process these packets by default”, so the version is the thing to act on. A crash looks like a kernel oops with qdisc_pkt_len_segs_init or __dev_queue_xmit in the trace; on the fixed kernel the same packet is counted instead, so SKB_BAD_GSO rising in the drop monitor is the new sign of the stale-header source the record says still needs its own fix.

# on a fixed kernel, the packets this check now drops are visible as a drop reason
perf trace -e skb:kfree_skb --filter 'reason == SKB_DROP_REASON_SKB_BAD_GSO' 2>/dev/null | head
# or, with dropwatch / nstat, watch for the counter moving while tunnelled traffic flows
nstat -az 2>/dev/null | grep -iE 'OutDiscards|TxDrop' | head

A hit on the fixed kernel is not an attack indicator but a diagnostic: it names a path on this host that leaves the transport header stale and would have crashed the unfixed kernel, and it is worth reporting upstream with the interface type, since the record says those paths need fixes of their own. On an unfixed kernel there is nothing to watch for except the crash.

How to fix it

Install the fixed kernel and reboot; the queueing layer is in the running kernel. Debian trixie had DSA-6652-1 out on 1 December and bookworm is not affected; Ubuntu, Red Hat and SUSE were pending.

# Debian trixie (DSA-6652-1) / forky / sid
apt update && apt install linux-image-amd64 && systemctl reboot       # or linux-image-arm64
# Ubuntu, RHEL family, SUSE: when the pending builds land
apt update && apt full-upgrade && systemctl reboot
dnf upgrade kernel && systemctl reboot
zypper patch && systemctl reboot
uname -r

There is no sysctl that disables the header read, and turning off GSO on every interface to avoid it is a throughput change on a forwarding host that is larger than the reboot it replaces; the record does not offer it as a mitigation and neither does this page. What not to do: do not conclude from “tunnel decapsulation” that a host without tunnels is safe, because the record says other paths leave the same stale header and does not list them; and do not read the narrow version range as “old kernels are fine” without checking the exact point release, since 6.6 and 6.12 took the vulnerable rework late.

Sources

  • CVE-2026-99636 at CVE.org — the kernel CNA record (20 November 2026, updated 23 November): the commit message with the negative-offset and 64-bit sentences, the note on UDP and the other GSO types, and “the code that leaves the header stale needs its own fix”, the git and version ranges, net/core/dev.c
  • Fix commits on git.kernel.org: 35d2d6e5 (mainline, 7.4-rc2) and the backports 93c181f2, d88be006, 765af9e9; git.kernel.org refuses automated readers, so the mainline commit was read on GitHub: Alexei Starovoitov, committed by Paolo Abeni, reviewed by Eric Dumazet, the Fixes: 7fb4c196 tag and the (int)hdr_len < 0 test (read on the gregkh mirror after the torvalds page rate-limited)
  • NVD entry — Received on 20 November 2026; no NVD score, CWE or CPE on 1 December
  • Distribution trackers: Debian (bookworm not affected, trixie 6.12.118-1 fixed by DSA-6652-1) · Ubuntu (Medium; needed in 26.04 and 24.04, 22.04 not affected) · Red Hat (Important 7.5, CWE-125, RHEL 8–10 affected, no errata; bug 2577666) · SUSE (Important, no score, all products in Analysis)
  • CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00167 (percentile 0.059) on 1 December 2026

Related reading

This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.