PT-2026-162843
CVE-2026-99876
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
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().
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾