First published: Fri May 17 2024(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/kernel | <6.6.23 | 6.6.23 |
redhat/kernel | <6.7.11 | 6.7.11 |
redhat/kernel | <6.8.2 | 6.8.2 |
redhat/kernel | <6.9 | 6.9 |
Linux Kernel | >=6.6<6.6.23 | |
Linux Kernel | >=6.7<6.7.11 | |
Linux Kernel | >=6.8<6.8.2 | |
debian/linux | 5.10.223-1 5.10.226-1 6.1.123-1 6.1.119-1 6.12.11-1 6.12.12-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-52663 has been classified with a moderate severity due to the memory leak in the Linux kernel's ASoC subsystem.
To resolve CVE-2023-52663, upgrade to kernel versions 6.6.23, 6.7.11, 6.8.2, 6.9, or appropriate Debian versions like 5.10.223-1 or 6.12.12-1.
CVE-2023-52663 affects specific versions of the Linux kernel including versions below 6.6.23 and above 6.9.
CVE-2023-52663 specifically involves the ASoC subsystem in the Linux kernel and the initialization of struct acp_dev_data.
There is no known workaround for CVE-2023-52663; the only solution is to upgrade to the patched kernel versions.