CVE-2026-53266: netfilter: bridge: make ebt_snat ARP rewrite writable

Published Jun 5, 2026
·
Updated

A flaw in the Linux kernel's ebtables SNAT target allows writing to shared memory pages when rewriting ARP sender hardware addresses without ensuring writability, potentially causing file/memory corruption or denial of service.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

netfilter: bridge: make ebtsnat ARP rewrite writable

The ebtables SNAT target keeps the Ethernet source address rewrite behind skbensurewritable(skb, 0). This is intentional: at the bridge ebtables hooks the Ethernet header is addressed through skbmacheader()/ethhdr(), while skb->data points at the Ethernet payload. Asking skbensurewritable() for ETHHLEN bytes would check the payload, not the Ethernet header, and would reintroduce the small packet regression fixed by commit 63137bc5882a.

However, the optional ARP sender hardware address rewrite is different. It writes through skbstorebits() at an offset relative to skb->data:

skbstorebits(skb, sizeof(struct arphdr), info->mac, ETHALEN)

skbheaderpointer() only safely reads the ARP header; it does not make the later sender hardware address range writable. If that range is still held in a nonlinear skb fragment backed by a splice-imported file page, skbstorebits() maps the frag page and copies the new MAC address directly into it.

Ensure the ARP SHA range is writable before reading the ARP header and before calling skbstorebits().

MITRE

Affected Software

17 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.141.1-1<6.6.143.1-1
6.6.143.1-1
Linux Linux kernel>=5.4.73<5.5
Linux Linux kernel>=5.8.17<5.9
Linux Linux kernel>=5.9.2<5.10.259
Linux Linux kernel>=5.11<5.15.210
Linux Linux kernel>=5.16<6.1.176
Linux Linux kernel>=6.2<6.6.143
Linux Linux kernel>=6.7<6.12.94
Linux Linux kernel>=6.13<6.18.36
Linux Linux kernel>=6.19<7.0.13
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4
Linux Linux kernel=7.1-rc5
Linux Linux kernel=7.1-rc6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.143.1-1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 63137bc5882a
  3. Compensating control

    After applying the fix, ensure the ebt_snat ARP sender hardware address rewrite is made writable before writing via skb_store_bits(), as addressed by netfilter: bridge: make ebt_snat ARP rewrite writable (commit 63137bc5882a).

Event History

Jun 5, 2026
Data Sourced
via Red Hat·04:03 AM
DescriptionSeverityAffected Software
Jun 25, 2026
CVE Published
via MITRE·08:39 AM
Data Sourced
via MITRE·08:39 AM
DescriptionSeverity
Data Sourced
via NVD·09:16 AM
RemedyDescriptionSeverityAffected Software
Jun 27, 2026
Data Sourced
via Microsoft·08:06 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:06 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-53266?

The severity of CVE-2026-53266 is rated at risk level 37.

2

How do I fix CVE-2026-53266?

To fix CVE-2026-53266, update your Linux kernel to the latest version where this vulnerability is resolved.

3

What systems are affected by CVE-2026-53266?

CVE-2026-53266 affects systems running specific versions of the Linux kernel with netfilter and bridge functionality.

4

What type of vulnerability is CVE-2026-53266?

CVE-2026-53266 is a vulnerability related to the netfilter bridge ebt_snat functionality in the Linux kernel.

5

What does the fix for CVE-2026-53266 achieve?

The fix for CVE-2026-53266 ensures that the Ethernet source address rewrite is appropriately managed to enhance security.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203