CVE-2023-54320Published Dec 30, 2025 · Dec 30Updated Oct 28
platform/x86/amd: pmc: Fix memory leak in amd_pmc_stb_debugfs_open_v2()
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
platform/x86/amd: pmc: Fix memory leak in amd_pmc_stb_debugfs_open_v2()
Function amd_pmc_stb_debugfs_open_v2() may be called when the STB debug mechanism enabled.
When amd_pmc_send_cmd() fails, the 'buf' needs to be released.
From the CVE record · Linux
The Linux kernel's AMD PMC STB debugfs open function can leak memory when the STB debug mechanism is enabled and a command fails. The input does not specify how an attacker could trigger the failure or whether access or user interaction is required.
Engineers running Linux kernels with the AMD PMC STB debug mechanism enabled should check whether their kernel includes the fix; affected versions are not specified.