CVE-2023-52663

published 17 May 2024 · updated 11 May 2026

ASoC: SOF: amd: Fix memory leak in amd_sof_acp_probe()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 222be59e5eed1554119294edc743ee548c2371d0, Kernel 7296152e58858f928db448826eb7ba5ae611297b, Kernel 88028c45d5871dfc449b2b0a27abf6428453a5ec and 1 more.

In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: amd: Fix memory leak in amd_sof_acp_probe() Driver uses kasprintf() to initialize fw_{code,data}_bin members of struct acp_dev_data, but kfree() is never called to deallocate the memory, which results in a memory leak. Fix the issue by switching to devm_kasprintf(). Additionally, ensure the allocation was successful by checking the pointer validity.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.6, >=f7da88003c53cf0eedabe609324a047b1921dfcc <222be59e5eed1554119294edc743ee548c2371d0, >=f7da88003c53cf0eedabe609324a047b1921dfcc <7296152e58858f928db448826eb7ba5ae611297b, >=f7da88003c53cf0eedabe609324a047b1921dfcc <88028c45d5871dfc449b2b0a27abf6428453a5ec, >=f7da88003c53cf0eedabe609324a047b1921dfcc <be4760799c6a7c01184467287f0de41e0dd255f8222be59e5eed1554119294edc743ee548c2371d0, 7296152e58858f928db448826eb7ba5ae611297b, 88028c45d5871dfc449b2b0a27abf6428453a5ec, be4760799c6a7c01184467287f0de41e0dd255f8

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-52663 severity on Zeptric[![CVE-2023-52663](https://zeptric.io/badge/cve/CVE-2023-52663.svg)](https://zeptric.io/cve/CVE-2023-52663)