CVE Database›Document archive›CVE-2023-54320

CVE-2023-54320

kernel: platform/x86/amd: pmc: Fix memory leak in amd_pmc_stb_debugfs_open_v2()

Loading…

Severity

Low

Red Hat Product Security

3.3

CVSS 3.1

Review impact separately from score.

Published · December 30, 2025

Updated · July 22, 2026

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.

Statement

This affects AMD systems with STB (Smart Trace Buffer) debugging enabled. The leak occurs only when PMC command failures happen while reading debugfs, which is uncommon in normal operation.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

CWE-772 · Missing Release of Resource after Effective Lifetime