PT-2026-152597
CVE-2026-99717
·
تاريخ النشر
2026-11-20
·
تاريخ التحديث
2026-11-20
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
hwmon: (pmbus/q54sj108a2) Add missing NULL pointer check
When CONFIG DEBUG FS is enabled and per-client PMBus debugfs directory
creation fails during pmbus do probe(), q54sj108a2 probe() passes the NULL
pointer returned by pmbus get debugfs dir() to debugfs create dir()
without validation, creating its debugfs directory at the debugfs root
instead of under the client directory.
If pmbus init debugfs() fails to create the client directory, data->debugfs
is left as NULL or an ERR PTR, which pmbus get debugfs dir() converts to
NULL. Passing a NULL parent to debugfs create dir() places q54sj108a2 dir
in the root of the debugfs filesystem and populates it with attribute files
whose private data pointers reference psu->debugfs entries. Because this
root-level directory is outside the client debugfs hierarchy, PMBus core
cleanup does not remove it on device unbind, leaking the debugfs entries
and causing a use-after-free of the devm-allocated struct q54sj108a2 data
if the orphaned files are accessed via q54sj108a2 debugfs read() or
q54sj108a2 debugfs write() after device removal.
Fix the problem by adding the missing NULL pointer check.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾