CVE-2026-23254

net: gro: fix outer network offset

State
Published
Severity
Not scored
Published
Mar 18, 2026
Updated
May 23, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

Description

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

net: gro: fix outer network offset

The udp GRO complete stage assumes that all the packets inserted the RX have the `encapsulation` flag zeroed. Such assumption is not true, as a few H/W NICs can set such flag when H/W offloading the checksum for an UDP encapsulated traffic, the tun driver can inject GSO packets with UDP encapsulation and the problematic layout can also be created via a veth based setup.

Due to the above, in the problematic scenarios, udp4_gro_complete() uses the wrong network offset (inner instead of outer) to compute the outer UDP header pseudo checksum, leading to csum validation errors later on in packet processing.

Address the issue always clearing the encapsulation flag at GRO completion time. Such flag will be set again as needed for encapsulated packets by udp_gro_complete().

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • af276a5ac8e938c8b058e3e124073cc1e322d98b to before 9d40a85138568696387ef04cd004c64612a70874Affected
  • 5ef31ea5d053a8f493a772ebad3f3ce82c35d845 to before b83557bc6f560433fe5d727e241069f8db5ba709Affected
  • 5ef31ea5d053a8f493a772ebad3f3ce82c35d845 to before 2e5edb69e5d0e23ef248c56fc977039268c77a7bAffected
  • 5ef31ea5d053a8f493a772ebad3f3ce82c35d845 to before 5c2c3c38be396257a6a2e55bd601a12bb9781507Affected
  • dbd9466d323a72e22efe09151253d195d36d3bf6Affected
  • 6.6.31 to before 6.6.124Affected
  • 6.8.10 to before 6.9Affected
LinuxLinux
  • 6.9Affected
  • before 6.9Not affected
  • 6.6.124 through 6.6.*Not affected
  • 6.12.70 through 6.12.*Not affected
  • 6.18.10 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.