netfilter: ip6t_eui64: reject invalid MAC header for all packets (Linux Linux)

CVE-2026-31685
CRITICAL 9.4

At a glance

Source
NVD
EPSS
EPSS 0.48 % · percentile 42 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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)`.

Weaknesses (CWE)

  • CWE-125 — Out-of-bounds Read

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.4CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:HLinux
CVSS 3.1CRITICAL 9.4CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 4d75bc2cd093bf5803edf512c099bfb220fd6459 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 7d6a57411caf54df025860c9b1a82cd42d57a562 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < d5603591373441fecf9951833d6d873e09320f08 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 288138418bef956f8b295751a4536c60f0e89f4a ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 9eda5478746ef7dc0e4e537b5a5e4b0ca1027091 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 807d6ee15804df6f01a35c910f09612e858739a6
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.136 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD