{"id":"CVE-2026-99636","aliases":["CVE-2026-99636"],"related":[],"kind":"vulnerability","state":"published","title":"net: reject a negative TCP header offset in qdisc_pkt_len_segs_init()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: reject a negative TCP header offset in qdisc_pkt_len_segs_init()\n\nqdisc_pkt_len_segs_init() stores skb_transport_offset(), or the inner\noffset, in the unsigned hdr_len. A header in front of skb->data gives a\nnegative offset. For an offset a little below zero, pskb_may_pull() gets a\nsmall length and succeeds. Then a 64-bit kernel reads the TCP header far\nafter the skb and can crash. Further below zero pskb_may_pull() fails.\n\nCommit 28a57fb2c5df (\"net: iptunnel: fix stale transport header during\ntunnel decapsulation\") fixed one source of such offsets. Other code that\nremoves bytes from the front of a packet can leave the same stale header.\n\nReturn SKB_DROP_REASON_SKB_BAD_GSO for a negative offset in the TCP branch.\nSKB_GSO_UDP_L4 and the other GSO types read no header and still get a wrong\nqdisc_pkt_len(). On a 64-bit kernel only packets that cause the read after\nthe skb today get a new result. Then __dev_queue_xmit() drops them and\nreturns -EINVAL, but sch_handle_ingress() ignores the result. Their content\ncan be valid. Thus the code that leaves the header stale needs its own fix.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: reject a negative TCP header offset in qdisc_pkt_len_segs_init()\n\nqdisc_pkt_len_segs_init() stores skb_transport_offset(), or the inner\noffset, in the unsigned hdr_len. A header in front of skb->data gives a\nnegative offset. For an offset a little below zero, pskb_may_pull() gets a\nsmall length and succeeds. Then a 64-bit kernel reads the TCP header far\nafter the skb and can crash. Further below zero pskb_may_pull() fails.\n\nCommit 28a57fb2c5df (\"net: iptunnel: fix stale transport header during\ntunnel decapsulation\") fixed one source of such offsets. Other code that\nremoves bytes from the front of a packet can leave the same stale header.\n\nReturn SKB_DROP_REASON_SKB_BAD_GSO for a negative offset in the TCP branch.\nSKB_GSO_UDP_L4 and the other GSO types read no header and still get a wrong\nqdisc_pkt_len(). On a 64-bit kernel only packets that cause the read after\nthe skb today get a new result. Then __dev_queue_xmit() drops them and\nreturns -EINVAL, but sch_handle_ingress() ignores the result. Their content\ncan be valid. Thus the code that leaves the header stale needs its own fix.","source":"cvelist"}],"published":"2026-11-20T05:49:53.115Z","modified":"2026-11-23T08:18:05.203Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5895cfc76924a629c6eaa5e5f049de642860045f","fixed":"93c181f2d0e08c35be9be37db1722c1aae60ee95","status":"affected"},{"type":"git","introduced":"7564dc804d8289d2e5c6edb8173754051b71bff4","fixed":"d88be0067857b68df06a33cc056c9f05101c09d4","status":"affected"},{"type":"git","introduced":"7fb4c19670110f052c04e1ec1d2b953b9f4f57e4","fixed":"765af9e95c840fcbbecf34ca1e787daba8eac569","status":"affected"},{"type":"git","introduced":"7fb4c19670110f052c04e1ec1d2b953b9f4f57e4","fixed":"35d2d6e5ac0d22428b2a0216061f3330c095393c","status":"affected"},{"type":"git","version":"9d4f5c68f5ad4ab425f3ce1500c97c9f9743999a","status":"affected"},{"type":"semver","introduced":"6.6.160","fixed":"6.6.163","status":"affected"},{"type":"semver","introduced":"6.12.114","fixed":"6.12.118","status":"affected"},{"type":"semver","introduced":"7.0.10","fixed":"7.1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/93c181f2d0e08c35be9be37db1722c1aae60ee95","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d88be0067857b68df06a33cc056c9f05101c09d4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/765af9e95c840fcbbecf34ca1e787daba8eac569","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/35d2d6e5ac0d22428b2a0216061f3330c095393c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99636","url":"https://www.cve.org/CVERecord?id=CVE-2026-99636","licence":"CVE Terms of Use","modified":"2026-11-23T08:05:24.824Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99636","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99636","licence":"Public domain","modified":"2026-11-23T08:18:05.203Z"}],"updatedAt":"2026-11-25T22:59:52.289Z","epss":{"score":0.00201,"percentile":0.10491,"date":"2026-12-01T12:00:22.000Z"}}