{"id":"CVE-2023-52663","aliases":["CVE-2023-52663"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: SOF: amd: Fix memory leak in amd_sof_acp_probe()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: ASoC: SOF: amd: corrige la pérdida de memoria en amd_sof_acp_probe() El controlador usa kasprintf() para inicializar los miembros fw_{code,data}_bin de la estructura acp_dev_data, pero kfree() nunca se llama para desasignar la memoria, lo que resulta en una pérdida de memoria. Solucione el problema cambiando a devm_kasprintf(). Además, asegúrese de que la asignación se haya realizado correctamente comprobando la validez del puntero.","source":"nvd"}],"published":"2024-05-17T13:41:05.630Z","modified":"2026-06-17T06:43:17.343Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"f7da88003c53cf0eedabe609324a047b1921dfcc","fixed":"88028c45d5871dfc449b2b0a27abf6428453a5ec","status":"affected"},{"type":"git","introduced":"f7da88003c53cf0eedabe609324a047b1921dfcc","fixed":"be4760799c6a7c01184467287f0de41e0dd255f8","status":"affected"},{"type":"git","introduced":"f7da88003c53cf0eedabe609324a047b1921dfcc","fixed":"7296152e58858f928db448826eb7ba5ae611297b","status":"affected"},{"type":"git","introduced":"f7da88003c53cf0eedabe609324a047b1921dfcc","fixed":"222be59e5eed1554119294edc743ee548c2371d0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.23","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.11","lastAffected":"6.7.*","status":"unaffected"},{"type":"semver","introduced":"6.8.2","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.6","fixed":"6.6.23"},{"status":"affected","introduced":"6.7","fixed":"6.7.11"},{"status":"affected","introduced":"6.8","fixed":"6.8.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/88028c45d5871dfc449b2b0a27abf6428453a5ec","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/be4760799c6a7c01184467287f0de41e0dd255f8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7296152e58858f928db448826eb7ba5ae611297b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/222be59e5eed1554119294edc743ee548c2371d0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-17T17:39:11.139Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52663","url":"https://www.cve.org/CVERecord?id=CVE-2023-52663","licence":"CVE Terms of Use","modified":"2026-05-11T19:31:18.382Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52663","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52663","licence":"Public domain","modified":"2026-06-17T06:43:17.343Z"}],"updatedAt":"2026-11-25T22:58:33.962Z","epss":{"score":0.00224,"percentile":0.13906,"date":"2026-12-01T12:00:22.000Z"}}