PT-2026-166680

CVE-2026-142943

·

Published

2026-12-03

·

Updated

2026-12-03

Description by

Score
N/A
Not available

No 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: acp3x-es83xx: Keep an owned codec device reference
acpi get first physical node() returns a borrowed device pointer. The private data allocation failure path in acp3x es83xx probe() puts that pointer despite not owning a reference. The successful path also saves the borrowed pointer for later card operations.
This was reproduced on current mainline with failslab restricted to the real static callback. The rejected devm kzalloc() returned -ENOMEM, and normal codec platform-device unregister then produced a KASAN slab-use-after-free in device del(), with allocation in acpi create platform device() and release in acpi unbind one().
Use acpi bus get primary device() to acquire the reference while the physical-node lock is held. After allocating private data, register a devres put action before publishing the pointer. This balances action allocation and later probe failures, keeps the saved pointer alive during card use, and drops the reference after ASoC card unregister during successful teardown. The existing OOM put now correctly balances the owned lookup.
The same filtered KASAN guest with this change reached the same -ENOMEM and unregister path without KASAN, WARNING, Oops or panic. The test directly invoked the production callback and did not emulate a complete ACP/ASoC card or physical Huawei hardware.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾