In the Linux kernel, the following vulnerability has been resolved:
ASoC: SOF: amd: Fix memory leak in amdsofacp_probe()
Driver uses kasprintf() to initialize fw{code,data}bin members of struct acpdevdata, 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.