{"id":"CVE-2026-142944","summary":"ASoC: amd: acp-es8336: Use an owned codec device reference","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: amd: acp-es8336: Use an owned codec device reference\n\nacpi_get_first_physical_node() returns a borrowed device pointer. If the\npa-enable GPIO lookup fails, st_es8336_late_probe() puts that pointer\ndespite not owning a reference. A later physical-node teardown can then\nrelease the device while device_del() is still using it.\n\nThis was reproduced on current mainline with the real static late-probe\ncallback and normal platform-device unregister. The GPIO lookup returned\n-EPROBE_DEFER and KASAN reported a slab-use-after-free in device_del(),\nwith the object freed by acpi_unbind_one().\n\nUse acpi_bus_get_primary_device(), which obtains a stable device\nreference under the physical-node lock, and release it at callback exit\nwith scoped cleanup. Keep the reference callback-local because late probe\ncan be retried; registering one devres action per attempt would accumulate\nreferences.\n\nThe same KASAN guest with this change reached the same -EPROBE_DEFER and\nunregister path without KASAN, WARNING, Oops or panic. The test directly\ninvoked the production callback and did not emulate a complete ASoC card or\nphysical AMD hardware.","modified":"2026-12-03T05:01:14.748317918Z","published":"2026-12-03T03:26:12.680Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142944.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/00802651267b8d669e47650c5ad2387ae262c2fe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/40600faa6707cdc0f24070aeea4543916492dbc7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/90a3b2382fa03eea7a3b8a466c598429e6ab455f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ad073b81fd12ff0c64206f693db0f62f7fcaec35"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b50eae8904c7544c8150afa17efb81b6294b80e3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c257e3bcb36f4597d6dbb6fbc546e466ef53e385"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142944.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142944"}],"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"},{"fixed":"c257e3bcb36f4597d6dbb6fbc546e466ef53e385"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142944.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}