PT-2026-162843
CVE-2026-99876
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
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().
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾