CVE-2026-53131 PUBLISHED

netfilter: require Ethernet MAC header before using eth_hdr()

Assigner: Linux
Reserved: 09.06.2026 Published: 25.06.2026 Updated: 25.06.2026

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

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 4435888e1bf139d2bfe5911643d4217382136743 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 063f43361e884acd7300790e90194430275d0d0c (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 726abf97566867f808fec9d8a408eb9698bd570a (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 367abcacc13a8e2e7624408b7f593bd1e60e49d9 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 5d634afb8b83b49de562792fd0d047416a43bd4d (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to cea435ea7e868ea6fdf039bc4f2090c1d829b556 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 62443dc21114c0bbc476fa62973db89743f2f137 (excl.)
  • affected from 0 to 5.15.210 (excl.)
  • affected from 0 to 6.1.176 (excl.)
  • affected from 0 to 6.6.143 (excl.)
  • affected from 0 to 6.12.94 (excl.)
  • affected from 0 to 6.18.36 (excl.)
  • affected from 0 to 7.0.13 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • unaffected from 5.15.210 to 5.15.* (incl.)
  • unaffected from 6.1.176 to 6.1.* (incl.)
  • unaffected from 6.6.143 to 6.6.* (incl.)
  • unaffected from 6.12.94 to 6.12.* (incl.)
  • unaffected from 6.18.36 to 6.18.* (incl.)
  • unaffected from 7.0.13 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References