<?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://db.gcve.eu</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>Fri, 04 Dec 2026 19:50:01 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139376 — Bluetooth: msft: Lock failed probe cleanup against feature readers</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139376</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: msft: Lock failed probe cleanup against feature readers&lt;/p&gt;
&lt;p&gt;The MSFT data must remain allocated while msft_get_features() reads
its features. read_adv_mon_features() protects that access with
hdev-&amp;gt;lock, but msft_do_open() clears hdev-&amp;gt;msft_data and frees the
object without that lock when read_supported_features() fails.&lt;/p&gt;
&lt;p&gt;After a successful probe, the data survives a normal close. A later
open can fail the probe while a management feature request is running.
hci_mgmt_cmd() permits requests during HCI_INIT, and the opener&amp;#39;s
hdev-&amp;gt;req_lock does not serialize the management reader:&lt;/p&gt;
&lt;p&gt;Management feature request            HCI open
                                        hold hdev-&amp;gt;req_lock
                                        msft_do_open()
  hold hdev-&amp;gt;lock
  msft_get_features(): save msft
                                        read_supported_features() fails
                                        hdev-&amp;gt;msft_data = NULL
                                        kfree(msft)
  read msft-&amp;gt;features
  release hdev-&amp;gt;lock                     release hdev-&amp;gt;req_lock&lt;/p&gt;
&lt;p&gt;The saved pointer then refers to freed memory, causing a use-after-free
read. Advertisement reporting through mgmt_device_found() also reads
the features with hdev-&amp;gt;lock held.&lt;/p&gt;
&lt;p&gt;Take hdev-&amp;gt;lock around clearing and freeing msft_data in the failure
branch. An existing feature reader finishes before the free, while a
reader starting after cleanup s…&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: msft: Lock failed probe cleanup against feature readers&lt;/p&gt;
&lt;p&gt;The MSFT data must remain allocated while msft_get_features() reads
its features. read_adv_mon_features() protects that access with
hdev-&amp;gt;lock, but msft_do_open() clears hdev-&amp;gt;msft_data and frees the
object without that lock when read_supported_features() fails.&lt;/p&gt;
&lt;p&gt;After a successful probe, the data survives a normal close. A later
open can fail the probe while a management feature request is running.
hci_mgmt_cmd() permits requests during HCI_INIT, and the opener&amp;#39;s
hdev-&amp;gt;req_lock does not serialize the management reader:&lt;/p&gt;
&lt;p&gt;Management feature request            HCI open
                                        hold hdev-&amp;gt;req_lock
                                        msft_do_open()
  hold hdev-&amp;gt;lock
  msft_get_features(): save msft
                                        read_supported_features() fails
                                        hdev-&amp;gt;msft_data = NULL
                                        kfree(msft)
  read msft-&amp;gt;features
  release hdev-&amp;gt;lock                     release hdev-&amp;gt;req_lock&lt;/p&gt;
&lt;p&gt;The saved pointer then refers to freed memory, causing a use-after-free
read. Advertisement reporting through mgmt_device_found() also reads
the features with hdev-&amp;gt;lock held.&lt;/p&gt;
&lt;p&gt;Take hdev-&amp;gt;lock around clearing and freeing msft_data in the failure
branch. An existing feature reader finishes before the free, while a
reader starting after cleanup s…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139376</guid>
    </item>
  </channel>
</rss>
