# CVE-2026-142943: ASoC: amd: acp3x-es83xx: Keep an owned codec device reference

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:26:12.041Z
- **Modified:** 2026-12-03T04:18:35.937Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker can trigger a use-after-free in the Linux kernel's AMD ACP ES83xx sound driver by forcing a memory allocation failure during probe and unregister, via a borrowed device reference.

## Who should check

- Anyone running Linux \>= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5, \< 107a5028b008c937e6347b1682691c180579beb3; \>= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5, \< 60263bba81e08d7b4c9d7d8f10699d0fec0cfec5; \>= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5, \< cba4fbc02480f6ab797b45119bb1a05012bbe80e; \>= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5, \< 095025078dc3a1b4f0fcdc8b8d9dcb4d192a2a14
- Anyone running Linux 6.7

## 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.

## Affected and fixed versions

- Linux: \>= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5, \< 107a5028b008c937e6347b1682691c180579beb3; \>= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5, \< 60263bba81e08d7b4c9d7d8f10699d0fec0cfec5; \>= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5, \< cba4fbc02480f6ab797b45119bb1a05012bbe80e; \>= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5, \< 095025078dc3a1b4f0fcdc8b8d9dcb4d192a2a14 (cvelist)
- Linux: 6.7 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 095025078dc3a1b4f0fcdc8b8d9dcb4d192a2a14 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142943. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142943.md
Affected: Linux >= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5, < 107a5028b008c937e6347b1682691c180579beb3; >= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5, < 60263bba81e08d7b4c9d7d8f10699d0fec0cfec5; >= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5, < cba4fbc02480f6ab797b45119bb1a05012bbe80e; >= 54fcd9dd44b2c82a0262e29…
Fixed in: Linux 107a5028b008c937e6347b1682691c180579beb3, Linux 60263bba81e08d7b4c9d7d8f10699d0fec0cfec5, Linux 095025078dc3a1b4f0fcdc8b8d9dcb4d192a2a14

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142943 being exploited?

There is no confirmed exploitation: CVE-2026-142943 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142943?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142943?

Linux \>= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5, \< 107a5028b008c937e6347b1682691c180579beb3; \>= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5, \< 60263bba81e08d7b4c9d7d8f10699d0fec0cfec5; \>= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5, \< cba4fbc02480f6ab797b45119bb1a05012bbe80e; \>= 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5, \< 095025078dc3a1b4f0fcdc8b8d9dcb4d192a2a14; Linux 6.7.

### Is there a fix for CVE-2026-142943?

Yes. Fixed in Linux 107a5028b008c937e6347b1682691c180579beb3, Linux 60263bba81e08d7b4c9d7d8f10699d0fec0cfec5, Linux 095025078dc3a1b4f0fcdc8b8d9dcb4d192a2a14. Upgrade Linux to 095025078dc3a1b4f0fcdc8b8d9dcb4d192a2a14 or later.

### How do I check if I'm affected by CVE-2026-142943?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/107a5028b008c937e6347b1682691c180579beb3>
- other: <https://git.kernel.org/stable/c/60263bba81e08d7b4c9d7d8f10699d0fec0cfec5>
- other: <https://git.kernel.org/stable/c/cba4fbc02480f6ab797b45119bb1a05012bbe80e>
- other: <https://git.kernel.org/stable/c/095025078dc3a1b4f0fcdc8b8d9dcb4d192a2a14>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142943>

HTML: <https://flawdb.com/CVE-2026-142943> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142943>
