CVE-2026-142943
NVD
Vulnerability Summary
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.
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.
Affected & Patched Versions
- Linux >= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5 and < 107a5028b008c937e6347b1682691c180579beb3
- Linux >= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5 and < 60263bba81e08d7b4c9d7d8f10699d0fec0cfec5
- Linux >= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5 and < cba4fbc02480f6ab797b45119bb1a05012bbe80e
- Linux >= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5 and < 095025078dc3a1b4f0fcdc8b8d9dcb4d192a2a14
- Linux 6.7
- Linux 107a5028b008c937e6347b1682691c180579beb3
- Linux 60263bba81e08d7b4c9d7d8f10699d0fec0cfec5
- Linux cba4fbc02480f6ab797b45119bb1a05012bbe80e
- Linux 095025078dc3a1b4f0fcdc8b8d9dcb4d192a2a14
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Dec 3, 2026Published
- Dec 3, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-142943. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/095025078dc3a1b4f0fcdc8b8d9dcb4d192a2a14
- Referencehttps://git.kernel.org/stable/c/107a5028b008c937e6347b1682691c180579beb3
- Referencehttps://git.kernel.org/stable/c/60263bba81e08d7b4c9d7d8f10699d0fec0cfec5
- Referencehttps://git.kernel.org/stable/c/cba4fbc02480f6ab797b45119bb1a05012bbe80e
Data last checked: Dec 3, 2026 14:14 UTC