AZL-118322: CVE-2026-143201 affecting package kernel 6.6.161.1-1
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
Event History
Frequently Asked Questions
What network configuration is needed for exploitation?
The issue requires a device with no link-layer header, where hard_header_len is zero, such as an L3 GRE tunnel. GRO must process packets with different outer protocols that can remain eligible for the same flow.
What packet conditions are involved?
An attacker needs to supply crafted traffic that causes a held packet to be parsed by a GRO handler selected for a different protocol. The described example combines an IPv4/UDP packet with a VLAN/IPv4/TCP packet on the same ipgre device and relies on a short linear packet portion to reach a write into skb_shared_info.