StraitOfVuln
Latest / CVE-2026-99876

CVE-2026-99876

Not yet scoredReceived
CVE.org ↗NVD ↗

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().

Details

CVE ID
CVE-2026-99876
Published / updated
30 Nov 2026, 14:20 UTC · last modified 30 Nov 2026, 14:20 UTC
Severity
Not yet scored by NVD
CVSS score
—
Affected vendor
Linux
Affected products
Linux
Affected versions
Linux: 40c3bd4cfa6fe5756344709b98611a1ddd15bf9d to before d1c6da8a2206e8939d27ba0946569389308e7808, 40c3bd4cfa6fe5756344709b98611a1ddd15bf9d to before d991a62546bb98e9e87fb97ea5d62d4cb00433e1, 40c3bd4cfa6fe5756344709b98611a1ddd15bf9d to before fa2e26c8531a11071bec15bbded56e759a8025e4, 40c3bd4cfa6fe5756344709b98611a1ddd15bf9d to before 5d4b0896f954d348cda6c1ba766332ecad3898a5, 40c3bd4cfa6fe5756344709b98611a1ddd15bf9d to before 778a4553b1c6ef05dd356503a2a227c4fb449072, 40c3bd4cfa6fe5756344709b98611a1ddd15bf9d to before f5841241474fa4465d24f88860ace7683fdc6fc7, 40c3bd4cfa6fe5756344709b98611a1ddd15bf9d to before c93782c737864bcc89b98a4ba778689b62fbbcb2, 40c3bd4cfa6fe5756344709b98611a1ddd15bf9d to before 8a702989677216489e471a6f27599da53f753567
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Linux d1c6da8a2206e8939d27ba0946569389308e7808, Linux d991a62546bb98e9e87fb97ea5d62d4cb00433e1, Linux fa2e26c8531a11071bec15bbded56e759a8025e4, Linux 5d4b0896f954d348cda6c1ba766332ecad3898a5, Linux 778a4553b1c6ef05dd356503a2a227c4fb449072, Linux f5841241474fa4465d24f88860ace7683fdc6fc7, Linux c93782c737864bcc89b98a4ba778689b62fbbcb2, Linux 8a702989677216489e471a6f27599da53f753567
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.22% probability of exploitation in the next 30 days · 13% percentile (02 Dec 2026)
Weakness
—
Remediation
See the vendor advisory below.
Source (CNA)
416baaa9-dc9f-4396-8d5f-8c081fb06d67