CVE-2026-142944

Source
https://cve.org/CVERecord?id=CVE-2026-142944
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142944.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142944
Published
2026-12-03T03:26:12Z
Modified
2026-12-03T05:01:14Z
Summary
ASoC: amd: acp-es8336: Use an owned codec device reference
Details

In the Linux kernel, the following vulnerability has been resolved:

ASoC: amd: acp-es8336: Use an owned codec device reference

acpi_get_first_physical_node() returns a borrowed device pointer. If the pa-enable GPIO lookup fails, st_es8336_late_probe() puts that pointer despite not owning a reference. A later physical-node teardown can then release the device while device_del() is still using it.

This was reproduced on current mainline with the real static late-probe callback and normal platform-device unregister. The GPIO lookup returned -EPROBE_DEFER and KASAN reported a slab-use-after-free in device_del(), with the object freed by acpi_unbind_one().

Use acpi_bus_get_primary_device(), which obtains a stable device reference under the physical-node lock, and release it at callback exit with scoped cleanup. Keep the reference callback-local because late probe can be retried; registering one devres action per attempt would accumulate references.

The same KASAN guest with this change reached the same -EPROBE_DEFER and unregister path without KASAN, WARNING, Oops or panic. The test directly invoked the production callback and did not emulate a complete ASoC card or physical AMD hardware.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142944.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
02527c3f2300100a25524c8c020d98c7957e485e
Fixed
90a3b2382fa03eea7a3b8a466c598429e6ab455f
Fixed
40600faa6707cdc0f24070aeea4543916492dbc7
Fixed
b50eae8904c7544c8150afa17efb81b6294b80e3
Fixed
00802651267b8d669e47650c5ad2387ae262c2fe
Fixed
ad073b81fd12ff0c64206f693db0f62f7fcaec35
Show 1 more event Show fewer events
Fixed
c257e3bcb36f4597d6dbb6fbc546e466ef53e385

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142944.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142944.json"