8.8highExploited
netfilter: bridge: make ebt_snat ARP rewrite writable
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.52% (higher than 37% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: bridge: make ebt_snat ARP rewrite writable The ebtables SNAT target keeps the Ethernet source address rewrite behind skb_ensure_writable(skb, 0). This is intentional: at the bridge ebtables hooks the Ethernet header is addressed through skb_mac_header()/eth_hdr(), while skb->data points at the Ethernet payload. Asking skb_ensure_writable() for ETH_HLEN 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 skb_store_bits() at an offset relative to skb->data: skb_store_bits(skb, sizeof(struct arphdr), info->mac, ETH_ALEN) skb_header_pointer() 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, skb_store_bits() 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 skb_store_bits().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 63137bc5882a1882c553d389fdeeeace86ee1741 before bf84ad7c7a9ede46e31afaa41a1ba06a159e8c87, from 63137bc5882a1882c553d389fdeeeace86ee1741 before 76280b78cc9f23bdc6438e10ad6dff148ef8375b, from 63137bc5882a1882c553d389fdeeeace86ee1741 before b7e91939ba9be805a62a257fa4e227dffbb88fa0, from 63137bc5882a1882c553d389fdeeeace86ee1741 before afd64b59c3de9bbbdd3759e834fdc55cda716e0b, from 63137bc5882a1882c553d389fdeeeace86ee1741 before 153ea96c806aea395daba907a4f88480b6ad5093, from 63137bc5882a1882c553d389fdeeeace86ee1741 before b18675263db1147c8e1cab625400c13a0d87bd2d, from 63137bc5882a1882c553d389fdeeeace86ee1741 before c9b5ff59feffb92a147a84a5aa28acd2cb8ff4c5, from 63137bc5882a1882c553d389fdeeeace86ee1741 before 67ba971ae02514d85818fe0c32549ab4bfa3bf49 and 7 more Not affected: before 5.10, from 5.10.259 up to 5.10.*, from 5.15.210 up to 5.15.*, from 6.1.176 up to 6.1.*, from 6.6.143 up to 6.6.*, from 6.12.94 up to 6.12.* | CVE List |
| linux linux_kernel | from 5.4.73 before 5.5, from 5.8.17 before 5.9, from 5.9.2 before 5.10.259, from 5.11 before 5.15.210, from 5.16 before 6.1.176, from 6.2 before 6.6.143, from 6.7 before 6.12.94, from 6.13 before 6.18.36 and 2 more | NVD |
| Linux Kernel | Not specified | CISA KEV |
Classification
SSVC (CISA-ADP): exploitation active, automatable no, technical impact total.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: netfilter: bridge: make ebt_snat ARP rewrite writable The ebtables SNAT target keeps the Ethernet source address rewrite behind skb_ensure_writable(skb, 0). This is intentional: at the bridge ebtables hooks the Ethernet header is addressed through skb_mac_header()/eth_hdr(), while skb->data points at the Ethernet payload. Asking skb_ensure_writable() for ETH_HLEN 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 skb_store_bits() at an offset relative to skb->data: skb_store_bits(skb, sizeof(struct arphdr), info->mac, ETH_ALEN) skb_header_pointer() 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, skb_store_bits() 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 skb_store_bits().
CISA KEV
Linux Kernel contains an out-of-bounds write vulnerability in the ebtables SNAT target which allows an ARP sender hardware address rewrite to write directly into a nonlinear socket-buffer fragment backed by a splice-imported file page. The impacted product(s) could be end-of-life (EoL) and/or end-of-service (EoS). Users are advised to discontinue use and/or transition to a supported version.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53266 changed 2026-09-19 | CVE Terms of Use |
| NVD | CVE-2026-53266 changed 2026-09-19 | Public domain |
| CISA KEV | CVE-2026-53266 changed 2026-09-18 | CC0-1.0 |