PT-2026-151729
CVE-2026-99518
·
تاريخ النشر
2026-11-19
·
تاريخ التحديث
2026-11-19
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
platform/x86: asus-wmi: fix use-after-free unregistering kbd led led
kbd led update all() registers asus->kbd led with
devm led classdev register() on the platform device, but kbd led is
embedded in struct asus wmi, which asus wmi remove() frees at its end.
The driver core calls .remove() before devres release all(), so the
deferred devres release runs led classdev unregister() on memory that
has already been freed. Whether that faults depends on whether the
slab has been reused in between, which makes the crash on module
unload intermittent and silently corrupts the led classdev state in
the remaining runs.
Unregister the led classdev explicitly in asus wmi led exit(), after
the led workqueue has been destroyed: kbd led work can then neither
run nor be queued anymore, since asus ref.asus is NULL too, so
kbd led registered is stable and the classdev can be released while
the memory embedding it is still alive. devm led classdev unregister()
also drops the devres entry, leaving nothing to run at unbind cleanup
time; it warns when no devres entry exists, hence the
kbd led registered check.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾