<?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://vulnerability.circl.lu</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>Mon, 28 Sep 2026 21:29:51 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-31579 — wireguard: device: use exit_rtnl callback instead of manual rtnl_lock in pre_exit</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-31579</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;wireguard: device: use exit_rtnl callback instead of manual rtnl_lock in pre_exit&lt;/p&gt;
&lt;p&gt;wg_netns_pre_exit() manually acquires rtnl_lock() inside the
pernet .pre_exit callback.  This causes a hung task when another
thread holds rtnl_mutex - the cleanup_net workqueue (or the
setup_net failure rollback path) blocks indefinitely in
wg_netns_pre_exit() waiting to acquire the lock.&lt;/p&gt;
&lt;p&gt;Convert to .exit_rtnl, introduced in commit 7a60d91c690b (&amp;#34;net:
Add -&amp;gt;exit_rtnl() hook to struct pernet_operations.&amp;#34;), where the
framework already holds RTNL and batches all callbacks under a
single rtnl_lock()/rtnl_unlock() pair, eliminating the contention
window.&lt;/p&gt;
&lt;p&gt;The rcu_assign_pointer(wg-&amp;gt;creating_net, NULL) is safe to move
from .pre_exit to .exit_rtnl (which runs after synchronize_rcu())
because all RCU readers of creating_net either use maybe_get_net()
- which returns NULL for a dying namespace with zero refcount - or
access net-&amp;gt;user_ns which remains valid throughout the entire
ops_undo_list sequence.&lt;/p&gt;
&lt;p&gt;[ Jason: added __net_exit and __read_mostly annotations that were missing. ]&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;wireguard: device: use exit_rtnl callback instead of manual rtnl_lock in pre_exit&lt;/p&gt;
&lt;p&gt;wg_netns_pre_exit() manually acquires rtnl_lock() inside the
pernet .pre_exit callback.  This causes a hung task when another
thread holds rtnl_mutex - the cleanup_net workqueue (or the
setup_net failure rollback path) blocks indefinitely in
wg_netns_pre_exit() waiting to acquire the lock.&lt;/p&gt;
&lt;p&gt;Convert to .exit_rtnl, introduced in commit 7a60d91c690b (&amp;#34;net:
Add -&amp;gt;exit_rtnl() hook to struct pernet_operations.&amp;#34;), where the
framework already holds RTNL and batches all callbacks under a
single rtnl_lock()/rtnl_unlock() pair, eliminating the contention
window.&lt;/p&gt;
&lt;p&gt;The rcu_assign_pointer(wg-&amp;gt;creating_net, NULL) is safe to move
from .pre_exit to .exit_rtnl (which runs after synchronize_rcu())
because all RCU readers of creating_net either use maybe_get_net()
- which returns NULL for a dying namespace with zero refcount - or
access net-&amp;gt;user_ns which remains valid throughout the entire
ops_undo_list sequence.&lt;/p&gt;
&lt;p&gt;[ Jason: added __net_exit and __read_mostly annotations that were missing. ]&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-31579</guid>
    </item>
  </channel>
</rss>
