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…
Does this matter?
Lower severity and a low EPSS score (0.22%). Track it; it rarely justifies an emergency change on its own.
Description
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.
- CVSS 3.1
- 5.5 MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 0.22% probability · 13th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-401
- Affected
- linux/linux kernel
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
References
- https://git.kernel.org/stable/c/222be59e5eed1554119294edc743ee548c2371d0Patch
- https://git.kernel.org/stable/c/7296152e58858f928db448826eb7ba5ae611297bPatch
- https://git.kernel.org/stable/c/88028c45d5871dfc449b2b0a27abf6428453a5ecPatch
- https://git.kernel.org/stable/c/be4760799c6a7c01184467287f0de41e0dd255f8Patch
- https://git.kernel.org/stable/c/222be59e5eed1554119294edc743ee548c2371d0Patch
- https://git.kernel.org/stable/c/7296152e58858f928db448826eb7ba5ae611297bPatch
- https://git.kernel.org/stable/c/88028c45d5871dfc449b2b0a27abf6428453a5ecPatch
- https://git.kernel.org/stable/c/be4760799c6a7c01184467287f0de41e0dd255f8Patch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.