{"id":"CVE-2023-52663","published":"2024-05-17T13:41:05Z","modified":"2026-05-11T19:31:18Z","title":"ASoC: SOF: amd: Fix memory leak in amd_sof_acp_probe()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00224,"percentile":0.13279,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/88028c45d5871dfc449b2b0a27abf6428453a5ec","tags":[]},{"url":"https://git.kernel.org/stable/c/be4760799c6a7c01184467287f0de41e0dd255f8","tags":[]},{"url":"https://git.kernel.org/stable/c/7296152e58858f928db448826eb7ba5ae611297b","tags":[]},{"url":"https://git.kernel.org/stable/c/222be59e5eed1554119294edc743ee548c2371d0","tags":[]}],"priority":{"score":2.7,"factors":[{"name":"EPSS percentile","points":2.66}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f7da88003c53cf0eedabe609324a047b1921dfcc, < 88028c45d5871dfc449b2b0a27abf6428453a5ec",">= f7da88003c53cf0eedabe609324a047b1921dfcc, < be4760799c6a7c01184467287f0de41e0dd255f8",">= f7da88003c53cf0eedabe609324a047b1921dfcc, < 7296152e58858f928db448826eb7ba5ae611297b",">= f7da88003c53cf0eedabe609324a047b1921dfcc, < 222be59e5eed1554119294edc743ee548c2371d0"]},{"vendor":"Linux","product":"Linux","versions":["6.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-17T17:39:11.139666Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-57287","exploited":false,"provenance":"source"}}