<?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 19:27:46 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-138827 — platform/x86/amd: hfi: Fix out-of-bounds reads when parsing ranking data</title>
      <link>https://db.gcve.eu/vuln/cve-2026-138827</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;platform/x86/amd: hfi: Fix out-of-bounds reads when parsing ranking data&lt;/p&gt;
&lt;p&gt;amd_hfi_fill_metadata() parses CPU core ranking data out of the
firmware-provided PCC shared memory but trusts two values it should not:&lt;/p&gt;
&lt;p&gt;- n_bitmaps is used to bound the outer loop that reads the APIC ID
   bitmaps from table_data[], but it is never validated against the size
   of the shared memory region (pcct_ext-&amp;gt;length).  A firmware-supplied
   count larger than the region reads past the end of table_data.&lt;/p&gt;
&lt;p&gt;- When resolving the base of the ranking data for a processor, the
   pointer is shifted by an extra &amp;#34;i * nr_class&amp;#34; term, where i is the
   current bitmap index.  The per-processor offset is already applied
   through apic_index, which uses the running count of active processors
   (apic_start).  The extra shift compounds for every logical processor
   beyond the first bitmap (APIC ID &amp;gt;= 32), reading out of bounds.&lt;/p&gt;
&lt;p&gt;Both result in out-of-bounds reads that can corrupt the ranking metrics,
oops, or otherwise destabilise the system.&lt;/p&gt;
&lt;p&gt;Reject an n_bitmaps value that would not fit within the shared memory
region, and drop the bogus &amp;#34;i * nr_class&amp;#34; term so the ranking data is
addressed only through its correct per-processor offset.&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;platform/x86/amd: hfi: Fix out-of-bounds reads when parsing ranking data&lt;/p&gt;
&lt;p&gt;amd_hfi_fill_metadata() parses CPU core ranking data out of the
firmware-provided PCC shared memory but trusts two values it should not:&lt;/p&gt;
&lt;p&gt;- n_bitmaps is used to bound the outer loop that reads the APIC ID
   bitmaps from table_data[], but it is never validated against the size
   of the shared memory region (pcct_ext-&amp;gt;length).  A firmware-supplied
   count larger than the region reads past the end of table_data.&lt;/p&gt;
&lt;p&gt;- When resolving the base of the ranking data for a processor, the
   pointer is shifted by an extra &amp;#34;i * nr_class&amp;#34; term, where i is the
   current bitmap index.  The per-processor offset is already applied
   through apic_index, which uses the running count of active processors
   (apic_start).  The extra shift compounds for every logical processor
   beyond the first bitmap (APIC ID &amp;gt;= 32), reading out of bounds.&lt;/p&gt;
&lt;p&gt;Both result in out-of-bounds reads that can corrupt the ranking metrics,
oops, or otherwise destabilise the system.&lt;/p&gt;
&lt;p&gt;Reject an n_bitmaps value that would not fit within the shared memory
region, and drop the bogus &amp;#34;i * nr_class&amp;#34; term so the ranking data is
addressed only through its correct per-processor offset.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-138827</guid>
    </item>
  </channel>
</rss>
