CVE-2026-143136

Not scored yetLast modified Dec 3, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

net: gro: invalidate frag0 after a pull

Since commit bd56a29c7a4e ("net: gro: change skb_gro_network_header()"), skb_gro_header_slow() no longer invalidates NAPI_GRO_CB(skb)->frag0 after pskb_may_pull(). skb_gro_may_pull() keeps comparing against the frag0_len value set in skb_gro_reset_offset(), assuming that after a slow pull, all later accesses are beyond frag0_len.

This is not true:

- udp4_gro_receive() and udp6_gro_receive() read the network header with skb_gro_network_header() after udp_gro_udphdr() pulled the UDP header.

- vxlan_gro_receive() calls skb_gro_remcsum_cleanup() at a lower offset after the inner handlers pulled their headers.

- skb_gro_remcsum_process() can pull beyond the inner Ethernet header before eth_gro_receive() reads it.

- napi_frags_skb() calls __skb_pull(skb, ETH_HLEN) after a slow pull, so frag0 still points to the Ethernet header.

If the pull consumed the first page fragment, __skb_pull_tail() released it. If the head had to grow, pskb_expand_head() freed the old one. These reads, and the 2-byte write in skb_gro_remcsum_cleanup(), then access memory the skb no longer holds a reference on.

esp4_gro_receive(), esp6_gro_receive(), skb_gro_receive_list() and udp_gro_receive_segment() also pull directly and never invalidated frag0.

Add skb_gro_frag0_invalidate(), which only clears frag0_len, and call it before each of these pulls. This is a single store in the slow path, and frag0 stays non NULL, so skb_gro_network_header() does not need a NULL test.

frag0 must be invalidated even if the pull fails: __pskb_pull_tail() can return NULL after pskb_expand_head() freed the old head, for instance if a frag_list member has to be cloned or pulled.

As frag0 is now invalidated before a pull that can fail, gro_try_pull_from_frag0() can see an skb whose linear part does not cover skb_gro_offset() while frag0 still points to the start of the packet, for instance after skb_gro_remcsum_cleanup() pulled a shorter length. Copying from frag0 would then corrupt the headers: only use frag0 while frag0_len is not zero, and use pskb_may_pull() otherwise. If this pull fails, for instance after a failed pskb_pull() in esp4_gro_receive(), do not hold the packet: later GRO lookups and gro_complete() handlers expect its headers in the linear part.

This was found by Taesoo Kim and Cen Zhang, using LLM assisted code analysis, and confirmed with reproducers.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143137In the Linux kernel, the following vulnerability has been resolved: net: gro: do not undo remote checksum offload on merged packets skb_grCVE-2026-143138In the Linux kernel, the following vulnerability has been resolved: net: gro: avoid parsing headers from shared fragments When an skb has CVE-2026-143139In the Linux kernel, the following vulnerability has been resolved: hv_sock: Report no unread data before a channel is available The HyperCVE-2026-143145.3The PeproDev WooCommerce Receipt Uploader WordPress plugin through 2.8.0 does not verify that a requested attachment belongs to the order reCVE-2026-143140In the Linux kernel, the following vulnerability has been resolved: hv_netvsc: Stop PPI parsing on invalid metadata rndis_get_ppi() uses cCVE-2026-143141In the Linux kernel, the following vulnerability has been resolved: gtp: free the skb after handling an echo response gtp0_handle_echo_resCVE-2026-143142In the Linux kernel, the following vulnerability has been resolved: ipvs: fix protocol data lifetime during namespace teardown IPVS frees CVE-2026-143143In the Linux kernel, the following vulnerability has been resolved: ipvs: Defer application parent freeing until after RCU readers unregisCVE-2026-143144In the Linux kernel, the following vulnerability has been resolved: ipv6: reject routes without an inet6_dev ip6_route_output() and ip6_roCVE-2026-143145In the Linux kernel, the following vulnerability has been resolved: ipv6: fix cached route reuse for control messages A connected IPv6 UDPCVE-2026-143146In the Linux kernel, the following vulnerability has been resolved: ipv4: fib_trie: prevent speculative out-of-bounds child access fib_tabCVE-2026-143147In the Linux kernel, the following vulnerability has been resolved: ipv4: keep XFRM headers out of corked skb lengths __ip_append_data() a
CVE-2026-143136: Unscored | Vulnix