CVE-2026-143201: net: gro: compare skb->protocol in gro_list_prepare()
In the Linux kernel, the following vulnerability has been resolved:
net: gro: compare skb->protocol in grolistprepare()
grolistprepare() checks whether a held packet may belong to the same flow as the incoming one by comparing the device, VLAN tag, metadata and the link-layer header, using dev->hardheaderlen as its length.
On devices without a link-layer header (hardheaderlen == 0), such as L3 GRE tunnels, no compared byte carries the outer protocol: skb->protocol comes from the tunnel header. Packets of different protocols can then stay eligible, and the GRO handler selected from the incoming skb->protocol parses the held packet with the wrong layout.
For example, take an IPv4/UDP packet held by UDP GRO and a VLAN/IPv4/TCP packet received on the same ipgre device. vlangroreceive() reads the first four bytes of the held IPv4 header as a VLAN header. With crafted values, the held packet survives up to tcpgroreceive(), which uses its UDP header as a TCP header. With a short linear part, the FIN/PSH update of the held packet's TCP flags can then write into skbsharedinfo.
The VLAN, GRE, IPv4 and IPv6 GRO handlers compare the next-protocol field of their own header, so once the outer protocol matches, the inner layers are checked too. Only the outermost protocol was not compared.
Compare skb->protocol too. On Ethernet devices this is redundant with compareetherheader(), but it is cheap.
GUE direct IP encapsulation has a similar issue, but there both packets have the same outer protocol, so it is fixed separately in guegroreceive().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
In gro_list_prepare(), compare skb->protocol when determining whether a held packet matches the incoming packet.
Event History
Frequently Asked Questions
Which network configurations are exposed?
Systems using GRO on devices with no link-layer header, where hard_header_len is 0, are exposed. The description identifies L3 GRE tunnels, such as ipgre devices, as an example.
What traffic is needed to trigger the issue?
Packets from different protocols must be considered eligible for the same GRO flow on the affected device, causing a GRO handler selected for an incoming packet to parse a held packet using the wrong protocol layout. The described example combines a held IPv4/UDP packet with an incoming VLAN/IPv4/TCP packet on the same ipgre device, with crafted values allowing processing to reach the incorrect TCP parsing path.