CVE-2026-23209
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
14/02/2026
Last modified:
14/02/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
macvlan: fix error recovery in macvlan_common_newlink()<br />
<br />
valis provided a nice repro to crash the kernel:<br />
<br />
ip link add p1 type veth peer p2<br />
ip link set address 00:00:00:00:00:20 dev p1<br />
ip link set up dev p1<br />
ip link set up dev p2<br />
<br />
ip link add mv0 link p2 type macvlan mode source<br />
ip link add invalid% link p2 type macvlan mode source macaddr add 00:00:00:00:00:20<br />
<br />
ping -c1 -I p1 1.2.3.4<br />
<br />
He also gave a very detailed analysis:<br />
<br />
<br />
<br />
The issue is triggered when a new macvlan link is created with<br />
MACVLAN_MODE_SOURCE mode and MACVLAN_MACADDR_ADD (or<br />
MACVLAN_MACADDR_SET) parameter, lower device already has a macvlan<br />
port and register_netdevice() called from macvlan_common_newlink()<br />
fails (e.g. because of the invalid link name).<br />
<br />
In this case macvlan_hash_add_source is called from<br />
macvlan_change_sources() / macvlan_common_newlink():<br />
<br />
This adds a reference to vlan to the port&#39;s vlan_source_hash using<br />
macvlan_source_entry.<br />
<br />
vlan is a pointer to the priv data of the link that is being created.<br />
<br />
When register_netdevice() fails, the error is returned from<br />
macvlan_newlink() to rtnl_newlink_create():<br />
<br />
if (ops->newlink)<br />
err = ops->newlink(dev, &params, extack);<br />
else<br />
err = register_netdevice(dev);<br />
if (err
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/11ba9f0dc865136174cb98834280fb21bbc950c7
- https://git.kernel.org/stable/c/5dae6b36a7cb7a4fcf4121b95e9ca7f96f816c8a
- https://git.kernel.org/stable/c/986967a162142710076782d5b93daab93a892980
- https://git.kernel.org/stable/c/c43d0e787cbba569ec9d11579ed370b50fab6c9c
- https://git.kernel.org/stable/c/cdedcd5aa3f3cb8b7ae0f87ab3a936d0bd583d66
- https://git.kernel.org/stable/c/da5c6b8ae47e414be47e5e04def15b25d5c962dc
- https://git.kernel.org/stable/c/f8db6475a83649689c087a8f52486fcc53e627e9



