CVE-2026-74668
JSON

7.8high

packet: use consistent hard_header_len in TX_RING send path

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.18% (higher than 4% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: packet: use consistent hard_header_len in TX_RING send path tpacket_snd() reads dev->hard_header_len independently for skb allocation and header construction in tpacket_fill_skb(). Concurrent netdevice reconfiguration can therefore make the reserved headroom smaller than the amount later pushed, or make copylen - hard_header_len negative. Snapshot hard_header_len once before processing ring frames and use it for the frame limit, headroom allocation, copy length, and skb construction. Pass the snapshot to tpacket_fill_skb(). The separate SOCK_DGRAM consistency problem between hard_header_len and header_ops->create is not addressed here.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 before 9c7e8ff48c377bef18c3d178748aea0575b69ede, from 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 before 2a73b2c37ee3060a880b53cd24783d93fc7be5f8, from 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 before e79f59a8527a49078cfaf8fe8fb5fcefc20c76d2, from 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 before d85d2fd54e901637c81d847811e03c662aee13cd, from 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 before 016763e829cac37b3234eace86fd0a4c560de4a7, from 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 before 27e068d1b35dbec10a3cf268887c94407be4badc, from 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 before d48ea5c9c4c34dc0df621f0e39ed3a16b644621a, from 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 before 21b5953e7494c16a42e6cd8cf110e18d13ae4a6b and 1 more
Not affected: before 2.6.31, from 5.10.267 up to 5.10.*, from 5.15.218 up to 5.15.*, from 6.1.185 up to 6.1.*, from 6.6.152 up to 6.6.*, from 6.12.104 up to 6.12.*
CVE List

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: packet: use consistent hard_header_len in TX_RING send path tpacket_snd() reads dev->hard_header_len independently for skb allocation and header construction in tpacket_fill_skb(). Concurrent netdevice reconfiguration can therefore make the reserved headroom smaller than the amount later pushed, or make copylen - hard_header_len negative. Snapshot hard_header_len once before processing ring frames and use it for the frame limit, headroom allocation, copy length, and skb construction. Pass the snapshot to tpacket_fill_skb(). The separate SOCK_DGRAM consistency problem between hard_header_len and header_ops->create is not addressed here.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: packet: usar hard_header_len consistente en la ruta de envío TX_RING tpacket_snd() lee dev -> hard_header_len independientemente para la asignación de skb y la construcción del encabezado en tpacket_fill_skb(). La reconfiguración concurrente del dispositivo de red puede, por lo tanto, hacer que el espacio de cabecera reservado sea más pequeño que la cantidad empujada posteriormente, o hacer que copylen - hard_header_len sea negativo. Tomar una instantánea de hard_header_len una vez antes de procesar los marcos del anillo y usarla para el límite de marcos, la asignación de espacio de cabecera, la longitud de copia y la construcción de skb. Pasar la instantánea a tpacket_fill_skb(). El problema de consistencia separado de SOCK_DGRAM entre hard_header_len y header_ops -> create no se aborda aquí.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-74668 changed 2026-10-16CVE Terms of Use
NVDCVE-2026-74668 changed 2026-10-16Public domain