
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-23209 is a use-after-free (UAF) vulnerability in the Linux kernel's macvlan driver, specifically in the error recovery path of macvlan_common_newlink(). It was published on February 14, 2026, and affects Linux kernel versions from 4.9.1 through 6.18.x (prior to their respective patched releases), as well as 6.19 release candidates. The flaw allows a local attacker with low privileges to crash the kernel or potentially escalate privileges. It carries a CVSS v3.1 base score of 7.8 (High) (Feedly).
The root cause is a use-after-free condition (CWE-416) in macvlan_common_newlink(). When a new macvlan link is created with MACVLAN_MODE_SOURCE mode and MACVLAN_MACADDR_ADD or MACVLAN_MACADDR_SET parameters, macvlan_hash_add_source() is called via macvlan_change_sources(), which adds a reference to the new vlan structure into the lower device's vlan_source_hash. If register_netdevice() subsequently fails (e.g., due to an invalid link name), free_netdev(dev) is called, freeing the vlan structure. However, the dangling pointer in vlan_source_hash is not cleaned up, leaving a stale reference. When subsequent packets arrive on the macvlan port with a matching source MAC address, macvlan_forward_source() dereferences the freed memory, triggering the UAF. Exploitation requires local access and low-level privileges; no user interaction is needed (Feedly, Kernel Patches).
Successful exploitation can result in kernel crashes (denial of service), information disclosure from freed kernel memory, or potential local privilege escalation to root. The vulnerability affects the entire system's stability and integrity, as the kernel memory corruption occurs in a networking subsystem path. An attacker with local access could leverage this to gain elevated privileges and potentially pivot to further compromise the host or any containers sharing the kernel (Feedly).
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 p2ip link add mv0 link p2 type macvlan mode sourceregister_netdevice() to fail) while simultaneously adding a source MAC address:ip link add invalid% link p2 type macvlan mode source macaddr add 00:00:00:00:00:20This causes macvlan_hash_add_source() to insert a reference into vlan_source_hash, after which register_netdevice() fails and free_netdev() frees the vlan structure, leaving a dangling pointer.macvlan_forward_source() to dereference the freed memory:ping -c1 -I p1 1.2.3.4This results in a kernel crash (or, with a crafted heap layout, potential privilege escalation) (Feedly)./var/log/kern.log or dmesg referencing macvlan_forward_source() or macvlan_common_newlink() with use-after-free or null pointer dereference traces.ip link add commands with invalid interface names alongside macvlan SOURCE mode and macaddr parameters.ip link add with type macvlan mode source macaddr add parameters by non-root users or unexpected processes.ip link show or audit logs./var/crash/) generated around the time of suspicious macvlan interface creation activity.Apply the patched kernel versions released by the upstream Linux stable team and downstream distributors:
Patches are available in the stable kernel repository (Kernel Patches). Downstream advisories have been issued by Red Hat (Red Hat Errata), Debian, Ubuntu (Ubuntu USN-8162-1), SUSE, Oracle Linux, AlmaLinux, and Rocky Linux. As a temporary workaround, restrict unprivileged user access to macvlan network device creation using appropriate access controls, SELinux/AppArmor policies, or by limiting CAP_NET_ADMIN capabilities (Feedly).
The vulnerability was reported with a detailed analysis by researcher "valis," who provided both a reproduction script and a thorough root cause breakdown that was incorporated into the upstream kernel commit message. Downstream Linux distributions including Red Hat, Debian, Ubuntu, SUSE, Oracle Linux, AlmaLinux, and Rocky Linux have all issued security advisories and updated packages. The vulnerability has been picked up by multiple security news aggregators and scanner vendors (Tenable Nessus, Qualys), reflecting broad industry awareness. No significant social media controversy or high-profile researcher commentary beyond the initial disclosure has been observed (Feedly, Red Hat Errata).
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."