PT-2026-166525
CVE-2026-142802
·
تاريخ النشر
2026-12-03
·
تاريخ التحديث
2026-12-03
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
platform/x86/amd: hfi: Fix a use-after-free when unloading the driver
amd hfi probe() registers CPU hotplug callbacks with
cpuhp setup state(CPUHP AP ONLINE DYN, ...) and schedules the static
sched amd hfi itmt work work item, but amd hfi remove() tears down
neither. The dynamically assigned hotplug state returned by
cpuhp setup state() is discarded, so cpuhp remove state() can never be
called, and the pending work is never cancelled.
After the module is unloaded and its memory is freed, any subsequent CPU
hotplug event or execution of the scheduled work dereferences the stale
callback and work function pointers, resulting in a use-after-free and
kernel panic.
Store the hotplug state returned by cpuhp setup state() and, on removal,
call cpuhp remove state() to unregister the callbacks and
cancel work sync() to flush the scheduled work before the module memory
goes away.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾