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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
f7da88003c53cf0eedabe609324a047b1921dfcc to < 88028c45d5871dfc449b2b0a27abf6428453a5ecaffectedf7da88003c53cf0eedabe609324a047b1921dfcc to < be4760799c6a7c01184467287f0de41e0dd255f8affectedf7da88003c53cf0eedabe609324a047b1921dfcc to < 7296152e58858f928db448826eb7ba5ae611297baffectedf7da88003c53cf0eedabe609324a047b1921dfcc to < 222be59e5eed1554119294edc743ee548c2371d0affected
Linux Linux
Default version status: affected
6.6affected0 to < 6.6unaffected6.6.23 to ≤ 6.6.*unaffected6.7.11 to ≤ 6.7.*unaffected6.8.2 to ≤ 6.8.*unaffected6.9 to ≤ *unaffected