CVE-2026-23254

Source
https://cve.org/CVERecord?id=CVE-2026-23254
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23254.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-23254
Downstream
Published
2026-03-18T17:41:00.591Z
Modified
2026-04-02T13:12:18.271724Z
Summary
net: gro: fix outer network offset
Details

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, udp4grocomplete() 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 udpgrocomplete().

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23254.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
af276a5ac8e938c8b058e3e124073cc1e322d98b
Fixed
9d40a85138568696387ef04cd004c64612a70874
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5ef31ea5d053a8f493a772ebad3f3ce82c35d845
Fixed
b83557bc6f560433fe5d727e241069f8db5ba709
Fixed
2e5edb69e5d0e23ef248c56fc977039268c77a7b
Fixed
5c2c3c38be396257a6a2e55bd601a12bb9781507
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
dbd9466d323a72e22efe09151253d195d36d3bf6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23254.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.6.124
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.70
Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.18.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23254.json"