{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143401","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.373Z","datePublished":"2026-12-03T09:22:40.735Z","dateUpdated":"2026-12-03T09:22:40.735Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-03T09:22:40.735Z"},"descriptions":[{"lang":"en","value":"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->data before skb->head, 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->protocol 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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/tun.c","drivers/net/tun_vnet.h","drivers/net/virtio_net.c","include/linux/virtio_net.h"],"versions":[{"version":"a2fb4bc4e2a6a031683910d85b278c1d25ae5420","lessThan":"87c69cfa32b8483cb9f05adff7603c32928302b8","status":"affected","versionType":"git"},{"version":"a2fb4bc4e2a6a031683910d85b278c1d25ae5420","lessThan":"c1771e1bacae3a727408ad01d8fcf40474e19565","status":"affected","versionType":"git"},{"version":"a2fb4bc4e2a6a031683910d85b278c1d25ae5420","lessThan":"73e08d50eb139e7329032c89a4cb105cf43ef278","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/tun.c","drivers/net/tun_vnet.h","drivers/net/virtio_net.c","include/linux/virtio_net.h"],"versions":[{"version":"6.17","status":"affected"},{"version":"0","lessThan":"6.17","status":"unaffected","versionType":"semver"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"7.4-rc3"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/87c69cfa32b8483cb9f05adff7603c32928302b8"},{"url":"https://git.kernel.org/stable/c/c1771e1bacae3a727408ad01d8fcf40474e19565"},{"url":"https://git.kernel.org/stable/c/73e08d50eb139e7329032c89a4cb105cf43ef278"}],"title":"net: virtio: validate outer protocol of UDP tunnel GSO packets","x_generator":{"engine":"bippy-1.2.0"}}}}