<?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 08:25:12 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-64539 — Bluetooth: eir: Fix stack OOB write when prepending the Flags AD</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-64539</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: eir: Fix stack OOB write when prepending the Flags AD&lt;/p&gt;
&lt;p&gt;eir_create_adv_data() builds the advertising data into a fixed-size
buffer (&amp;#34;size&amp;#34;, 31 for the legacy path). It may prepend a 3-byte &amp;#34;Flags&amp;#34;
AD structure (LE_AD_NO_BREDR on an LE-only controller) and then copies
the per-instance data without checking that it still fits:&lt;/p&gt;
&lt;p&gt;memcpy(ptr, adv-&amp;gt;adv_data, adv-&amp;gt;adv_data_len);&lt;/p&gt;
&lt;p&gt;tlv_data_max_len() only reserves those 3 bytes when the user-supplied
flags carry a managed-flags bit, so an instance added with flags == 0 is
accepted with adv_data_len up to the full buffer. At advertise time the
flags are still prepended, and the memcpy() writes 3 + adv_data_len
bytes into the size-byte buffer:&lt;/p&gt;
&lt;p&gt;BUG: KASAN: stack-out-of-bounds in eir_create_adv_data (net/bluetooth/eir.c:301)
  Write of size 31 at addr ffff88800a547bdc by task kworker/u9:0/65
  Workqueue: hci0 hci_cmd_sync_work
   __asan_memcpy (mm/kasan/shadow.c:106)
   eir_create_adv_data (net/bluetooth/eir.c:301)
   hci_update_adv_data_sync (net/bluetooth/hci_sync.c:1310)
   hci_schedule_adv_instance_sync (net/bluetooth/hci_sync.c:1817)
   hci_cmd_sync_work (net/bluetooth/hci_sync.c:332)
  This frame has 1 object:
   [32, 64) &amp;#39;cp&amp;#39;&lt;/p&gt;
&lt;p&gt;The &amp;#34;Flags&amp;#34; structure is added by the kernel, not requested by
userspace, so only prepend it when it fits together with the instance
advertising data; when there is no room for both, drop the flags rather
than the user-provide…&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: eir: Fix stack OOB write when prepending the Flags AD&lt;/p&gt;
&lt;p&gt;eir_create_adv_data() builds the advertising data into a fixed-size
buffer (&amp;#34;size&amp;#34;, 31 for the legacy path). It may prepend a 3-byte &amp;#34;Flags&amp;#34;
AD structure (LE_AD_NO_BREDR on an LE-only controller) and then copies
the per-instance data without checking that it still fits:&lt;/p&gt;
&lt;p&gt;memcpy(ptr, adv-&amp;gt;adv_data, adv-&amp;gt;adv_data_len);&lt;/p&gt;
&lt;p&gt;tlv_data_max_len() only reserves those 3 bytes when the user-supplied
flags carry a managed-flags bit, so an instance added with flags == 0 is
accepted with adv_data_len up to the full buffer. At advertise time the
flags are still prepended, and the memcpy() writes 3 + adv_data_len
bytes into the size-byte buffer:&lt;/p&gt;
&lt;p&gt;BUG: KASAN: stack-out-of-bounds in eir_create_adv_data (net/bluetooth/eir.c:301)
  Write of size 31 at addr ffff88800a547bdc by task kworker/u9:0/65
  Workqueue: hci0 hci_cmd_sync_work
   __asan_memcpy (mm/kasan/shadow.c:106)
   eir_create_adv_data (net/bluetooth/eir.c:301)
   hci_update_adv_data_sync (net/bluetooth/hci_sync.c:1310)
   hci_schedule_adv_instance_sync (net/bluetooth/hci_sync.c:1817)
   hci_cmd_sync_work (net/bluetooth/hci_sync.c:332)
  This frame has 1 object:
   [32, 64) &amp;#39;cp&amp;#39;&lt;/p&gt;
&lt;p&gt;The &amp;#34;Flags&amp;#34; structure is added by the kernel, not requested by
userspace, so only prepend it when it fits together with the instance
advertising data; when there is no room for both, drop the flags rather
than the user-provide…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-64539</guid>
    </item>
  </channel>
</rss>
