<?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:32:50 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99876 — cpufreq: stats: Fix potential out-of-bounds access in deferred reset</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99876</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;cpufreq: stats: Fix potential out-of-bounds access in deferred reset&lt;/p&gt;
&lt;p&gt;cpufreq_stats_create_table() sets stats-&amp;gt;last_index to -1 if policy-&amp;gt;cur
is not in the frequency table. It then stays at -1, because
cpufreq_stats_record_transition() returns early on old_index == -1 before
it gets to update last_index.&lt;/p&gt;
&lt;p&gt;Commit 46a310b80bc2 (&amp;#34;[CPUFREQ] Don&amp;#39;t set stat-&amp;gt;last_index to -1 if
the pol-&amp;gt;cur has incorrect value.&amp;#34;) added that check. However, since
commit 40c3bd4cfa6f (&amp;#34;cpufreq: stats: Defer stats update to
cpufreq_stats_record_transition()&amp;#34;), the stats reset is deferred to the
beginning of cpufreq_stats_record_transition(), before that check, and
cpufreq_stats_reset_table() ends with an unconditional
cpufreq_stats_update(). So if the &amp;#34;reset&amp;#34; attribute is written while
last_index is -1, the next frequency transition accesses
time_in_state[-1].&lt;/p&gt;
&lt;p&gt;Fix it by also returning early on last_index == -1 in
cpufreq_stats_reset_table().&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;cpufreq: stats: Fix potential out-of-bounds access in deferred reset&lt;/p&gt;
&lt;p&gt;cpufreq_stats_create_table() sets stats-&amp;gt;last_index to -1 if policy-&amp;gt;cur
is not in the frequency table. It then stays at -1, because
cpufreq_stats_record_transition() returns early on old_index == -1 before
it gets to update last_index.&lt;/p&gt;
&lt;p&gt;Commit 46a310b80bc2 (&amp;#34;[CPUFREQ] Don&amp;#39;t set stat-&amp;gt;last_index to -1 if
the pol-&amp;gt;cur has incorrect value.&amp;#34;) added that check. However, since
commit 40c3bd4cfa6f (&amp;#34;cpufreq: stats: Defer stats update to
cpufreq_stats_record_transition()&amp;#34;), the stats reset is deferred to the
beginning of cpufreq_stats_record_transition(), before that check, and
cpufreq_stats_reset_table() ends with an unconditional
cpufreq_stats_update(). So if the &amp;#34;reset&amp;#34; attribute is written while
last_index is -1, the next frequency transition accesses
time_in_state[-1].&lt;/p&gt;
&lt;p&gt;Fix it by also returning early on last_index == -1 in
cpufreq_stats_reset_table().&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99876</guid>
    </item>
  </channel>
</rss>
