In the Linux kernel, the following vulnerability has been resolved: platform/x86/amd: Fix memory leak in wbrfrecord() The tmp buffer is allocated using kcalloc() but is not freed if acpievaluatedsm() fails. This causes a memory leak in the error path. Fix this by explicitly freeing the tmp buffer in the error handling path of acpievaluate_dsm().