# CVE-2023-54320: platform/x86/amd: pmc: Fix memory leak in amd_pmc_stb_debugfs_open_v2()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-12-30T12:34:14.133Z
- Modified: 2026-06-17T06:47:13.280Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1ecfd30960d4377c2d85181608936dedd35bb171 before d804adef7b23b22bb82e1b3dd113e9073cea9bc1; from 1ecfd30960d4377c2d85181608936dedd35bb171 before f6e7ac4c35a28aef0be93b32c533ae678ad0b9e7; 6.3 (not affected: before 6.3; from 6.3.4 up to 6.3.*; from 6.4 up to *)

## References

- <https://git.kernel.org/stable/c/d804adef7b23b22bb82e1b3dd113e9073cea9bc1>
- <https://git.kernel.org/stable/c/f6e7ac4c35a28aef0be93b32c533ae678ad0b9e7>

## Sources

- CVE List: [CVE-2023-54320](https://www.cve.org/CVERecord?id=CVE-2023-54320), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-54320](https://nvd.nist.gov/vuln/detail/CVE-2023-54320), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-54320 · Whole record: https://cve.day/CVE-2023-54320.json · Rebuilt by cve.day 2026-11-25T22:58:35.274Z
