CVE-2026-31685
JSON

9.4critical

netfilter: ip6t_eui64: reject invalid MAC header for all packets

Severity
9.4critical CVSS:3.1 by Linux
Exploit likelihood
0.50% (higher than 44% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: ip6t_eui64: reject invalid MAC header for all packets `eui64_mt6()` derives a modified EUI-64 from the Ethernet source address and compares it with the low 64 bits of the IPv6 source address. The existing guard only rejects an invalid MAC header when `par->fragoff != 0`. For packets with `par->fragoff == 0`, `eui64_mt6()` can still reach `eth_hdr(skb)` even when the MAC header is not valid. Fix this by removing the `par->fragoff != 0` condition so that packets with an invalid MAC header are rejected before accessing `eth_hdr(skb)`.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4d75bc2cd093bf5803edf512c099bfb220fd6459, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7d6a57411caf54df025860c9b1a82cd42d57a562, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d5603591373441fecf9951833d6d873e09320f08, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 288138418bef956f8b295751a4536c60f0e89f4a, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9eda5478746ef7dc0e4e537b5a5e4b0ca1027091, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 807d6ee15804df6f01a35c910f09612e858739a6, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 309ae3e9a51a69699ca94eac5fac5688fa562d55, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fdce0b3590f724540795b874b4c8850c90e6b0a8 and 1 more
Not affected: before 2.6.12, from 5.10.258 up to 5.10.*, from 5.15.209 up to 5.15.*, from 6.1.175 up to 6.1.*, from 6.6.136 up to 6.6.*, from 6.12.83 up to 6.12.*
CVE List
linux linux_kernelfrom 2.6.12.1 before 6.6.136, from 6.7 before 6.12.83, from 6.13 before 6.18.24, from 6.19 before 6.19.14, 2.6.12, 7.0NVD

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: netfilter: ip6t_eui64: reject invalid MAC header for all packets `eui64_mt6()` derives a modified EUI-64 from the Ethernet source address and compares it with the low 64 bits of the IPv6 source address. The existing guard only rejects an invalid MAC header when `par->fragoff != 0`. For packets with `par->fragoff == 0`, `eui64_mt6()` can still reach `eth_hdr(skb)` even when the MAC header is not valid. Fix this by removing the `par->fragoff != 0` condition so that packets with an invalid MAC header are rejected before accessing `eth_hdr(skb)`.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: netfilter: ip6t_eui64: rechazar encabezado MAC inválido para todos los paquetes “eui64_mt6()” deriva un EUI-64 modificado de la dirección de origen Ethernet y lo compara con los 64 bits bajos de la dirección de origen IPv6. La protección existente solo rechaza un encabezado MAC inválido cuando “par -> fragoff != 0”. Para paquetes con “par -> fragoff == 0”, “eui64_mt6()” aún puede alcanzar “eth_hdr(skb)” incluso cuando el encabezado MAC no es válido. Soluciona esto eliminando la condición “par -> fragoff != 0” para que los paquetes con un encabezado MAC inválido sean rechazados antes de acceder a “eth_hdr(skb)”.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31685 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-31685 changed 2026-11-11Public domain