CVE-2026-99636
publishednet: reject a negative TCP header offset in qdisc_pkt_len_segs_init()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5895cfc76924a629c6eaa5e5f049de642860045f to < 93c181f2d0e08c35be9be37db1722c1aae60ee95 · 7564dc804d8289d2e5c6edb8173754051b71bff4 to < d88be0067857b68df06a33cc056c9f05101c09d4 · 7fb4c19670110f052c04e1ec1d2b953b9f4f57e4 to < 765af9e95c840fcbbecf34ca1e787daba8eac569 · 7fb4c19670110f052c04e1ec1d2b953b9f4f57e4 to < 35d2d6e5ac0d22428b2a0216061f3330c095393c · 9d4f5c68f5ad4ab425f3ce1500c97c9f9743999a · 6.6.160 to < 6.6.163 · 6.12.114 to < 6.12.118 · 7.0.10 to < 7.1 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: net: reject a negative TCP header offset in qdisc_pkt_len_segs_init() 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. Further below zero pskb_may_pull() fails. Commit 28a57fb2c5df ("net: iptunnel: fix stale transport header during tunnel decapsulation") fixed one source of such offsets. Other code that removes bytes from the front of a packet can leave the same stale header. Return SKB_DROP_REASON_SKB_BAD_GSO for a negative offset in the TCP branch. SKB_GSO_UDP_L4 and the other GSO types read no header and still get a wrong qdisc_pkt_len(). On a 64-bit kernel only packets that cause the read after the skb today get a new result. Then __dev_queue_xmit() drops them and returns -EINVAL, but sch_handle_ingress() ignores the result. Their content can be valid. Thus the code that leaves the header stale needs its own fix.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5895cfc76924a629c6eaa5e5f049de642860045f to < 93c181f2d0e08c35be9be37db1722c1aae60ee95 (affected · git)7564dc804d8289d2e5c6edb8173754051b71bff4 to < d88be0067857b68df06a33cc056c9f05101c09d4 (affected · git)7fb4c19670110f052c04e1ec1d2b953b9f4f57e4 to < 765af9e95c840fcbbecf34ca1e787daba8eac569 (affected · git)7fb4c19670110f052c04e1ec1d2b953b9f4f57e4 to < 35d2d6e5ac0d22428b2a0216061f3330c095393c (affected · git)9d4f5c68f5ad4ab425f3ce1500c97c9f9743999a (affected · git)6.6.160 to < 6.6.163 (affected · semver)6.12.114 to < 6.12.118 (affected · semver)7.0.10 to < 7.1 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 7.1 (affected)0 to < 7.1 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
net: reject a negative TCP header offset in qdisc_pkt_len_segs_init()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f05fc6192f1a8bc44257987769d3e988d8db2c2bb46f19ef18bd97619c22e91b
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record