CVE-2023-52469

drivers/amd/pm: fix a use-after-free in kv_parse_power_table

7.8 high EPSS 0.29%

Published 25 Feb 2024 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2023-52469

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52469 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

drivers/amd/pm: fix a use-after-free in kv_parse_power_table

When ps allocated by kzalloc equals to NULL, kv_parse_power_table frees adev->pm.dpm.ps that allocated before. However, after the control flow goes through the following call chains:

kv_parse_power_table |-> kv_dpm_init |-> kv_dpm_sw_init |-> kv_dpm_fini

The adev->pm.dpm.ps is used in the for loop of kv_dpm_fini after its first free in kv_parse_power_table and causes a use-after-free bug.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.3% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 8 Aug 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from a2e73f56fa6282481927ec43aa9362c03c2e2104, before 8a27d9d9fc9b5564b8904c3a77a7dea482bfa34e
affected from a2e73f56fa6282481927ec43aa9362c03c2e2104, before 8b55b06e737feb2a645b0293ea27e38418876d63
affected from a2e73f56fa6282481927ec43aa9362c03c2e2104, before 520e213a0b97b64735a13950e9371e0a5d7a5dc3
affected from a2e73f56fa6282481927ec43aa9362c03c2e2104, before b6dcba02ee178282e0d28684d241e0b8462dea6a
affected from a2e73f56fa6282481927ec43aa9362c03c2e2104, before 35fa2394d26e919f63600ce631e6aefc95ec2706
affected from a2e73f56fa6282481927ec43aa9362c03c2e2104, before 95084632a65d5c0d682a83b55935560bdcd2a1e3
affected from a2e73f56fa6282481927ec43aa9362c03c2e2104, before 3426f059eacc33ecc676b0d66539297e1cfafd02
affected from a2e73f56fa6282481927ec43aa9362c03c2e2104, before 28dd788382c43b330480f57cd34cde0840896743
Other versions: unaffected
Linux
affected 4.2
unaffected before 4.2
unaffected from 4.19.306 up to and including 4.19.*
unaffected from 5.4.268 up to and including 5.4.*
unaffected from 5.10.209 up to and including 5.10.*
unaffected from 5.15.148 up to and including 5.15.*
unaffected from 6.1.75 up to and including 6.1.*
unaffected from 6.6.14 up to and including 6.6.*
unaffected from 6.7.2 up to and including 6.7.*
unaffected 6.8 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52469 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52469

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-52469
trivy image --scanners vuln IMAGE | grep CVE-2023-52469

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-52469 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.