In the Linux kernel, the following vulnerability has been resolved: platform/x86/amd: Fix memory leak in wbrf_record() The tmp buffer is allocated using kcalloc() but is not freed if acpi_evaluate_dsm() fails. This causes a memory leak in the error path. Fix this by explicitly freeing the tmp buffer in the error handling path of acpi_evaluate_dsm().
https://git.kernel.org/stable/c/2bf1877b7094c684e1d652cac6912cfbc507ad3e
https://git.kernel.org/stable/c/1a0072bd1f1e559eda3e91a24dbc51c9eb025c54
https://git.kernel.org/stable/c/1152dffe01af86e42ce2b208b92ef7f8c275d130