Vulnerability Details : CVE-2023-52663
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.
Products affected by CVE-2023-52663
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-52663
0.05%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 15 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-52663
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST | 2025-01-07 |
CWE ids for CVE-2023-52663
-
The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.Assigned by: nvd@nist.gov (Primary)
References for CVE-2023-52663
-
https://git.kernel.org/stable/c/88028c45d5871dfc449b2b0a27abf6428453a5ec
ASoC: SOF: amd: Fix memory leak in amd_sof_acp_probe() - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/222be59e5eed1554119294edc743ee548c2371d0
ASoC: SOF: amd: Fix memory leak in amd_sof_acp_probe() - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/7296152e58858f928db448826eb7ba5ae611297b
ASoC: SOF: amd: Fix memory leak in amd_sof_acp_probe() - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/be4760799c6a7c01184467287f0de41e0dd255f8
ASoC: SOF: amd: Fix memory leak in amd_sof_acp_probe() - kernel/git/stable/linux.git - Linux kernel stable treePatch
Jump to