<?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>Fri, 09 Oct 2026 15:31:55 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98176 — drm/amdkfd: Avoid integer underflow with ffs in EOP ring size calc</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-98176</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: Avoid integer underflow with ffs in EOP ring size calc&lt;/p&gt;
&lt;p&gt;The low 6 bits of cp_hqd_eop_control store the base-2 logarithm
of the EOP ring size. This was calculated as&lt;/p&gt;
&lt;p&gt;ffs(q-&amp;gt;eop_ring_buffer_size / sizeof(unsigned int)) - 1 - 1&lt;/p&gt;
&lt;p&gt;But ffs can in theory return 1 or 0, so this could underflow
(although in practice the ring buffer size cannot be less than 4096).&lt;/p&gt;
&lt;p&gt;Change this to&lt;/p&gt;
&lt;p&gt;ffs(q-&amp;gt;eop_ring_buffer_size / sizeof(unsigned int) / 4)&lt;/p&gt;
&lt;p&gt;using properties of logarithms.&lt;/p&gt;
&lt;p&gt;(cherry picked from commit 4f18c56630383c14bfc6b2d65f88f2f895d2121a)&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: Avoid integer underflow with ffs in EOP ring size calc&lt;/p&gt;
&lt;p&gt;The low 6 bits of cp_hqd_eop_control store the base-2 logarithm
of the EOP ring size. This was calculated as&lt;/p&gt;
&lt;p&gt;ffs(q-&amp;gt;eop_ring_buffer_size / sizeof(unsigned int)) - 1 - 1&lt;/p&gt;
&lt;p&gt;But ffs can in theory return 1 or 0, so this could underflow
(although in practice the ring buffer size cannot be less than 4096).&lt;/p&gt;
&lt;p&gt;Change this to&lt;/p&gt;
&lt;p&gt;ffs(q-&amp;gt;eop_ring_buffer_size / sizeof(unsigned int) / 4)&lt;/p&gt;
&lt;p&gt;using properties of logarithms.&lt;/p&gt;
&lt;p&gt;(cherry picked from commit 4f18c56630383c14bfc6b2d65f88f2f895d2121a)&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-98176</guid>
    </item>
  </channel>
</rss>
