{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-99636",
  "modified": "2026-11-24T05:30:02Z",
  "upstream": [
    "CVE-2026-99636"
  ],
  "published": "2026-11-20T05:52:17Z",
  "summary": "net: reject a negative TCP header offset in qdisc_pkt_len_segs_init()",
  "details": "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.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.12.115-1+rpt1"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.12.115+rpt-rpi-2712",
            "binary_version": "1:6.12.115-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.12.115+rpt-rpi-v6",
            "binary_version": "1:6.12.115-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.12.115+rpt-rpi-v7",
            "binary_version": "1:6.12.115-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.12.115+rpt-rpi-v7l",
            "binary_version": "1:6.12.115-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.12.115+rpt-rpi-v8",
            "binary_version": "1:6.12.115-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.12.115+rpt-rpi-v8-rt",
            "binary_version": "1:6.12.115-1+rpt1"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.12.115-1+rpt1": {
            "linux_commit": "2569533d6c33c15231fbc21704c87fcebc67173c",
            "upstream_version": "6.12.115",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.12.118"
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-99636"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/93c181f2d0e08c35be9be37db1722c1aae60ee95"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d88be0067857b68df06a33cc056c9f05101c09d4"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/765af9e95c840fcbbecf34ca1e787daba8eac569"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/35d2d6e5ac0d22428b2a0216061f3330c095393c"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-11-23T08:12:11Z"
  }
}
