In the Linux kernel, the following vulnerability has been resolved: platform/x86/amd: pmc: Fix memory leak in amdpmcstbdebugfsopenv2() Function amdpmcstbdebugfsopenv2() may be called when the STB debug mechanism enabled. When amdpmcsend_cmd() fails, the 'buf' needs to be released.