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)`.
Published: 2026-06-25
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, netfilter logic that extracts Ethernet headers via eth_hdr assumed the socket buffer was associated with an Ethernet device and that a full Ethernet header was present. The missing checks allowed a crafted packet to trigger an invalid memory access when the code used eth_hdr, potentially causing a kernel fault, data exposure or denial of service.

Affected Systems

The vulnerability affects all Linux kernel builds that include the netfilter modules ip6t_eui64, xt_mac, the ipset types bitmap:ip,mac, hash:ip,mac, hash:mac, and the nf_log_syslog feature. No specific kernel version is listed; any kernel exposing these modules before the applied patch is impacted.

Risk and Exploitability

There is no CVSS score or EPSS information available, but the flaw touches the kernel privilege level and can crash or corrupt kernel memory. Exploitation would involve delivering a specially crafted network packet that is processed by one of the affected netfilter modules. Although not listed in the CISA KEV catalog, the severity and potential impact make it a high‑risk issue. Attackers could achieve denial of service or, in rare cases, kernel memory disclosure if the fault occurs in a context that exposes sensitive data.

Generated by OpenCVE AI on June 25, 2026 at 10:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that contains the netfilter patch that checks for an Ethernet header before calling eth_hdr
  • If a kernel update is not immediately available, temporarily disable the netfilter modules that use eth_hdr (ip6t_eui64, xt_mac, hash:mac, hash:ip,mac, bitmap:ip,mac, nf_log_syslog) or remove them from the running configuration
  • Apply any vendor‑specific workarounds or advisories that recommend resetting the MAC header or validating skb->mac_header before processing packets

Generated by OpenCVE AI on June 25, 2026 at 10:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 25 Jun 2026 10:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Thu, 25 Jun 2026 09:15:00 +0000

Type Values Removed Values Added
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)`.
Title netfilter: require Ethernet MAC header before using eth_hdr()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-25T08:38:20.489Z

Reserved: 2026-06-09T07:44:35.386Z

Link: CVE-2026-53131

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-25T10:30:17Z

Weaknesses
  • CWE-20

    Improper Input Validation