<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T19:42:52.229343+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-99876</id>
    <title>CVE-2026-99876 — cpufreq: stats: Fix potential out-of-bounds access in deferred reset</title>
    <updated>2026-12-04T19:42:52.231545+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>cpufreq: stats: Fix potential out-of-bounds access in deferred reset</p>
<p>cpufreq_stats_create_table() sets stats-&gt;last_index to -1 if policy-&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.</p>
<p>Commit 46a310b80bc2 ("[CPUFREQ] Don't set stat-&gt;last_index to -1 if
the pol-&gt;cur has incorrect value.") added that check. However, since
commit 40c3bd4cfa6f ("cpufreq: stats: Defer stats update to
cpufreq_stats_record_transition()"), 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 "reset" attribute is written while
last_index is -1, the next frequency transition accesses
time_in_state[-1].</p>
<p>Fix it by also returning early on last_index == -1 in
cpufreq_stats_reset_table().</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-99876"/>
  </entry>
</feed>
