<?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-10-03T23:45:53.872313+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-2025-39860</id>
    <title>CVE-2025-39860 — Bluetooth: Fix use-after-free in l2cap_sock_cleanup_listen()</title>
    <updated>2026-10-03T23:45:54.026129+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> 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</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>Bluetooth: Fix use-after-free in l2cap_sock_cleanup_listen()</p>
<p>syzbot reported the splat below without a repro.</p>
<p>In the splat, a single thread calling bt_accept_dequeue() freed sk
and touched it after that.</p>
<p>The root cause would be the racy l2cap_sock_cleanup_listen() call
added by the cited commit.</p>
<p>bt_accept_dequeue() is called under lock_sock() except for
l2cap_sock_release().</p>
<p>Two threads could see the same socket during the list iteration
in bt_accept_dequeue():</p>
<p>CPU1                        CPU2 (close())
  ----                        ----
  sock_hold(sk)               sock_hold(sk);
  lock_sock(sk)   &lt;-- block close()
  sock_put(sk)
  bt_accept_unlink(sk)
    sock_put(sk)  &lt;-- refcnt by bt_accept_enqueue()
  release_sock(sk)
                              lock_sock(sk)
                              sock_put(sk)
                              bt_accept_unlink(sk)
                                sock_put(sk)        &lt;-- last refcnt
                              bt_accept_unlink(sk)  &lt;-- UAF</p>
<p>Depending on the timing, the other thread could show up in the
"Freed by task" part.</p>
<p>Let's call l2cap_sock_cleanup_listen() under lock_sock() in
l2cap_sock_release().</p>
<p>[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…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2025-39860"/>
  </entry>
</feed>
