<?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>Wed, 30 Sep 2026 22:35:51 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-38593 — Bluetooth: hci_sync: fix double free in 'hci_discovery_filter_clear()'</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-38593</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;Bluetooth: hci_sync: fix double free in &amp;#39;hci_discovery_filter_clear()&amp;#39;&lt;/p&gt;
&lt;p&gt;Function &amp;#39;hci_discovery_filter_clear()&amp;#39; frees &amp;#39;uuids&amp;#39; array and then
sets it to NULL. There is a tiny chance of the following race:&lt;/p&gt;
&lt;p&gt;&amp;#39;hci_cmd_sync_work()&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;#39;update_passive_scan_sync()&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;#39;hci_update_passive_scan_sync()&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;#39;hci_discovery_filter_clear()&amp;#39;
       kfree(uuids);&lt;/p&gt;
&lt;p&gt;&amp;lt;-------------------------preempted--------------------------------&amp;gt;
                                           &amp;#39;start_service_discovery()&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;#39;hci_discovery_filter_clear()&amp;#39;
                                               kfree(uuids); // DOUBLE FREE&lt;/p&gt;
&lt;p&gt;&amp;lt;-------------------------preempted--------------------------------&amp;gt;&lt;/p&gt;
&lt;p&gt;uuids = NULL;&lt;/p&gt;
&lt;p&gt;To fix it let&amp;#39;s add locking around &amp;#39;kfree()&amp;#39; call and NULL pointer
assignment. Otherwise the following backtrace fires:&lt;/p&gt;
&lt;p&gt;[ ] ------------[ cut here ]------------
[ ] kernel BUG at mm/slub.c:547!
[ ] Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
[ ] CPU: 3 UID: 0 PID: 246 Comm: bluetoothd Tainted: G O 6.12.19-kernel #1
[ ] Tainted: [O]=OOT_MODULE
[ ] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ ] pc : __slab_free+0xf8/0x348
[ ] lr : __slab_free+0x48/0x348
...
[ ] Call trace:
[ ]  __slab_free+0xf8/0x348
[ ]  kfree+0x164/0x27c
[ ]  start_service_discovery+0x1d0/0x2c0
[ ]  hci_sock_sendmsg+0x518/0x924
[ ]  __sock_sendmsg+0x54/0x60
[ ]…&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;Bluetooth: hci_sync: fix double free in &amp;#39;hci_discovery_filter_clear()&amp;#39;&lt;/p&gt;
&lt;p&gt;Function &amp;#39;hci_discovery_filter_clear()&amp;#39; frees &amp;#39;uuids&amp;#39; array and then
sets it to NULL. There is a tiny chance of the following race:&lt;/p&gt;
&lt;p&gt;&amp;#39;hci_cmd_sync_work()&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;#39;update_passive_scan_sync()&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;#39;hci_update_passive_scan_sync()&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;#39;hci_discovery_filter_clear()&amp;#39;
       kfree(uuids);&lt;/p&gt;
&lt;p&gt;&amp;lt;-------------------------preempted--------------------------------&amp;gt;
                                           &amp;#39;start_service_discovery()&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;#39;hci_discovery_filter_clear()&amp;#39;
                                               kfree(uuids); // DOUBLE FREE&lt;/p&gt;
&lt;p&gt;&amp;lt;-------------------------preempted--------------------------------&amp;gt;&lt;/p&gt;
&lt;p&gt;uuids = NULL;&lt;/p&gt;
&lt;p&gt;To fix it let&amp;#39;s add locking around &amp;#39;kfree()&amp;#39; call and NULL pointer
assignment. Otherwise the following backtrace fires:&lt;/p&gt;
&lt;p&gt;[ ] ------------[ cut here ]------------
[ ] kernel BUG at mm/slub.c:547!
[ ] Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
[ ] CPU: 3 UID: 0 PID: 246 Comm: bluetoothd Tainted: G O 6.12.19-kernel #1
[ ] Tainted: [O]=OOT_MODULE
[ ] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ ] pc : __slab_free+0xf8/0x348
[ ] lr : __slab_free+0x48/0x348
...
[ ] Call trace:
[ ]  __slab_free+0xf8/0x348
[ ]  kfree+0x164/0x27c
[ ]  start_service_discovery+0x1d0/0x2c0
[ ]  hci_sock_sendmsg+0x518/0x924
[ ]  __sock_sendmsg+0x54/0x60
[ ]…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-38593</guid>
    </item>
  </channel>
</rss>
