<?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>Tue, 01 Dec 2026 09:51:49 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99986 — drm/amdkfd: fix doorbell allocation race creating duplicate allocations</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99986</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;drm/amdkfd: fix doorbell allocation race creating duplicate allocations&lt;/p&gt;
&lt;p&gt;The check-and-allocate sequence on pdd-&amp;gt;qpd.proc_doorbells is
lockless at every call site of kfd_alloc_process_doorbells():
kfd_get_process_doorbells() (mmap of /dev/kfd),
kfd_ioctl_create_queue() and the CRIU restore path each test the
pointer under different locking (or none), so two racing threads can
both observe NULL and each allocate a doorbell BO and bitmap,
orphaning one allocation and handing the two mappings different
backing pages.&lt;/p&gt;
&lt;p&gt;Move the serialization into kfd_alloc_process_doorbells() itself,
using a new per-process-device mutex so all three call sites are
covered regardless of their own locking.  The device-global
kfd-&amp;gt;doorbell_mutex is not suitable here: it is acquired under
dqm-&amp;gt;lock on the kernel-doorbell path (start_cpsch() -&amp;gt; pm_init() -&amp;gt;
kq_initialize() -&amp;gt; kfd_get_kernel_doorbell()), so holding it across
the sleeping allocations above would create a lock-ordering
inversion with dqm-&amp;gt;lock via TTM eviction, and it would also
serialize doorbell setup of unrelated processes behind a
device-wide lock for per-process state.&lt;/p&gt;
&lt;p&gt;This issue was discovered by Tencent CodeBuddy Security.&lt;/p&gt;
&lt;p&gt;v3 (Felix Kuehling):
- Removed unlocked check in kfd_get_process_doorbell flagged as
  problematic by Sashiko Bot. Fall back to the locked check inside
  kfd_alloc_process_doorbells
- Added missing mutex_destroy
v4 (Felix Kuehling):
- Remove…&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;drm/amdkfd: fix doorbell allocation race creating duplicate allocations&lt;/p&gt;
&lt;p&gt;The check-and-allocate sequence on pdd-&amp;gt;qpd.proc_doorbells is
lockless at every call site of kfd_alloc_process_doorbells():
kfd_get_process_doorbells() (mmap of /dev/kfd),
kfd_ioctl_create_queue() and the CRIU restore path each test the
pointer under different locking (or none), so two racing threads can
both observe NULL and each allocate a doorbell BO and bitmap,
orphaning one allocation and handing the two mappings different
backing pages.&lt;/p&gt;
&lt;p&gt;Move the serialization into kfd_alloc_process_doorbells() itself,
using a new per-process-device mutex so all three call sites are
covered regardless of their own locking.  The device-global
kfd-&amp;gt;doorbell_mutex is not suitable here: it is acquired under
dqm-&amp;gt;lock on the kernel-doorbell path (start_cpsch() -&amp;gt; pm_init() -&amp;gt;
kq_initialize() -&amp;gt; kfd_get_kernel_doorbell()), so holding it across
the sleeping allocations above would create a lock-ordering
inversion with dqm-&amp;gt;lock via TTM eviction, and it would also
serialize doorbell setup of unrelated processes behind a
device-wide lock for per-process state.&lt;/p&gt;
&lt;p&gt;This issue was discovered by Tencent CodeBuddy Security.&lt;/p&gt;
&lt;p&gt;v3 (Felix Kuehling):
- Removed unlocked check in kfd_get_process_doorbell flagged as
  problematic by Sashiko Bot. Fall back to the locked check inside
  kfd_alloc_process_doorbells
- Added missing mutex_destroy
v4 (Felix Kuehling):
- Remove…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99986</guid>
    </item>
  </channel>
</rss>
