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

Not scored Published Updated

A local attacker with high privileges can cause a memory leak in the AMD PMC driver, potentially leading to denial of service.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-54320?

CVE-2023-54320 is a memory corruption vulnerability in Linux, published on 30 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2023-54320?

How do I fix CVE-2023-54320?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-54320 being exploited?

There is no known exploitation of CVE-2023-54320 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2023-54320, GHSA-gjjf-pwjw-673q, ROOT-OS-UBUNTU-2204-CVE-2023-54320, UBUNTU-CVE-2023-54320.

Is CVE-2023-54320 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free