<?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 18:41:40 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99874 — drm/amdkfd: Validate the control stack of a restored queue</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99874</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: Validate the control stack of a restored queue&lt;/p&gt;
&lt;p&gt;kfd_criu_restore_queue() takes the control stack size from the
checkpoint image without the topology check create-queue does in
kfd_queue_acquire_buffers(), which restore stopped calling in
commit 1cafa8b29e02 (&amp;#34;drm/amdkfd: Don&amp;#39;t acquire buffers
during CRIU queue restore.&amp;#34;). An image size of 0x300000 is accepted and
sizes the MQD allocation, and 0xFFFFFFFF trips a page allocator warning
in kmalloc().&lt;/p&gt;
&lt;p&gt;restore_mqd() also keeps the image&amp;#39;s cp_hqd_cntl_stack_size,
cp_hqd_cntl_stack_offset and cp_hqd_wg_state_offset. With offset &amp;gt; size
or wave state offset &amp;lt; size, get_wave_state() returns wrapped sizes.&lt;/p&gt;
&lt;p&gt;Take the per-XCC size from topology, 0 for queues without a control
stack, and reject larger images. In restore_mqd(), set the size to it
and bound both offsets as init_mqd() does.&lt;/p&gt;
&lt;p&gt;(cherry picked from commit 92249023caee17bfc6f29c71d6aaa5f2298cf507)&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: Validate the control stack of a restored queue&lt;/p&gt;
&lt;p&gt;kfd_criu_restore_queue() takes the control stack size from the
checkpoint image without the topology check create-queue does in
kfd_queue_acquire_buffers(), which restore stopped calling in
commit 1cafa8b29e02 (&amp;#34;drm/amdkfd: Don&amp;#39;t acquire buffers
during CRIU queue restore.&amp;#34;). An image size of 0x300000 is accepted and
sizes the MQD allocation, and 0xFFFFFFFF trips a page allocator warning
in kmalloc().&lt;/p&gt;
&lt;p&gt;restore_mqd() also keeps the image&amp;#39;s cp_hqd_cntl_stack_size,
cp_hqd_cntl_stack_offset and cp_hqd_wg_state_offset. With offset &amp;gt; size
or wave state offset &amp;lt; size, get_wave_state() returns wrapped sizes.&lt;/p&gt;
&lt;p&gt;Take the per-XCC size from topology, 0 for queues without a control
stack, and reject larger images. In restore_mqd(), set the size to it
and bound both offsets as init_mqd() does.&lt;/p&gt;
&lt;p&gt;(cherry picked from commit 92249023caee17bfc6f29c71d6aaa5f2298cf507)&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99874</guid>
    </item>
  </channel>
</rss>
