CVE-2026-99876

cpufreq: stats: Fix potential out-of-bounds access in deferred reset

No CVSS score yet EPSS 0.22%

Published 30 Nov 2026 Updated 30 Nov 2026 CNA: Linux

Check your servers for CVE-2026-99876

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99876 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

cpufreq: stats: Fix potential out-of-bounds access in deferred reset

cpufreq_stats_create_table() sets stats->last_index to -1 if policy->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.

Commit 46a310b80bc2 ("[CPUFREQ] Don't set stat->last_index to -1 if the pol->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].

Fix it by also returning early on last_index == -1 in cpufreq_stats_reset_table().

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.4% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 40c3bd4cfa6fe5756344709b98611a1ddd15bf9d, before d1c6da8a2206e8939d27ba0946569389308e7808
affected from 40c3bd4cfa6fe5756344709b98611a1ddd15bf9d, before d991a62546bb98e9e87fb97ea5d62d4cb00433e1
affected from 40c3bd4cfa6fe5756344709b98611a1ddd15bf9d, before fa2e26c8531a11071bec15bbded56e759a8025e4
affected from 40c3bd4cfa6fe5756344709b98611a1ddd15bf9d, before 5d4b0896f954d348cda6c1ba766332ecad3898a5
affected from 40c3bd4cfa6fe5756344709b98611a1ddd15bf9d, before 778a4553b1c6ef05dd356503a2a227c4fb449072
affected from 40c3bd4cfa6fe5756344709b98611a1ddd15bf9d, before f5841241474fa4465d24f88860ace7683fdc6fc7
affected from 40c3bd4cfa6fe5756344709b98611a1ddd15bf9d, before c93782c737864bcc89b98a4ba778689b62fbbcb2
affected from 40c3bd4cfa6fe5756344709b98611a1ddd15bf9d, before 8a702989677216489e471a6f27599da53f753567
Other versions: unaffected
Linux
affected 5.10
unaffected before 5.10
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.117 up to and including 6.12.*
unaffected from 6.18.63 up to and including 6.18.*
unaffected from 7.3.4 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99876 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99876

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-99876
trivy image --scanners vuln IMAGE | grep CVE-2026-99876

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-99876 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.