{"id":"CVE-2023-52663","summary":"ASoC: SOF: amd: Fix memory leak in amd_sof_acp_probe()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: amd: Fix memory leak in amd_sof_acp_probe()\n\nDriver uses kasprintf() to initialize fw_{code,data}_bin members of\nstruct acp_dev_data, but kfree() is never called to deallocate the\nmemory, which results in a memory leak.\n\nFix the issue by switching to devm_kasprintf(). Additionally, ensure the\nallocation was successful by checking the pointer validity.","modified":"2026-04-02T09:43:12.265004Z","published":"2024-05-17T13:41:05.630Z","related":["SUSE-SU-2024:2135-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20249-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52663.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/222be59e5eed1554119294edc743ee548c2371d0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7296152e58858f928db448826eb7ba5ae611297b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/88028c45d5871dfc449b2b0a27abf6428453a5ec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/be4760799c6a7c01184467287f0de41e0dd255f8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52663.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52663"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f7da88003c53cf0eedabe609324a047b1921dfcc"},{"fixed":"88028c45d5871dfc449b2b0a27abf6428453a5ec"},{"fixed":"be4760799c6a7c01184467287f0de41e0dd255f8"},{"fixed":"7296152e58858f928db448826eb7ba5ae611297b"},{"fixed":"222be59e5eed1554119294edc743ee548c2371d0"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52663.json"}}],"schema_version":"1.7.5"}