CVE-2026-23273
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-23273 is a use-after-free race condition vulnerability in the Linux kernel's macvlan network driver, specifically in the macvlan_common_newlink() error path. The flaw occurs when the function makes a network device visible before detecting an error, and the caller subsequently calls free_netdev(dev) without observing an RCU (Read-Copy-Update) grace period, allowing concurrent packet forwarding operations to access freed memory. It affects multiple stable kernel branches: 5.10.250–5.10.251, 5.15.200–5.15.201, 6.1.163–6.1.164, 6.6.124–6.6.127, 6.12.70–6.12.74, 6.18.10–6.18.13, and 6.19.1–6.19.3. Disclosed on March 20, 2026, it carries a CVSS v3.1 base score of 7.8 (High) (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The root cause is classified as CWE-416 (Use After Free) and CWE-364 (Signal Handler Race Condition). In macvlan_common_newlink(), a newly created macvlan device (@dev) can be registered and made visible to the RCU-protected packet forwarding path (macvlan_forward_source()) before the function detects an invalid configuration and returns an error. The caller (rtnl_newlink) then immediately calls free_netdev(dev) without waiting for an RCU grace period, so any concurrent IRQ-context packet processing that dereferences the device structure will access freed memory. The vulnerability requires a local attacker to have the capability to create macvlan interfaces (e.g., CAP_NET_ADMIN) and race the failed interface creation with live network traffic (Red Hat Bugzilla, Red Hat Advisory).

Impact

Successful exploitation allows a local attacker with network interface creation privileges to achieve arbitrary code execution at kernel privilege level, resulting in full confidentiality, integrity, and availability compromise of the affected system. The use-after-free condition in the kernel's packet forwarding path can be leveraged to corrupt kernel memory structures, potentially enabling privilege escalation, kernel crash (denial of service), or persistent backdoor installation. The scope is limited to the local system, but kernel-level access could facilitate lateral movement in containerized or multi-tenant environments (Red Hat Advisory, Red Hat Bugzilla).

Exploitation steps

  1. Prerequisite: Obtain a local account on the target system with CAP_NET_ADMIN capability (e.g., via a privileged container, user namespace with network privileges, or direct system access).
  2. Setup veth pair: Create a virtual Ethernet pair and configure a source MAC address: ip link add p1 type veth peer p2; ip link set address 00:00:00:00:00:20 dev p1; ip link set up dev p1; ip link set up dev p2.
  3. Create a valid macvlan: Establish a baseline macvlan interface in source mode: ip link add mv0 link p2 type macvlan mode source.
  4. Race condition trigger: Concurrently attempt to create an invalid macvlan interface (with a bad name and a MAC address matching the veth peer) while generating network traffic through the interface: (ip link add invalid% link p2 type macvlan mode source macaddr add 00:00:00:00:00:20 &) ; sleep 0.5 ; ping -c1 -I p1 1.2.3.4. The invalid name causes macvlan_common_newlink() to return an error after the device is already visible.
  5. Trigger use-after-free: The failed ip link add causes free_netdev(dev) to be called immediately, while the concurrent ping triggers macvlan_forward_source() in IRQ context to dereference the now-freed device structure, resulting in a kernel use-after-free that can be leveraged for code execution (Red Hat Bugzilla).

Indicators of compromise

  • Logs: Kernel KASAN reports in dmesg or /var/log/kern.log containing BUG: KASAN: slab-use-after-free in macvlan_forward_source with references to drivers/net/macvlan.c:408 or drivers/net/macvlan.c:444.
  • Logs: RTNETLINK error messages (RTNETLINK answers: Invalid argument) coinciding with macvlan interface creation attempts, particularly with malformed interface names (e.g., containing %).
  • Process: Unusual or repeated ip link add commands targeting macvlan interfaces in source mode visible in process audit logs or shell history.
  • Network: Unexpected macvlan interfaces appearing transiently on network interfaces, detectable via ip link show or network monitoring tools.
  • System: Kernel panic or unexpected system instability (oops/crash) traceable to macvlan_handle_frame or macvlan_forward_source in stack traces (Red Hat Bugzilla).

Mitigation and workarounds

Update the Linux kernel to a patched version: 5.10.252+, 5.15.202+, 6.1.165+, 6.6.128+, 6.12.75+, 6.18.14+, or 6.19.4+. Patches are available via upstream kernel stable trees and have been incorporated into vendor distributions including Debian (DSA-6238, DSA-6243, DLA-4561), Ubuntu (USN-8244-1, USN-8254-1/2/3, USN-8255-1/2, USN-8275-1), SUSE (SUSE-SU-2026:2068-1, SUSE-SU-2026:2111-1, SUSE-SU-2026:2195-1, SUSE-SU-2026:2217-1, SUSE-SU-2026:2238-1), Oracle Linux, and Amazon Linux 2. As a workaround, restrict CAP_NET_ADMIN capability to trusted users only and limit the ability to create macvlan interfaces in source mode to reduce the attack surface (Red Hat Advisory, Red Hat Bugzilla).

Community reactions

The vulnerability was reported by a researcher identified as "valis" who demonstrated the race condition persisted after a prior patch attempt, leading to the current fix. Red Hat triaged the issue at medium severity. The fix was announced via the Linux kernel CVE announcement mailing list (lore.kernel.org/linux-cve-announce) and subsequently tracked by multiple distribution security teams. No significant broader media coverage or notable social media discussion beyond routine vulnerability tracking has been observed (Red Hat Bugzilla).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management