Improper resource allocation In kernel-rt

Description

A memory leak was found in the AMD PMC driver's STB debugfs interface. When amd_pmc_send_cmd() fails, the allocated buffer is not freed, causing memory to leak on each failed operation.

Mitigation

Update Impact

Minimal update. May introduce new vulnerabilities or breaking changes.

Ecosystem
Package
Affected version
Patched versions