CVE-2026-142944

high

Description

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.

References

https://git.kernel.org/stable/c/c257e3bcb36f4597d6dbb6fbc546e466ef53e385

https://git.kernel.org/stable/c/b50eae8904c7544c8150afa17efb81b6294b80e3

https://git.kernel.org/stable/c/ad073b81fd12ff0c64206f693db0f62f7fcaec35

https://git.kernel.org/stable/c/90a3b2382fa03eea7a3b8a466c598429e6ab455f

https://git.kernel.org/stable/c/40600faa6707cdc0f24070aeea4543916492dbc7

https://git.kernel.org/stable/c/00802651267b8d669e47650c5ad2387ae262c2fe

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-142353

Details

Source: Mitre, NVD

Published: 2026-12-03

Updated: 2026-12-03

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 7.8

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High

EPSS

EPSS: 0.00283