PT-2026-166681
CVE-2026-142944
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾