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

Summary

CVECVE-2026-142944
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 04:18:36 UTC
Updated2026-12-03 04:18:36 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 02527c3f2300100a25524c8c020d98c7957e485e 90a3b2382fa03eea7a3b8a466c598429e6ab455f git Not specified
CNA Linux Linux affected 02527c3f2300100a25524c8c020d98c7957e485e 40600faa6707cdc0f24070aeea4543916492dbc7 git Not specified
CNA Linux Linux affected 02527c3f2300100a25524c8c020d98c7957e485e b50eae8904c7544c8150afa17efb81b6294b80e3 git Not specified
CNA Linux Linux affected 02527c3f2300100a25524c8c020d98c7957e485e 00802651267b8d669e47650c5ad2387ae262c2fe git Not specified
CNA Linux Linux affected 02527c3f2300100a25524c8c020d98c7957e485e ad073b81fd12ff0c64206f693db0f62f7fcaec35 git Not specified
CNA Linux Linux affected 02527c3f2300100a25524c8c020d98c7957e485e c257e3bcb36f4597d6dbb6fbc546e466ef53e385 git Not specified
CNA Linux Linux affected 6.0 Not specified
CNA Linux Linux unaffected 6.0 semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/00802651267b8d669e47650c5ad2387ae262c2fe 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/90a3b2382fa03eea7a3b8a466c598429e6ab455f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ad073b81fd12ff0c64206f693db0f62f7fcaec35 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b50eae8904c7544c8150afa17efb81b6294b80e3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/40600faa6707cdc0f24070aeea4543916492dbc7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c257e3bcb36f4597d6dbb6fbc546e466ef53e385 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report