netfilter: require Ethernet MAC header before using eth_hdr() (Linux Linux)

CVE-2026-53131
CRITICAL 9.4

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: require Ethernet MAC header before using eth_hdr() `ip6t_eui64`, `xt_mac`, the `bitmap:ip,mac`, `hash:ip,mac`, and `hash:mac` ipset types, and `nf_log_syslog` access `eth_hdr(skb)` after either assuming that the skb is associated with an Ethernet device or checking only that the `ETH_HLEN` bytes at `skb_mac_header(skb)` lie between `skb->head` and `skb->data`. Make these paths first verify that the skb is associated with an Ethernet device, that the MAC header was set, and that it spans at least a full Ethernet header 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 < 4435888e1bf139d2bfe5911643d4217382136743 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 063f43361e884acd7300790e90194430275d0d0c ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 726abf97566867f808fec9d8a408eb9698bd570a ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 367abcacc13a8e2e7624408b7f593bd1e60e49d9 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 5d634afb8b83b49de562792fd0d047416a43bd4d ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < cea435ea7e868ea6fdf039bc4f2090c1d829b556
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 6.6.* ; unaffected 6.12.94 ≤ 6.12.*

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