5.5medium
net: gro: fix outer network offset
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.13% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from af276a5ac8e938c8b058e3e124073cc1e322d98b before 9d40a85138568696387ef04cd004c64612a70874, from 5ef31ea5d053a8f493a772ebad3f3ce82c35d845 before b83557bc6f560433fe5d727e241069f8db5ba709, from 5ef31ea5d053a8f493a772ebad3f3ce82c35d845 before 2e5edb69e5d0e23ef248c56fc977039268c77a7b, from 5ef31ea5d053a8f493a772ebad3f3ce82c35d845 before 5c2c3c38be396257a6a2e55bd601a12bb9781507, dbd9466d323a72e22efe09151253d195d36d3bf6, from 6.6.31 before 6.6.124, from 6.8.10 before 6.9, 6.9 Not affected: before 6.9, from 6.6.124 up to 6.6.*, from 6.12.70 up to 6.12.*, from 6.18.10 up to 6.18.*, from 6.19 up to * | CVE List |
| linux linux_kernel | from 6.6.31 before 6.6.124, from 6.8.10 before 6.9, from 6.9.1 before 6.12.70, from 6.13 before 6.18.10, 6.9, 6.19 | NVD |
What each source says
CVE List
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().
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: gro: corregir desplazamiento de red externo La etapa de completado de GRO de UDP asume que todos los paquetes insertados en el RX tienen el indicador 'encapsulation' puesto a cero. Dicha suposición no es cierta, ya que algunas NIC de H/W pueden establecer dicho indicador al descargar el checksum por H/W para un tráfico UDP encapsulado, el controlador tun puede inyectar paquetes GSO con encapsulación UDP y la disposición problemática también puede crearse a través de una configuración basada en veth. Debido a lo anterior, en los escenarios problemáticos, udp4_gro_complete() utiliza el desplazamiento de red incorrecto (interno en lugar de externo) para calcular el pseudo checksum del encabezado UDP externo, lo que lleva a errores de validación de csum más adelante en el procesamiento de paquetes. Abordar el problema siempre borrando el indicador de encapsulación en el momento de completado de GRO. Dicho indicador se establecerá de nuevo según sea necesario para paquetes encapsulados por udp_gro_complete().
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-23254 changed 2026-05-23 | CVE Terms of Use |
| NVD | CVE-2026-23254 changed 2026-06-17 | Public domain |