EnvMap GitHub

CVE-2026-142943

ASoC: amd: acp3x-es83xx: Keep an owned codec device reference

Not scored yetEPSS 0.28%Received

Description

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.

In the words of the organisation that published it (Linux).

Affected

  • Linux: from 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5 before 107a5028b008c937e6347b16826; from 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5 before 60263bba81e08d7b4c9d7d8f106; from 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5 before cba4fbc02480f6ab797b45119bb; from 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5 before 095025078dc3a1b4f0fcdc8b8d9; 6.7

as the publisher (Linux) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.28% chance of exploitation in the next 30 days, higher than 21% of all CVEs (as of 4 December 2026).

References

Record

Published04:18 UTC, 3 December 2026
Last changed04:18 UTC, 3 December 2026
NVD statusReceived
Published byLinux

CVE-2026-142943 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.