CVE-2026-139100

gro: do not GRO GSO packets with inconsistent payload

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

gro: do not GRO GSO packets with inconsistent payload

tcp_gro_receive() excludes empty non-GSO packets with the unsigned
len - 1 check, but its GSO branch only checks that gso_size matches
the held packet's MSS. A trusted TCP GSO skb can reach GRO again with
no payload after TC pedit increases its TCP data offset.

If the skb is fully linear, skb_gro_receive() then enters its fragment
transfer path with nr_frags == 0. The do-while loop copies skb_frag_t
entries backwards beyond both fragment arrays. An unprivileged process
using its own user and network namespaces can trigger a KASAN
slab-out-of-bounds write and panic through veth, pedit and GRE.

More generally, the payload of such a packet can be shrunk to any
value, making it inconsistent with its gso_segs, and a GSO packet
with gso_segs == 0 contributes no segment to the GRO packet.

Do not aggregate GSO packets with gso_segs == 0, and require the
payload of GSO packets to be consistent with gso_segs and gso_size,
the last segment being allowed to be short. This rejects the empty
skb before either TCP merge helper, and covers both IPv4 and IPv6.

[edumazet: check payload against gso_segs, refuse gso_segs == 0]

Analysis

AI-generated

Technical impact

In Linux kernel versions before the recent fix, a trusted TCP GSO socket can reach the Generic Receive Offload (GRO) path with a packet whose TCP data offset has been altered by tools such as TC pedit, resulting in an empty payload. The GRO/GSO merge code incorrectly assumes the underlying socket buffer has a payload length that matches its gso_size and gso_segs fields. When this assumption is violated, skb_gro_receive performs a back‑wards fragment copy loop that reads past the end of the fragment array, causing an out‑of‑bounds write. The kernel’s address sanitizer reports the fault, and the resulting memory corruption can lead to a panic, which provides an attacker an unprivileged process in its own or shared network namespace the opportunity to gain kernel execution or privilege escalation.

Affected Systems

All Linux kernel distributions running a kernel older than the commit that introduced the skb_gro_receive patch are affected. The issue originates in the generic network stack code that is present in all mainstream distributions’ kernels. No specific vendor version list is provided, but the patch was included in recent kernel releases; therefore any system using a kernel from a distribution’s release prior to those updates is vulnerable.

Risk and Exploitability

The flaw involves out‑of‑bounds memory modification within kernel space, a high‑severity class of vulnerability. The CVSS score is not disclosed, but the presence of a KASAN trigger and the potential to force a kernel panic suggest a severe impact. Since the exploit requires a crafted TCP packet that traverses the GRO path, it can be performed by an unprivileged user within their own network namespace when tools such as veth, GRE, or tc pedit are available. The EPSS score is currently unavailable, and the vulnerability is not listed in CISA’s KEV catalog, indicating no confirmed public exploitation yet; however, the availability of a local attack vector and the possibility of privilege escalation warrant prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest patched Linux kernel version that includes the skb_gro_receive fix, which rejects GSO packets with gso_segs == 0 and validates payload consistency.
  • If an immediate kernel upgrade is not feasible, disable or restrict the use of packet manipulation utilities that can create the offending packets—such as tc pedit, GRE tunnels, or veth interfaces—until the patch is applied.
  • Continuously monitor kernel logs for KASAN reports or panic entries; if such events are detected, investigate the underlying traffic and apply the kernel update immediately.

Generated by OpenCVE AI on December 1, 2026 at 08:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: gro: do not GRO GSO packets with inconsistent payload tcp_gro_receive() excludes empty non-GSO packets with the unsigned len - 1 check, but its GSO branch only checks that gso_size matches the held packet's MSS. A trusted TCP GSO skb can reach GRO again with no payload after TC pedit increases its TCP data offset. If the skb is fully linear, skb_gro_receive() then enters its fragment transfer path with nr_frags == 0. The do-while loop copies skb_frag_t entries backwards beyond both fragment arrays. An unprivileged process using its own user and network namespaces can trigger a KASAN slab-out-of-bounds write and panic through veth, pedit and GRE. More generally, the payload of such a packet can be shrunk to any value, making it inconsistent with its gso_segs, and a GSO packet with gso_segs == 0 contributes no segment to the GRO packet. Do not aggregate GSO packets with gso_segs == 0, and require the payload of GSO packets to be consistent with gso_segs and gso_size, the last segment being allowed to be short. This rejects the empty skb before either TCP merge helper, and covers both IPv4 and IPv6. [edumazet: check payload against gso_segs, refuse gso_segs == 0]
Title gro: do not GRO GSO packets with inconsistent payload
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

No weakness.

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:31 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM