PT-2026-152596
CVE-2026-99716
·
تاريخ النشر
2026-11-20
·
تاريخ التحديث
2026-11-20
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
hwmon: (coretemp) Set nr cores only after core data allocation succeeds
In init temp data(), pdata->nr cores is populated from
topology num cores per package() before allocating pdata->core data. If
that allocation fails, init temp data() returns NULL with
pdata->core data still NULL and pdata->nr cores set to a positive value.
coretemp add core() logs the error without failing coretemp cpu online(),
so the CPU still comes online with pdata->hwmon dev registered. When the
CPU is later taken offline (or the module is unloaded),
coretemp cpu offline() calls get temp data(pd, cpu), which loops up to
pdata->nr cores and dereferences the NULL pdata->core data pointer.
Store the core count in a local variable and assign pdata->nr cores only
after pdata->core data is allocated, preserving the invariant that
pdata->nr cores is zero whenever pdata->core data is NULL.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾