PT-2026-152597
CVE-2026-99717
·
Publicado
2026-11-20
·
Atualizado
2026-11-20
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
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.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾