
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
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).
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).
CAP_NET_ADMIN capability (e.g., via a privileged container, user namespace with network privileges, or direct system access).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.ip link add mv0 link p2 type macvlan mode source.(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.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).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.RTNETLINK answers: Invalid argument) coinciding with macvlan interface creation attempts, particularly with malformed interface names (e.g., containing %).ip link add commands targeting macvlan interfaces in source mode visible in process audit logs or shell history.ip link show or network monitoring tools.macvlan_handle_frame or macvlan_forward_source in stack traces (Red Hat Bugzilla).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).
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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."