8.8high
tap: add missing verification for short frame
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: tap: add missing verification for short frame The cited commit missed to check against the validity of the frame length in the tap_get_user_xdp() path, which could cause a corrupted skb to be sent downstack. Even before the skb is transmitted, the tap_get_user_xdp()-->skb_set_network_header() may assume the size is more than ETH_HLEN. Once transmitted, this could either cause out-of-bound access beyond the actual length, or confuse the underlayer with incorrect or inconsistent header length in the skb metadata. In the alternative path, tap_get_user() already prohibits short frame which has the length less than Ethernet header size from being transmitted. This is to drop any frame shorter than the Ethernet header size just like how tap_get_user() does. CVE: CVE-2024-41090
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 0efac27791ee068075d80f07c55a229b1335ce12 before 8be915fc5ff9a5e296f6538be12ea75a1a93bdea, from 0efac27791ee068075d80f07c55a229b1335ce12 before 7431144b406ae82807eb87d8c98e518475b0450f, from 0efac27791ee068075d80f07c55a229b1335ce12 before e5e5e63c506b93b89b01f522b6a7343585f784e6, from 0efac27791ee068075d80f07c55a229b1335ce12 before ee93e6da30377cf2a75e16cd32bb9fcd86a61c46, from 0efac27791ee068075d80f07c55a229b1335ce12 before aa6a5704cab861c9b2ae9f475076e1881e87f5aa, from 0efac27791ee068075d80f07c55a229b1335ce12 before 73d462a38d5f782b7c872fe9ae8393d9ef5483da, from 0efac27791ee068075d80f07c55a229b1335ce12 before e1a786b9bbb767fd1c922d424aaa8078cc542309, from 0efac27791ee068075d80f07c55a229b1335ce12 before ed7f2afdd0e043a397677e597ced0830b83ba0b3 and 1 more Not affected: before 4.20, from 5.4.281 up to 5.4.*, from 5.10.223 up to 5.10.*, from 5.15.164 up to 5.15.*, from 6.1.102 up to 6.1.*, from 6.6.43 up to 6.6.* | CVE List |
| linux linux_kernel | from 4.20 before 5.4.281, from 5.5 before 5.10.223, from 5.11 before 5.15.164, from 5.16 before 6.1.102, from 6.2 before 6.6.43, from 6.7 before 6.9.12, from 6.10 before 6.10.2 | NVD |
All scores
| Linux | 8.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: tap: add missing verification for short frame The cited commit missed to check against the validity of the frame length in the tap_get_user_xdp() path, which could cause a corrupted skb to be sent downstack. Even before the skb is transmitted, the tap_get_user_xdp()-->skb_set_network_header() may assume the size is more than ETH_HLEN. Once transmitted, this could either cause out-of-bound access beyond the actual length, or confuse the underlayer with incorrect or inconsistent header length in the skb metadata. In the alternative path, tap_get_user() already prohibits short frame which has the length less than Ethernet header size from being transmitted. This is to drop any frame shorter than the Ethernet header size just like how tap_get_user() does. CVE: CVE-2024-41090
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: tap: agregar verificación faltante para marco corto La confirmación citada no pudo verificar la validez de la longitud del marco en la ruta tap_get_user_xdp(), lo que podría causar que un skb corrupto se envíe hacia abajo. Incluso antes de que se transmita el skb, tap_get_user_xdp()-->skb_set_network_header() puede asumir que el tamaño es mayor que ETH_HLEN. Una vez transmitido, esto podría provocar un acceso fuera de los límites más allá de la longitud real o confundir la capa subyacente con una longitud de encabezado incorrecta o inconsistente en los metadatos de skb. En la ruta alternativa, tap_get_user() ya prohíbe la transmisión de tramas cortas que tengan una longitud menor que el tamaño del encabezado Ethernet. Esto es para eliminar cualquier trama más corta que el tamaño del encabezado de Ethernet tal como lo hace tap_get_user(). CVE: CVE-2024-41090
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-41090 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-41090 changed 2026-08-04 | Public domain |