{"id":"CVE-2026-143201","summary":"net: gro: compare skb-\u003eprotocol in gro_list_prepare()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: gro: compare skb-\u003eprotocol 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-\u003ehard_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-\u003eprotocol comes from the tunnel header. Packets of different\nprotocols can then stay eligible, and the GRO handler selected from the\nincoming skb-\u003eprotocol 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-\u003eprotocol 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().","modified":"2026-12-03T11:01:38.004764992Z","published":"2026-12-03T09:20:26.348Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143201.json"},"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/31612541338b2d910fd408cdbec1ff3a5a761db5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/511582022bfd07475d0daa209e6e6aa5a940740d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e2659b28af6b6b644cc2d861fb89e662c6cf8dd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dbc786eeb4d0177e229acc47f120ed5cad632e32"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143201.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143201"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"60769a5dcd8755715c7143b4571d5c44f01796f1"},{"fixed":"31612541338b2d910fd408cdbec1ff3a5a761db5"},{"fixed":"dbc786eeb4d0177e229acc47f120ed5cad632e32"},{"fixed":"7e2659b28af6b6b644cc2d861fb89e662c6cf8dd"},{"fixed":"511582022bfd07475d0daa209e6e6aa5a940740d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143201.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.7.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143201.json"}}],"schema_version":"1.9.2"}