CVE-2023-52469

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

HIGH
7.8
CVSS Score
Published: February 25, 2024 at 08:16 AM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.2 ≤ v < 4.19.3064.2 ≤ v < 5.10.2094.2 ≤ v < 5.15.1484.2 ≤ v < 5.4.2684.2 ≤ v < 6.1.754.2 ≤ v < 6.6.144.2 ≤ v < 6.7.24.2 ≤ v < 6.84.2.0 ≤ v < 4.19.3064.20.0 ≤ v < 5.4.2685.11.0 ≤ v < 5.15.1485.16.0 ≤ v < 6.1.755.5.0 ≤ v < 5.10.2096.2.0 ≤ v < 6.6.146.7.0 ≤ v < 6.7.24.2a2e73f56fa6282481927ec43aa9362c03c2e2104
Vendor states this is fixed in 28dd788382c43b330480f57cd34cde0840896743 (fixed)
Vendor states this is fixed in 3426f059eacc33ecc676b0d66539297e1cfafd02 (fixed)
Vendor states this is fixed in 35fa2394d26e919f63600ce631e6aefc95ec2706 (fixed)
Vendor states this is fixed in 520e213a0b97b64735a13950e9371e0a5d7a5dc3 (fixed)
Vendor states this is fixed in 8a27d9d9fc9b5564b8904c3a77a7dea482bfa34e (fixed)
Vendor states this is fixed in 8b55b06e737feb2a645b0293ea27e38418876d63 (fixed)
Vendor states this is fixed in 95084632a65d5c0d682a83b55935560bdcd2a1e3 (fixed)
Vendor states this is fixed in b6dcba02ee178282e0d28684d241e0b8462dea6a (fixed)
Vendor states this is fixed in 4.19.306 (unaffected)
Vendor states this is fixed in 4.2 (unaffected)
Vendor states this is fixed in 5.10.209 (unaffected)
Vendor states this is fixed in 5.15.148 (unaffected)
Vendor states this is fixed in 5.4.268 (unaffected)
Vendor states this is fixed in 6.1.75 (unaffected)
Vendor states this is fixed in 6.6.14 (unaffected)
Vendor states this is fixed in 6.7.2 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/28dd788382c43b330480f57cd34cde0840896743
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3426f059eacc33ecc676b0d66539297e1cfafd02
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/35fa2394d26e919f63600ce631e6aefc95ec2706
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/520e213a0b97b64735a13950e9371e0a5d7a5dc3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8a27d9d9fc9b5564b8904c3a77a7dea482bfa34e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8b55b06e737feb2a645b0293ea27e38418876d63
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/95084632a65d5c0d682a83b55935560bdcd2a1e3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b6dcba02ee178282e0d28684d241e0b8462dea6a

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card