<?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>Thu, 01 Oct 2026 06:48:58 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-45878 — drm/amdkfd: Fix watch_id bounds checking in debug address watch v2</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-45878</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 watch_id bounds checking in debug address watch v2&lt;/p&gt;
&lt;p&gt;The address watch clear code receives watch_id as an unsigned value
(u32), but some helper functions were using a signed int and checked
bits by shifting with watch_id.&lt;/p&gt;
&lt;p&gt;If a very large watch_id is passed from userspace, it can be converted
to a negative value.  This can cause invalid shifts and may access
memory outside the watch_points array.&lt;/p&gt;
&lt;p&gt;drm/amdkfd: Fix watch_id bounds checking in debug address watch v2&lt;/p&gt;
&lt;p&gt;Fix this by checking that watch_id is within MAX_WATCH_ADDRESSES before
using it.  Also use BIT(watch_id) to test and clear bits safely.&lt;/p&gt;
&lt;p&gt;This keeps the behavior unchanged for valid watch IDs and avoids
undefined behavior for invalid ones.&lt;/p&gt;
&lt;p&gt;Fixes the below:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c:448
kfd_dbg_trap_clear_dev_address_watch() error: buffer overflow
&amp;#39;pdd-&amp;gt;watch_points&amp;#39; 4 &amp;lt;= u32max user_rl=&amp;#39;0-3,2147483648-u32max&amp;#39; uncapped&lt;/p&gt;
&lt;p&gt;drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c
    433 int kfd_dbg_trap_clear_dev_address_watch(struct kfd_process_device *pdd,
    434                                         uint32_t watch_id)
    435 {
    436         int r;
    437
    438         if (!kfd_dbg_owns_dev_watch_id(pdd, watch_id))&lt;/p&gt;
&lt;p&gt;kfd_dbg_owns_dev_watch_id() doesn&amp;#39;t check for negative values so if
watch_id is larger than INT_MAX it leads to a buffer overflow.
(Negative shifts are undefined).&lt;/p&gt;
&lt;p&gt;439                 return -…&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 watch_id bounds checking in debug address watch v2&lt;/p&gt;
&lt;p&gt;The address watch clear code receives watch_id as an unsigned value
(u32), but some helper functions were using a signed int and checked
bits by shifting with watch_id.&lt;/p&gt;
&lt;p&gt;If a very large watch_id is passed from userspace, it can be converted
to a negative value.  This can cause invalid shifts and may access
memory outside the watch_points array.&lt;/p&gt;
&lt;p&gt;drm/amdkfd: Fix watch_id bounds checking in debug address watch v2&lt;/p&gt;
&lt;p&gt;Fix this by checking that watch_id is within MAX_WATCH_ADDRESSES before
using it.  Also use BIT(watch_id) to test and clear bits safely.&lt;/p&gt;
&lt;p&gt;This keeps the behavior unchanged for valid watch IDs and avoids
undefined behavior for invalid ones.&lt;/p&gt;
&lt;p&gt;Fixes the below:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c:448
kfd_dbg_trap_clear_dev_address_watch() error: buffer overflow
&amp;#39;pdd-&amp;gt;watch_points&amp;#39; 4 &amp;lt;= u32max user_rl=&amp;#39;0-3,2147483648-u32max&amp;#39; uncapped&lt;/p&gt;
&lt;p&gt;drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.c
    433 int kfd_dbg_trap_clear_dev_address_watch(struct kfd_process_device *pdd,
    434                                         uint32_t watch_id)
    435 {
    436         int r;
    437
    438         if (!kfd_dbg_owns_dev_watch_id(pdd, watch_id))&lt;/p&gt;
&lt;p&gt;kfd_dbg_owns_dev_watch_id() doesn&amp;#39;t check for negative values so if
watch_id is larger than INT_MAX it leads to a buffer overflow.
(Negative shifts are undefined).&lt;/p&gt;
&lt;p&gt;439                 return -…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-45878</guid>
    </item>
  </channel>
</rss>
