CVE-2026-53266: Linux kernel ebtables SNAT writes a new MAC address into a page it does not own

ByLinuxtastic

November 29, 2026 #CVE, #Linux Kernel

The ebtables snat target rewrites the Ethernet source address of frames leaving a Linux bridge, and with --snat-arp it also rewrites the sender hardware address inside ARP packets. The second rewrite was done with skb_store_bits() without first making the destination writable, so if that part of the packet still lived in a page the kernel had borrowed from a file — which is what splice() into a socket produces — the new MAC address went straight into the file’s page cache. That is the same family of bug as Dirty Pipe: a local user writes six bytes of their choosing into a file they are not allowed to open. If a host of yours runs a bridge with an ebtables SNAT rule that touches ARP, make sure it is running a kernel from July 2026 or later; if you are not sure whether it does, the check below takes ten seconds. Hosts with no bridge, or no ebtables NAT, are not reachable by this bug.

CVE-2026-53266 at a glance.

ComponentLinux kernel, net/bridge/netfilter/ebt_snat.c — the ebtables snat target’s ARP sender-address rewrite
Affected versionsMainline 5.10 onwards (and the 5.4.73–5.4 and 5.8.17–5.8 stable series that backported the introducing change) up to 7.1-rc; stable branches before 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36 and 7.0.13
Fixed inMainline 7.1; stable 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, 7.0.13. Distribution kernels below
SeverityCVSS 3.1 8.8 High (AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, kernel CNA; NVD carries the same). Red Hat rates it Important at 7.5; SUSE important at 7.5 with an adjacent-network vector. CWE-787 out-of-bounds write (CISA); Red Hat files it as CWE-825
Exploited in the wildYes. Added to CISA’s Known Exploited Vulnerabilities catalogue on 18 September 2026; federal remediation due 21 September 2026. EPSS 0.005 (37th percentile) on 26 November 2026
Who is exposedLinux hosts that bridge traffic and carry an ebtables snat rule with --snat-arp — typically virtualisation hosts (KVM/libvirt, Proxmox, Xen dom0) and bridge-mode routers — where an untrusted local user or guest-side process can send frames through the bridge. Not hosts without a bridge, and not bridges without ebtables NAT
PublishedCVE record 25 June 2026; this page built 30 November 2026, last updated 30 November 2026

What it is

A network packet in the kernel is an sk_buff, and the bytes it describes are not always in one place or always the kernel’s to change. When a program sends a file with splice() or sendfile(), the packet’s payload fragments point directly at the file’s page-cache pages, zero-copy; anything that wants to modify those bytes must first call skb_ensure_writable() to get a private copy. The ebtables snat target does that for the Ethernet header, carefully — the commit explains why it asks for zero bytes rather than the header length, to avoid a regression fixed years earlier. But the optional ARP rewrite is a different write at a different offset: skb_store_bits(skb, sizeof(struct arphdr), info->mac, ETH_ALEN), six bytes into the ARP body, and before the fix nothing made that range writable. skb_header_pointer() had only been used to read the ARP header, which guarantees nothing about the bytes after it. If they were in a spliced file page, skb_store_bits() mapped that page and copied the new MAC into it.

The fix in 7.1, backported to every stable branch, calls skb_ensure_writable() for the ARP sender-hardware-address range before reading the header and before the store, so a spliced page is copied before it is touched. The one file changed is net/bridge/netfilter/ebt_snat.c. The bug has been present since the 5.10 cycle, when the Ethernet-header handling was reworked, and in the 5.4 and 5.8 stable series that received that rework.

Why it is a privilege escalation and not just a corrupt ARP packet: the six bytes written are the --snat-arp MAC from the rule, which the attacker does not choose, but the page they land in and the offset within it come from the file the attacker chose to splice and how they framed the packet. Red Hat’s statement describes the outcome as local privilege escalation, memory corruption or denial of service, limited to systems with the specific bridge netfilter rules, and offers a mitigation that is unusual for a kernel bug: take the ARP rewrite out of the rule.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 30 November 2026; the link in the row is the tracker page, which will be newer than this one.

DistributionStatusFixed package
Debian bookwormFixedlinux 6.1.176-1 (DLA-4665-1); current 6.1.192-3
Debian trixieFixedlinux 6.12.94-1; current 6.12.118-1
Debian bullseye (LTS)Fixedlinux 5.10.259-1 (DLA-4664-1); linux-6.1 6.1.176-1~deb11u1 (DLA-4671-1)
Ubuntu 26.04 resoluteFixed (priority High)linux 7.0.0-31.31
Ubuntu 24.04 nobleFixedlinux 6.8.0-146.146; cloud flavours have their own versions on the tracker page
Ubuntu 22.04 jammyFixedlinux 5.15.0-198.208
Ubuntu 20.04 focalVulnerableno fix listed for the main kernel; Ubuntu Pro has fixes for some flavours
Ubuntu 25.10 questingIgnored (end of life)—
RHEL 10, Rocky, AlmaFixed (Important)RHSA-2026:71233 (RHEL 10.2, kernel 6.12.0-211.59.1.el10_2), RHSA-2026:71326 (10.0 EUS), September 2026
RHEL 9FixedRHSA-2026:36645, 8 July 2026; EUS/E4S streams RHSA-2026:71327, 71569, 71601; kpatch available
RHEL 8FixedRHSA-2026:39083, 14 July 2026; AUS/EUS/TUS streams RHSA-2026:71565, 70797, 71325
RHEL 7 ELS, RHEL 6 ELSFixedRHSA-2026:71687 (kernel 3.10.0-1160.164.1.el7), RHSA-2026:73732
SUSE / openSUSEResolved (important)per-product kernels on the SUSE page, e.g. SLES 16.0 kernel-default 6.12.0-160000.36.1, SLES 15 SP7 6.4.0-150700.53.66.1
Fedora, Arch, AlpineNot consultedrolling kernels passed 6.18.36 / 7.0.13 in July 2026; Alpine tracker unreachable at build time

How to check

Three questions, in order: is this kernel old enough, is there a bridge with ebtables NAT on it at all, and does any SNAT rule rewrite ARP. Most hosts stop at question two.

# 1. running kernel versus the newest installed one
uname -r
dpkg -l 'linux-image-*' 2>/dev/null | awk '/^ii/ {print $2, $3}' | sort -V | tail -3     # Debian, Ubuntu
rpm -q kernel kernel-core 2>/dev/null | sort -V | tail -3                               # RHEL family, Fedora, SUSE
# upstream reference points: 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, 7.0.13, 7.1

# 2. a bridge, and the ebtables SNAT code loaded
bridge link 2>/dev/null | head
lsmod | grep -E '^(ebt_snat|ebtable_nat|nft_bridge|nf_tables)'

# 3. SNAT rules that rewrite ARP, in either rule syntax
ebtables -t nat -L --Lc 2>/dev/null | grep -i 'snat'          # legacy or ebtables-nft
nft list ruleset 2>/dev/null | grep -B5 -iE 'ether saddr set|snat' | grep -iE 'bridge|arp|saddr set'
ls -d /sys/class/net/*/bridge 2>/dev/null                       # one entry per bridge device

A kernel at or above the fixed version for your distribution ends it. Otherwise, an empty step 2 — no bridge interfaces, no ebt_snat or bridge-family nftables modules — means the vulnerable code is not even loaded, and the host is not reachable by this bug as it stands. A SNAT rule in step 3 that carries --snat-arp (ebtables syntax) or sets the Ethernet source address on ARP traffic (nftables syntax) is the exposed configuration, and the question becomes who can send frames through that bridge: on a virtualisation host, every guest.

Because this one was exploited before it was listed, also look back. A write into a file through the page cache leaves no mtime change and no audit record, which is what makes the class nasty; what you can look for is the side effect, a changed setuid binary or system file whose on-disk content no longer matches the package.

# package-owned files whose contents changed (not permissions, which the write cannot alter)
debsums -c 2>/dev/null | head           # Debian, Ubuntu (apt install debsums)
rpm -Va 2>/dev/null | awk '$1 ~ /5/' | head   # RHEL family, SUSE: a 5 in column one is a checksum mismatch

# and the kernel's own view, for the window since 25 June 2026
journalctl -k --since '2026-06-25' | grep -iE 'ebt_snat|ebtables|bridge.*(BUG|WARNING|oops)' | head

A checksum mismatch on /usr/bin/su, sudo, passwd or a shared library on a host with the exposed configuration is a success, not noise, and the host should be rebuilt; Restoring a Linux Server covers it. A mismatch on a configuration file you have edited is you.

How to fix it

Install the current kernel and reboot. On RHEL 8 and 9 the July errata also have kpatch live patches, which close the hole without a reboot on hosts where a reboot means evacuating guests.

# Debian / Ubuntu
apt update && apt upgrade
reboot
uname -r

# RHEL family
dnf update kernel && reboot
# or, where a reboot must wait and the host is subscribed to kpatch:
dnf install "kpatch-patch = $(uname -r)"

# SUSE
zypper patch && reboot

If neither can happen today, this is one of the rare kernel bugs with a real configuration mitigation, and Red Hat states it: remove the ARP rewrite from the SNAT rule, or remove ebtables SNAT rules that act on ARP on bridge interfaces. The Ethernet-header rewrite is not affected, so a rule that only changes the frame’s source MAC can stay. What does not help is turning off the bridge’s netfilter call-outs with net.bridge.bridge-nf-call-iptables; those sysctls govern the iptables hooks for bridged IP traffic, not ebtables, and the vulnerable path is in ebtables.

# see the rule with its counters, then re-add it without --snat-arp (legacy syntax shown)
ebtables -t nat -L POSTROUTING --Lc
ebtables -t nat -D POSTROUTING -o eth0 -j snat --to-src 02:00:00:00:00:01 --snat-arp --snat-target ACCEPT
ebtables -t nat -A POSTROUTING -o eth0 -j snat --to-src 02:00:00:00:00:01 --snat-target ACCEPT
# make the change in whatever writes the rules at boot (libvirt hooks, /etc/ebtables, nftables.conf), or it returns on reboot

Sources

  • CVE-2026-53266 at CVE.org — the record, the kernel CNA’s CVSS vector, the affected and fixed ranges and the file touched (published 25 June 2026)
  • NVD entry — analysis status, CPE ranges per stable branch and the KEV cross-reference
  • CISA Known Exploited Vulnerabilities — added 18 September 2026, action due 21 September 2026
  • Fix commit 67ba971ae025, “netfilter: bridge: make ebt_snat ARP rewrite writable” (mainline 7.1), with the stable backports listed in the CVE record
  • Distribution trackers: Debian · Ubuntu · Red Hat (statement and mitigation) · SUSE
  • EPSS score for this CVE, 26 November 2026

Related reading

This advisory page was assembled from the primary sources listed above on 30 November 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.