<?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>Sat, 03 Oct 2026 11:56:16 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-39860 — Bluetooth: Fix use-after-free in l2cap_sock_cleanup_listen()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-39860</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens RUGGEDCOM RST2428P, Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family, Siemens SCALANCE XCH328, Siemens SCALANCE XCM324, Siemens SCALANCE XCM328, Siemens SCALANCE XCM332, Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC), Siemens SCALANCE XRM334 (230 V AC, 12xFO), Siemens SCALANCE XRM334 (230 V AC, 8xFO) and 8 more&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;Bluetooth: Fix use-after-free in l2cap_sock_cleanup_listen()&lt;/p&gt;
&lt;p&gt;syzbot reported the splat below without a repro.&lt;/p&gt;
&lt;p&gt;In the splat, a single thread calling bt_accept_dequeue() freed sk
and touched it after that.&lt;/p&gt;
&lt;p&gt;The root cause would be the racy l2cap_sock_cleanup_listen() call
added by the cited commit.&lt;/p&gt;
&lt;p&gt;bt_accept_dequeue() is called under lock_sock() except for
l2cap_sock_release().&lt;/p&gt;
&lt;p&gt;Two threads could see the same socket during the list iteration
in bt_accept_dequeue():&lt;/p&gt;
&lt;p&gt;CPU1                        CPU2 (close())
  ----                        ----
  sock_hold(sk)               sock_hold(sk);
  lock_sock(sk)   &amp;lt;-- block close()
  sock_put(sk)
  bt_accept_unlink(sk)
    sock_put(sk)  &amp;lt;-- refcnt by bt_accept_enqueue()
  release_sock(sk)
                              lock_sock(sk)
                              sock_put(sk)
                              bt_accept_unlink(sk)
                                sock_put(sk)        &amp;lt;-- last refcnt
                              bt_accept_unlink(sk)  &amp;lt;-- UAF&lt;/p&gt;
&lt;p&gt;Depending on the timing, the other thread could show up in the
&amp;#34;Freed by task&amp;#34; part.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s call l2cap_sock_cleanup_listen() under lock_sock() in
l2cap_sock_release().&lt;/p&gt;
&lt;p&gt;[0]:
BUG: KASAN: slab-use-after-free in debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline]
BUG: KASAN: slab-use-after-free in do_raw_spin_lock+0x26f/0x2b0 kernel/locking/spinlock_debug.c:115
Read of size 4 at addr ffff88803b7eb1c4 by ta…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens RUGGEDCOM RST2428P, Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family, Siemens SCALANCE XCH328, Siemens SCALANCE XCM324, Siemens SCALANCE XCM328, Siemens SCALANCE XCM332, Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC), Siemens SCALANCE XRM334 (230 V AC, 12xFO), Siemens SCALANCE XRM334 (230 V AC, 8xFO) and 8 more&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;Bluetooth: Fix use-after-free in l2cap_sock_cleanup_listen()&lt;/p&gt;
&lt;p&gt;syzbot reported the splat below without a repro.&lt;/p&gt;
&lt;p&gt;In the splat, a single thread calling bt_accept_dequeue() freed sk
and touched it after that.&lt;/p&gt;
&lt;p&gt;The root cause would be the racy l2cap_sock_cleanup_listen() call
added by the cited commit.&lt;/p&gt;
&lt;p&gt;bt_accept_dequeue() is called under lock_sock() except for
l2cap_sock_release().&lt;/p&gt;
&lt;p&gt;Two threads could see the same socket during the list iteration
in bt_accept_dequeue():&lt;/p&gt;
&lt;p&gt;CPU1                        CPU2 (close())
  ----                        ----
  sock_hold(sk)               sock_hold(sk);
  lock_sock(sk)   &amp;lt;-- block close()
  sock_put(sk)
  bt_accept_unlink(sk)
    sock_put(sk)  &amp;lt;-- refcnt by bt_accept_enqueue()
  release_sock(sk)
                              lock_sock(sk)
                              sock_put(sk)
                              bt_accept_unlink(sk)
                                sock_put(sk)        &amp;lt;-- last refcnt
                              bt_accept_unlink(sk)  &amp;lt;-- UAF&lt;/p&gt;
&lt;p&gt;Depending on the timing, the other thread could show up in the
&amp;#34;Freed by task&amp;#34; part.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s call l2cap_sock_cleanup_listen() under lock_sock() in
l2cap_sock_release().&lt;/p&gt;
&lt;p&gt;[0]:
BUG: KASAN: slab-use-after-free in debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline]
BUG: KASAN: slab-use-after-free in do_raw_spin_lock+0x26f/0x2b0 kernel/locking/spinlock_debug.c:115
Read of size 4 at addr ffff88803b7eb1c4 by ta…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-39860</guid>
    </item>
  </channel>
</rss>
