{"id":"CVE-2026-142944","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T04:18:36.077","lastModified":"2026-12-03T04:18:36.077","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["sound/soc/amd/acp-es8336.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"02527c3f2300100a25524c8c020d98c7957e485e","lessThan":"90a3b2382fa03eea7a3b8a466c598429e6ab455f","versionType":"git","status":"affected"},{"version":"02527c3f2300100a25524c8c020d98c7957e485e","lessThan":"40600faa6707cdc0f24070aeea4543916492dbc7","versionType":"git","status":"affected"},{"version":"02527c3f2300100a25524c8c020d98c7957e485e","lessThan":"b50eae8904c7544c8150afa17efb81b6294b80e3","versionType":"git","status":"affected"},{"version":"02527c3f2300100a25524c8c020d98c7957e485e","lessThan":"00802651267b8d669e47650c5ad2387ae262c2fe","versionType":"git","status":"affected"},{"version":"02527c3f2300100a25524c8c020d98c7957e485e","lessThan":"ad073b81fd12ff0c64206f693db0f62f7fcaec35","versionType":"git","status":"affected"},{"version":"02527c3f2300100a25524c8c020d98c7957e485e","lessThan":"c257e3bcb36f4597d6dbb6fbc546e466ef53e385","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["sound/soc/amd/acp-es8336.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.0","status":"affected"},{"version":"0","lessThan":"6.0","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/00802651267b8d669e47650c5ad2387ae262c2fe","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/40600faa6707cdc0f24070aeea4543916492dbc7","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/90a3b2382fa03eea7a3b8a466c598429e6ab455f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ad073b81fd12ff0c64206f693db0f62f7fcaec35","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b50eae8904c7544c8150afa17efb81b6294b80e3","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c257e3bcb36f4597d6dbb6fbc546e466ef53e385","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}