{"api_version":"1","generated_at":"2026-12-03T05:42:37+00:00","cve":"CVE-2026-142943","urls":{"html":"https://cve.report/CVE-2026-142943","api":"https://cve.report/api/cve/CVE-2026-142943.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-142943","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-142943"},"summary":{"title":"ASoC: amd: acp3x-es83xx: Keep an owned codec device reference","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: amd: acp3x-es83xx: Keep an owned codec device reference\n\nacpi_get_first_physical_node() returns a borrowed device pointer. The\nprivate data allocation failure path in acp3x_es83xx_probe() puts that\npointer despite not owning a reference. The successful path also saves the\nborrowed pointer for later card operations.\n\nThis was reproduced on current mainline with failslab restricted to the\nreal static callback. The rejected devm_kzalloc() returned -ENOMEM, and\nnormal codec platform-device unregister then produced a KASAN\nslab-use-after-free in device_del(), with allocation in\nacpi_create_platform_device() and release in acpi_unbind_one().\n\nUse acpi_bus_get_primary_device() to acquire the reference while the\nphysical-node lock is held. After allocating private data, register a\ndevres put action before publishing the pointer. This balances action\nallocation and later probe failures, keeps the saved pointer alive during\ncard use, and drops the reference after ASoC card unregister during\nsuccessful teardown. The existing OOM put now correctly balances the owned\nlookup.\n\nThe same filtered KASAN guest with this change reached the same -ENOMEM and\nunregister path without KASAN, WARNING, Oops or panic. The test directly\ninvoked the production callback and did not emulate a complete ACP/ASoC\ncard or physical Huawei hardware.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 04:18:35","updated_at":"2026-12-03 04:18:35"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/095025078dc3a1b4f0fcdc8b8d9dcb4d192a2a14","name":"https://git.kernel.org/stable/c/095025078dc3a1b4f0fcdc8b8d9dcb4d192a2a14","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cba4fbc02480f6ab797b45119bb1a05012bbe80e","name":"https://git.kernel.org/stable/c/cba4fbc02480f6ab797b45119bb1a05012bbe80e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/60263bba81e08d7b4c9d7d8f10699d0fec0cfec5","name":"https://git.kernel.org/stable/c/60263bba81e08d7b4c9d7d8f10699d0fec0cfec5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/107a5028b008c937e6347b1682691c180579beb3","name":"https://git.kernel.org/stable/c/107a5028b008c937e6347b1682691c180579beb3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-142943","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142943","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5 107a5028b008c937e6347b1682691c180579beb3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5 60263bba81e08d7b4c9d7d8f10699d0fec0cfec5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5 cba4fbc02480f6ab797b45119bb1a05012bbe80e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5 095025078dc3a1b4f0fcdc8b8d9dcb4d192a2a14 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.7","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"107a5028b008c937e6347b1682691c180579beb3","status":"affected","version":"54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5","versionType":"git"},{"lessThan":"60263bba81e08d7b4c9d7d8f10699d0fec0cfec5","status":"affected","version":"54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5","versionType":"git"},{"lessThan":"cba4fbc02480f6ab797b45119bb1a05012bbe80e","status":"affected","version":"54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5","versionType":"git"},{"lessThan":"095025078dc3a1b4f0fcdc8b8d9dcb4d192a2a14","status":"affected","version":"54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.7"},{"lessThan":"6.7","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.7","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: amd: acp3x-es83xx: Keep an owned codec device reference\n\nacpi_get_first_physical_node() returns a borrowed device pointer. The\nprivate data allocation failure path in acp3x_es83xx_probe() puts that\npointer despite not owning a reference. The successful path also saves the\nborrowed pointer for later card operations.\n\nThis was reproduced on current mainline with failslab restricted to the\nreal static callback. The rejected devm_kzalloc() returned -ENOMEM, and\nnormal codec platform-device unregister then produced a KASAN\nslab-use-after-free in device_del(), with allocation in\nacpi_create_platform_device() and release in acpi_unbind_one().\n\nUse acpi_bus_get_primary_device() to acquire the reference while the\nphysical-node lock is held. After allocating private data, register a\ndevres put action before publishing the pointer. This balances action\nallocation and later probe failures, keeps the saved pointer alive during\ncard use, and drops the reference after ASoC card unregister during\nsuccessful teardown. The existing OOM put now correctly balances the owned\nlookup.\n\nThe same filtered KASAN guest with this change reached the same -ENOMEM and\nunregister path without KASAN, WARNING, Oops or panic. The test directly\ninvoked the production callback and did not emulate a complete ACP/ASoC\ncard or physical Huawei hardware."}],"providerMetadata":{"dateUpdated":"2026-12-03T03:26:12.041Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/107a5028b008c937e6347b1682691c180579beb3"},{"url":"https://git.kernel.org/stable/c/60263bba81e08d7b4c9d7d8f10699d0fec0cfec5"},{"url":"https://git.kernel.org/stable/c/cba4fbc02480f6ab797b45119bb1a05012bbe80e"},{"url":"https://git.kernel.org/stable/c/095025078dc3a1b4f0fcdc8b8d9dcb4d192a2a14"}],"title":"ASoC: amd: acp3x-es83xx: Keep an owned codec device reference","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-142943","datePublished":"2026-12-03T03:26:12.041Z","dateReserved":"2026-12-03T03:10:28.339Z","dateUpdated":"2026-12-03T03:26:12.041Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 04:18:35","lastModifiedDate":"2026-12-03 04:18:35","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"142943","Ordinal":"1","Title":"ASoC: amd: acp3x-es83xx: Keep an owned codec device reference","CVE":"CVE-2026-142943","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"142943","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: amd: acp3x-es83xx: Keep an owned codec device reference\n\nacpi_get_first_physical_node() returns a borrowed device pointer. The\nprivate data allocation failure path in acp3x_es83xx_probe() puts that\npointer despite not owning a reference. The successful path also saves the\nborrowed pointer for later card operations.\n\nThis was reproduced on current mainline with failslab restricted to the\nreal static callback. The rejected devm_kzalloc() returned -ENOMEM, and\nnormal codec platform-device unregister then produced a KASAN\nslab-use-after-free in device_del(), with allocation in\nacpi_create_platform_device() and release in acpi_unbind_one().\n\nUse acpi_bus_get_primary_device() to acquire the reference while the\nphysical-node lock is held. After allocating private data, register a\ndevres put action before publishing the pointer. This balances action\nallocation and later probe failures, keeps the saved pointer alive during\ncard use, and drops the reference after ASoC card unregister during\nsuccessful teardown. The existing OOM put now correctly balances the owned\nlookup.\n\nThe same filtered KASAN guest with this change reached the same -ENOMEM and\nunregister path without KASAN, WARNING, Oops or panic. The test directly\ninvoked the production callback and did not emulate a complete ACP/ASoC\ncard or physical Huawei hardware.","Type":"Description","Title":"ASoC: amd: acp3x-es83xx: Keep an owned codec device reference"}]}}}