{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "a2fb4bc4e2a6a031683910d85b278c1d25ae5420"
            },
            {
              "fixed": "87c69cfa32b8483cb9f05adff7603c32928302b8"
            },
            {
              "fixed": "c1771e1bacae3a727408ad01d8fcf40474e19565"
            },
            {
              "fixed": "73e08d50eb139e7329032c89a4cb105cf43ef278"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.17.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143401.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: virtio: validate outer protocol of UDP tunnel GSO packets\n\nvirtio_net_hdr_tnl_to_skb() trusts the virtio header to describe a\nUDP tunnel over IPv4 or IPv6, but never checks that the frame actually\ncarries such outer headers. Because VIRTIO_NET_HDR_F_NEEDS_CSUM is\nmandatory for tunnel GSO, __virtio_net_hdr_to_skb() skips the flow\ndissector, so virtio_net_hdr_match_proto() is never applied either.\n\nA guest (or a tap writer) can then inject a frame with an arbitrary\nouter ethertype, for example ETH_P_NSH, with SKB_GSO_UDP_TUNNEL set.\nThe GSO stack then runs nsh_gso_segment() on top of the UDP tunnel\nsegmentation, which assumes a different header layout. The result is\nsegments with skb-\u003edata before skb-\u003ehead, and a host crash in\nskb_under_panic() as soon as a later layer pushes a header:\n\n  skbuff: skb_under_panic: ... put:4 ... dev:gretap1\n  kernel BUG at net/core/skbuff.c:215!\n   skb_push\n   __gre_xmit\n   gre_tap_xmit\n   ...\n   tun_get_user\n\nValidate the outer headers with the parsing helpers from Michael's\nseries \"net: resolve uncommon partial checksums at ingress\":\n\n- locate the L3 header: Ethernet with optional VLAN tags, or the\n  network header set by the caller. skb-\u003eprotocol is not trusted when\n  it disagrees with the frame.\n- require the outer L3 protocol to match the declared tunnel type.\n- require the outer UDP header exactly at outer_th_offset, after IPv4\n  options or IPv6 extension headers, and reject fragments.\n\nUnlike the original helpers:\n\n- the callers tell whether the frame starts with an Ethernet header,\n  with a new has_eth argument of virtio_net_hdr_tnl_to_skb(), instead\n  of using the device type. tun frames packets from its IFF_TAP and\n  IFF_TUN flags, and TUNSETLINK can set the device type to any value.\n  virtio_net and tun_xdp_one() always pass true, tun_get_user() passes\n  whether the device is IFF_TAP.\n- ipv6_find_hdr() stops at an AH header, as Willem suggested in the\n  review of that series.",
  "id": "CVE-2026-143401",
  "modified": "2026-12-03T10:45:33.633564315Z",
  "published": "2026-12-03T09:22:40.735Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/73e08d50eb139e7329032c89a4cb105cf43ef278"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/87c69cfa32b8483cb9f05adff7603c32928302b8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c1771e1bacae3a727408ad01d8fcf40474e19565"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143401.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143401"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net: virtio: validate outer protocol of UDP tunnel GSO packets"
}