CVE Catalog

CVE-2023-52469

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.29%

21th percentile - higher than 21% of all known CVEs

Summary

In the Linux kernel, the AMD PM driver has a use-after-free vulnerability in kv_parse_power_table. When the allocation of ps by kzalloc returns NULL, the function frees adev->pm.dpm.ps, but later in the call chain kv_dpm_fini uses this freed memory in a loop, leading to use-after-free.

Risk Assessment

The vulnerability could lead to system crash or kernel memory corruption, potentially allowing an attacker to execute code in the kernel.

Recommendation

It is recommended to update the Linux kernel to a version with the fix that prevents the use of freed memory in kv_dpm_fini.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS