<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 04 Dec 2026 19:54:35 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-143128 — net: wait for in-flight device unregistrations before netns dismantle</title>
      <link>https://db.gcve.eu/vuln/cve-2026-143128</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;net: wait for in-flight device unregistrations before netns dismantle&lt;/p&gt;
&lt;p&gt;A device can be unregistered by a context other than the cleanup_net()
of its own netns, for instance a veth whose peer in another netns is
deleted. If references on it are still held, it stays in
netdev_wait_allrefs_any(), which rebroadcasts NETDEV_UNREGISTER every
second.&lt;/p&gt;
&lt;p&gt;Meanwhile its netns can be dismantled: default_device_exit_batch()
only takes care of devices still listed in the netns, then pernet exit
handlers free their state, and finally struct net is freed while the
device still points to it.&lt;/p&gt;
&lt;p&gt;The rebroadcasts then run notifiers against torn down pernet state, or
freed memory. Three instances were reported so far:&lt;/p&gt;
&lt;p&gt;- netdev_genl_netdevice_event(): net-&amp;gt;genl_sock is NULL [1]
 - nh_netdev_event(): net-&amp;gt;nexthop.devhash is NULL [2]
 - nf_tables netdevice notifiers: use-after-free of the nftables
   pernet storage [3]&lt;/p&gt;
&lt;p&gt;but any notifier using dev_net(dev) is affected, as is
netdev_wait_allrefs_any() itself (__rtnl_net_lock(dev_net(dev)) with
CONFIG_DEBUG_NET_SMALL_RTNL=y).&lt;/p&gt;
&lt;p&gt;This was prevented by rtnl_lock_unregistering() until I removed it
in commit 8a4fc54b07d7 (&amp;#34;net: get rid of rtnl_lock_unregistering()&amp;#34;),
considering only the loopback dependency, and missing the notifiers one.&lt;/p&gt;
&lt;p&gt;Restore a per-netns counter of devices sitting in netdev_run_todo(),
and make default_device_exit_batch() wait for it to reach zero, after
it has unregi…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;net: wait for in-flight device unregistrations before netns dismantle&lt;/p&gt;
&lt;p&gt;A device can be unregistered by a context other than the cleanup_net()
of its own netns, for instance a veth whose peer in another netns is
deleted. If references on it are still held, it stays in
netdev_wait_allrefs_any(), which rebroadcasts NETDEV_UNREGISTER every
second.&lt;/p&gt;
&lt;p&gt;Meanwhile its netns can be dismantled: default_device_exit_batch()
only takes care of devices still listed in the netns, then pernet exit
handlers free their state, and finally struct net is freed while the
device still points to it.&lt;/p&gt;
&lt;p&gt;The rebroadcasts then run notifiers against torn down pernet state, or
freed memory. Three instances were reported so far:&lt;/p&gt;
&lt;p&gt;- netdev_genl_netdevice_event(): net-&amp;gt;genl_sock is NULL [1]
 - nh_netdev_event(): net-&amp;gt;nexthop.devhash is NULL [2]
 - nf_tables netdevice notifiers: use-after-free of the nftables
   pernet storage [3]&lt;/p&gt;
&lt;p&gt;but any notifier using dev_net(dev) is affected, as is
netdev_wait_allrefs_any() itself (__rtnl_net_lock(dev_net(dev)) with
CONFIG_DEBUG_NET_SMALL_RTNL=y).&lt;/p&gt;
&lt;p&gt;This was prevented by rtnl_lock_unregistering() until I removed it
in commit 8a4fc54b07d7 (&amp;#34;net: get rid of rtnl_lock_unregistering()&amp;#34;),
considering only the loopback dependency, and missing the notifiers one.&lt;/p&gt;
&lt;p&gt;Restore a per-netns counter of devices sitting in netdev_run_todo(),
and make default_device_exit_batch() wait for it to reach zero, after
it has unregi…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-143128</guid>
    </item>
  </channel>
</rss>
