← CVE Intelligence

CVE-2023-54320

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

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 1ecfd30960d4377c2d85181608936dedd35bb171 before d804adef7b23b22bb82e1b3dd113e9073cea9bc1; affected 1ecfd30960d4377c2d85181608936dedd35bb171 before f6e7ac4c35a28aef0be93b32c533ae678ad0b9e7
Linux / Linuxaffected 6.3; unaffected 0 before 6.3; unaffected 6.3.4 through 6.3.*; unaffected 6.4 through *

CWE

No CWE identifiers supplied.

References