{"id":"CVE-2026-143201","state":"PUBLISHED","title":"net: gro: compare skb->protocol in gro_list_prepare()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: gro: compare skb->protocol in gro_list_prepare()\n\ngro_list_prepare() checks whether a held packet may belong to the same\nflow as the incoming one by comparing the device, VLAN tag, metadata\nand the link-layer header, using dev->hard_header_len as its length.\n\nOn devices without a link-layer header (hard_header_len == 0), such as\nL3 GRE tunnels, no compared byte carries the outer protocol:\nskb->protocol comes from the tunnel header. Packets of different\nprotocols can then stay eligible, and the GRO handler selected from the\nincoming skb->protocol parses the held packet with the wrong layout.\n\nFor example, take an IPv4/UDP packet held by UDP GRO and a\nVLAN/IPv4/TCP packet received on the same ipgre device.\nvlan_gro_receive() reads the first four bytes of the held IPv4 header\nas a VLAN header. With crafted values, the held packet survives up to\ntcp_gro_receive(), which uses its UDP header as a TCP header. With a\nshort linear part, the FIN/PSH update of the held packet's TCP flags\ncan then write into skb_shared_info.\n\nThe VLAN, GRE, IPv4 and IPv6 GRO handlers compare the next-protocol\nfield of their own header, so once the outer protocol matches, the\ninner layers are checked too. Only the outermost protocol was not\ncompared.\n\nCompare skb->protocol too. On Ethernet devices this is redundant with\ncompare_ether_header(), but it is cheap.\n\nGUE direct IP encapsulation has a similar issue, but there both packets\nhave the same outer protocol, so it is fixed separately in\ngue_gro_receive().","publishedAt":"2026-12-03T09:20:26.348Z","updatedAt":"2026-12-03T09:20:26.348Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"60769a5dcd8755715c7143b4571d5c44f01796f1","status":"affected","lessThan":"31612541338b2d910fd408cdbec1ff3a5a761db5","versionType":"git"},{"version":"60769a5dcd8755715c7143b4571d5c44f01796f1","status":"affected","lessThan":"dbc786eeb4d0177e229acc47f120ed5cad632e32","versionType":"git"},{"version":"60769a5dcd8755715c7143b4571d5c44f01796f1","status":"affected","lessThan":"7e2659b28af6b6b644cc2d861fb89e662c6cf8dd","versionType":"git"},{"version":"60769a5dcd8755715c7143b4571d5c44f01796f1","status":"affected","lessThan":"511582022bfd07475d0daa209e6e6aa5a940740d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/gro.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.7","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/gro.c"]}],"references":["https://git.kernel.org/stable/c/31612541338b2d910fd408cdbec1ff3a5a761db5","https://git.kernel.org/stable/c/dbc786eeb4d0177e229acc47f120ed5cad632e32","https://git.kernel.org/stable/c/7e2659b28af6b6b644cc2d861fb89e662c6cf8dd","https://git.kernel.org/stable/c/511582022bfd07475d0daa209e6e6aa5a940740d"],"weaknesses":[],"ingestedAt":"2026-12-03T09:40:06.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143201.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143201","state":"PUBLISHED","datePublished":"2026-12-03T09:20:26.348Z","dateUpdated":"2026-12-03T09:20:26.348Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.359Z"},"containers":{"cna":{"title":"net: gro: compare skb->protocol in gro_list_prepare()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: gro: compare skb->protocol in gro_list_prepare()\n\ngro_list_prepare() checks whether a held packet may belong to the same\nflow as the incoming one by comparing the device, VLAN tag, metadata\nand the link-layer header, using dev->hard_header_len as its length.\n\nOn devices without a link-layer header (hard_header_len == 0), such as\nL3 GRE tunnels, no compared byte carries the outer protocol:\nskb->protocol comes from the tunnel header. Packets of different\nprotocols can then stay eligible, and the GRO handler selected from the\nincoming skb->protocol parses the held packet with the wrong layout.\n\nFor example, take an IPv4/UDP packet held by UDP GRO and a\nVLAN/IPv4/TCP packet received on the same ipgre device.\nvlan_gro_receive() reads the first four bytes of the held IPv4 header\nas a VLAN header. With crafted values, the held packet survives up to\ntcp_gro_receive(), which uses its UDP header as a TCP header. With a\nshort linear part, the FIN/PSH update of the held packet's TCP flags\ncan then write into skb_shared_info.\n\nThe VLAN, GRE, IPv4 and IPv6 GRO handlers compare the next-protocol\nfield of their own header, so once the outer protocol matches, the\ninner layers are checked too. Only the outermost protocol was not\ncompared.\n\nCompare skb->protocol too. On Ethernet devices this is redundant with\ncompare_ether_header(), but it is cheap.\n\nGUE direct IP encapsulation has a similar issue, but there both packets\nhave the same outer protocol, so it is fixed separately in\ngue_gro_receive()."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"60769a5dcd8755715c7143b4571d5c44f01796f1","status":"affected","lessThan":"31612541338b2d910fd408cdbec1ff3a5a761db5","versionType":"git"},{"version":"60769a5dcd8755715c7143b4571d5c44f01796f1","status":"affected","lessThan":"dbc786eeb4d0177e229acc47f120ed5cad632e32","versionType":"git"},{"version":"60769a5dcd8755715c7143b4571d5c44f01796f1","status":"affected","lessThan":"7e2659b28af6b6b644cc2d861fb89e662c6cf8dd","versionType":"git"},{"version":"60769a5dcd8755715c7143b4571d5c44f01796f1","status":"affected","lessThan":"511582022bfd07475d0daa209e6e6aa5a940740d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/gro.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.7","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/gro.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/31612541338b2d910fd408cdbec1ff3a5a761db5"},{"url":"https://git.kernel.org/stable/c/dbc786eeb4d0177e229acc47f120ed5cad632e32"},{"url":"https://git.kernel.org/stable/c/7e2659b28af6b6b644cc2d861fb89e662c6cf8dd"},{"url":"https://git.kernel.org/stable/c/511582022bfd07475d0daa209e6e6aa5a940740d"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:20:26.348Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}