CVE-2026-142943

Not scored yetLast modified Dec 3, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-142944In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: acp-es8336: Use an owned codec device reference acpi_get_fiCVE-2026-142945In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device() RCVE-2026-142946In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device() RepCVE-2026-142947In the Linux kernel, the following vulnerability has been resolved: cxl/core: Skip einj_inject creation when devm_add_action_or_reset() faiCVE-2026-142948In the Linux kernel, the following vulnerability has been resolved: i2c: designware: queue only one read command for block reads i2c_dw_xfCVE-2026-142949In the Linux kernel, the following vulnerability has been resolved: tcp: fix NULL pointer dereference when restarting a Fast Open listener CVE-2026-142950In the Linux kernel, the following vulnerability has been resolved: nvme: fix deadlock on nvme_subsystems_lock in nvme_init_subsystem() CoCVE-2026-142951In the Linux kernel, the following vulnerability has been resolved: sctp: fix skb_over_panic when adding addresses with a pending delete ofCVE-2026-142952In the Linux kernel, the following vulnerability has been resolved: accel/ivpu: Defer recovery until probe completes An error IRQ that firCVE-2026-142953In the Linux kernel, the following vulnerability has been resolved: gpio: mpsse: reject bulk-in endpoints smaller than 3 bytes mpsse_read(CVE-2026-142954In the Linux kernel, the following vulnerability has been resolved: blk-mq: take quiesce_lock when removing a queue from the tag set UnquiCVE-2026-142955In the Linux kernel, the following vulnerability has been resolved: fou: reserve headroom before pushing the encap header ip_tunnel_xmit()
CVE-2026-142943: Unscored | Vulnix