CVE-2023-52691·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: fix a double-free in si_dpm_init When the allocation of adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries fails, amdgpu_free_extended_power_table is called to free some fields of adev. However, when the control flow returns to si_dpm_sw_init, it goes to label dpm_failed and calls si_dpm_fini, which calls amdgpu_free_extended_power_table again and free those fields again. Thus a double-free is triggered.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.7.2
- Published
- 2024-05-17
Affected versions
From: 6.7
Until: 6.7.2
Fixed in: 6.7.2
How to fix this CVE
Update your Linux kernel to version 6.7.2 or later to resolve a double-free memory corruption vulnerability in the AMD power management driver. This flaw could allow local authenticated users to trigger a kernel crash or potentially execute arbitrary code with kernel privileges. Apply the patch immediately, especially on systems running kernel versions 6.7 through 6.7.1.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r — confirm it is 6.7.0, 6.7.1, or 6.7.2
- Verify if AMD GPU drivers are loaded: lspci | grep -i amd && lsmod | grep amdgpu
- Check dmesg for memory corruption errors: dmesg | grep -i 'double free\|memory corruption\|amdgpu'
- After patching, confirm the new kernel version: uname -r (should show 6.7.2 or later)
FAQ
What is CVE-2023-52691?
This vulnerability is a double-free memory corruption flaw in the AMD SI GPU power management initialization code. When dynamic state memory allocation fails, the cleanup function is called twice, corrupting the kernel heap and risking privilege escalation or denial of service.
Is CVE-2023-52691 being actively exploited?
No, this CVE is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, it remains a high-severity issue that should be patched promptly.
What versions of Kernel are affected by CVE-2023-52691?
Linux kernel versions 6.7.0, 6.7.1, and 6.7.2 (pre-patch) are affected. The vulnerability was fixed in kernel 6.7.2-stable and later releases.
How do I check if my server is vulnerable to CVE-2023-52691?
Run: uname -r — if it outputs 6.7.0, 6.7.1, or early 6.7.2, and you have AMD GPU hardware (lspci | grep AMD), your system is vulnerable.
Does Defensia detect CVE-2023-52691?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2023-52691 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/06d95c99d5a4f5accdb79464076efe62e668c706
- https://git.kernel.org/stable/c/2bf47c89bbaca2bae16581ef1b28aaec0ade0334
- https://git.kernel.org/stable/c/ac16667237a82e2597e329eb9bc520d1cf9dff30
- https://git.kernel.org/stable/c/aeed2b4e4a70c7568d4a5eecd6a109713c0dfbf4
- https://git.kernel.org/stable/c/afe9f5b871f86d58ecdc45b217b662227d7890d0
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52691. Free for 1 server.
Get started free