{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143201","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.359Z","datePublished":"2026-12-03T09:20:26.348Z","dateUpdated":"2026-12-04T03:30:46.198Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-04T03:30:46.198Z"},"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()."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","baseScore":7.4,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - A remote IP protocol 47 packet reaches gre_rcv(), ipgre_rcv(), and __ipgre_rcv(); __iptunnel_pull_header() stores the GRE Protocol Type in skb->protocol and ip_tunnel_rcv() calls gro_cells_receive(). gro_cell_poll() then enters gro_list_prepare() through napi_gro_receive() and dev_gro_receive(). That Protocol Type and the inner headers are the attacker-controlled bytes.\nAC:H - On an ipgre device, ipgre_tunnel_init() leaves hard_header_len at 0, so gro_list_prepare() keeps same_flow across protocols. The UDP skb is held only when udp_gro_receive() calls udp_gro_receive_segment(), which needs NETIF_F_GRO_UDP_FWD, NETIF_F_GRO_FRAGLIST (both NETIF_F_SOFT_FEATURES_OFF), or UDP_GRO. The sender cannot set those, and tcp_flag_word() reaches skb_shared_info only if that skb's tailroom is already a few bytes.\nPR:N - gre_rcv() and ip_tunnel_lookup() accept a packet from the configured remote, or from any source when the up device is collect_md, and neither gre_rcv() nor ip_tunnel_rcv() calls capable() before gro_cells_receive().\nUI:N - The attacker sends both GRE packets. vlan_gro_receive() and tcp_gro_receive() run in gro_cell_poll() as those packets arrive; no mount, open, or other local action is required.\nS:U - The same_flow confusion and the tcp_flag_word() store happen in the receiving host's skb during GRO on the ipgre netdev. They do not cross a KVM, Xen, or IOMMU boundary.\nC:N - vlan_gro_receive(), inet_gro_receive(), and tcp_gro_receive() fold the misread header bytes only into the local flush flag. Nothing copies them to recvmsg, an ICMP error, or a reply header.\nI:H - vlan_gro_receive() leaves same_flow set, so tcp_gro_receive() treats the held packet's UDP header as a tcphdr and executes tcp_flag_word(th2) |= FIN|PSH. inet_gro_receive() had set transport_header to that UDP header, and the 4-byte OR lands 4 bytes past it, which can set nr_frags in skb_shared_info.\nA:H - skb_release_data() walks the corrupted nr_frags and __skb_frag_unref() calls put_page() on a zeroed frag. page_folio(NULL) in that free path oopses the gro_cell_poll() softirq."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/gro.c"],"versions":[{"version":"60769a5dcd8755715c7143b4571d5c44f01796f1","lessThan":"31612541338b2d910fd408cdbec1ff3a5a761db5","status":"affected","versionType":"git"},{"version":"60769a5dcd8755715c7143b4571d5c44f01796f1","lessThan":"dbc786eeb4d0177e229acc47f120ed5cad632e32","status":"affected","versionType":"git"},{"version":"60769a5dcd8755715c7143b4571d5c44f01796f1","lessThan":"7e2659b28af6b6b644cc2d861fb89e662c6cf8dd","status":"affected","versionType":"git"},{"version":"60769a5dcd8755715c7143b4571d5c44f01796f1","lessThan":"511582022bfd07475d0daa209e6e6aa5a940740d","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/gro.c"],"versions":[{"version":"3.7","status":"affected"},{"version":"0","lessThan":"3.7","status":"unaffected","versionType":"semver"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","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":"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"}]}]}],"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"}],"title":"net: gro: compare skb->protocol in gro_list_prepare()","x_generator":{"engine":"bippy-1.2.0"}}}}