PT-2026-166681
CVE-2026-142944
·
Publicado
2026-12-03
·
Atualizado
2026-12-03
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:
ASoC: amd: acp-es8336: Use an owned codec device reference
acpi get first physical node() returns a borrowed device pointer. If the
pa-enable GPIO lookup fails, st es8336 late probe() puts that pointer
despite not owning a reference. A later physical-node teardown can then
release the device while device del() is still using it.
This was reproduced on current mainline with the real static late-probe
callback and normal platform-device unregister. The GPIO lookup returned
-EPROBE DEFER and KASAN reported a slab-use-after-free in device del(),
with the object freed by acpi unbind one().
Use acpi bus get primary device(), which obtains a stable device
reference under the physical-node lock, and release it at callback exit
with scoped cleanup. Keep the reference callback-local because late probe
can be retried; registering one devres action per attempt would accumulate
references.
The same KASAN guest with this change reached the same -EPROBE DEFER and
unregister path without KASAN, WARNING, Oops or panic. The test directly
invoked the production callback and did not emulate a complete ASoC card or
physical AMD hardware.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾