<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-28T07:32:35.737684+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-23209</id>
    <title>CVE-2026-23209 — macvlan: fix error recovery in macvlan_common_newlink()</title>
    <updated>2026-09-28T07:32:35.762204+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>macvlan: fix error recovery in macvlan_common_newlink()</p>
<p>valis provided a nice repro to crash the kernel:</p>
<p>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</p>
<p>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</p>
<p>ping -c1 -I p1 1.2.3.4</p>
<p>He also gave a very detailed analysis:</p>
<p>&lt;quote valis&gt;</p>
<p>The issue is triggered when a new macvlan link is created  with
MACVLAN_MODE_SOURCE mode and MACVLAN_MACADDR_ADD (or
MACVLAN_MACADDR_SET) parameter, lower device already has a macvlan
port and register_netdevice() called from macvlan_common_newlink()
fails (e.g. because of the invalid link name).</p>
<p>In this case macvlan_hash_add_source is called from
macvlan_change_sources() / macvlan_common_newlink():</p>
<p>This adds a reference to vlan to the port's vlan_source_hash using
macvlan_source_entry.</p>
<p>vlan is a pointer to the priv data of the link that is being created.</p>
<p>When register_netdevice() fails, the error is returned from
macvlan_newlink() to rtnl_newlink_create():</p>
<p>if (ops-&gt;newlink)
                err = ops-&gt;newlink(dev, &amp;params, extack);
        else
                err = register_netdevice(dev);
        if (err &lt; 0) {
                free_netdev(dev);
                goto out;
        }</p>
<p>and free_netdev() is called, causing a kvfree() on the struct
net_device that…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-23209"/>
  </entry>
</feed>
