CVE-2023-52469 drivers/amd/pm: fix a use-after-free in kv_parse_power_table
A use-after-free vulnerability in the Linux kernel AMD power management driver allows attackers to potentially execute arbitrary code or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-52469?
CVE-2023-52469 is a high-severity use after free vulnerability in Linux kernel, published on 25 Feb 2024. 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:
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.
Weakness: CWE-416
Which versions are affected by CVE-2023-52469?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-52469?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2023-52469 being exploited?
There is no known exploitation of CVE-2023-52469 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-52469, DEBIAN-CVE-2023-52469, GHSA-q98m-fjjg-rxw5, UBUNTU-CVE-2023-52469.