<?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>Tue, 29 Sep 2026 18:10:18 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-40231 — vsock: fix lock inversion in vsock_assign_transport()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-40231</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;vsock: fix lock inversion in vsock_assign_transport()&lt;/p&gt;
&lt;p&gt;Syzbot reported a potential lock inversion deadlock between
vsock_register_mutex and sk_lock-AF_VSOCK when vsock_linger() is called.&lt;/p&gt;
&lt;p&gt;The issue was introduced by commit 687aa0c5581b (&amp;#34;vsock: Fix
transport_* TOCTOU&amp;#34;) which added vsock_register_mutex locking in
vsock_assign_transport() around the transport-&amp;gt;release() call, that can
call vsock_linger(). vsock_assign_transport() can be called with sk_lock
held. vsock_linger() calls sk_wait_event() that temporarily releases and
re-acquires sk_lock. During this window, if another thread hold
vsock_register_mutex while trying to acquire sk_lock, a circular
dependency is created.&lt;/p&gt;
&lt;p&gt;Fix this by releasing vsock_register_mutex before calling
transport-&amp;gt;release() and vsock_deassign_transport(). This is safe
because we don&amp;#39;t need to hold vsock_register_mutex while releasing the
old transport, and we ensure the new transport won&amp;#39;t disappear by
obtaining a module reference first via try_module_get().&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;vsock: fix lock inversion in vsock_assign_transport()&lt;/p&gt;
&lt;p&gt;Syzbot reported a potential lock inversion deadlock between
vsock_register_mutex and sk_lock-AF_VSOCK when vsock_linger() is called.&lt;/p&gt;
&lt;p&gt;The issue was introduced by commit 687aa0c5581b (&amp;#34;vsock: Fix
transport_* TOCTOU&amp;#34;) which added vsock_register_mutex locking in
vsock_assign_transport() around the transport-&amp;gt;release() call, that can
call vsock_linger(). vsock_assign_transport() can be called with sk_lock
held. vsock_linger() calls sk_wait_event() that temporarily releases and
re-acquires sk_lock. During this window, if another thread hold
vsock_register_mutex while trying to acquire sk_lock, a circular
dependency is created.&lt;/p&gt;
&lt;p&gt;Fix this by releasing vsock_register_mutex before calling
transport-&amp;gt;release() and vsock_deassign_transport(). This is safe
because we don&amp;#39;t need to hold vsock_register_mutex while releasing the
old transport, and we ensure the new transport won&amp;#39;t disappear by
obtaining a module reference first via try_module_get().&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-40231</guid>
    </item>
  </channel>
</rss>
