CVE-2023-52921·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix possible UAF in amdgpu_cs_pass1() Since the gang_size check is outside of chunk parsing loop, we need to reset i before we free the chunk data. Suggested by Ye Zhang (@VAR10CK) of Baidu Security.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.4.11
- Published
- 2024-11-19
Affected versions
From: 6.2
Until: 6.4.11
Fixed in: 6.4.11
How to fix this CVE
Update your Linux kernel to version 6.4.11 or later to fix a use-after-free vulnerability in the AMD GPU driver's command submission parser. This vulnerability affects kernel versions 6.2 through 6.4.10 and can lead to memory corruption when processing GPU command chunks. Apply the kernel update and reboot your system to fully remediate this issue.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check current kernel version: uname -r
- Verify if AMD GPU driver is loaded: lsmod | grep amdgpu
- Review kernel logs for UAF-related memory errors: sudo dmesg | grep -i 'use.*after.*free\|UAF\|memory corruption'
- Confirm patch applied by checking if kernel version is 6.4.11 or later: uname -r | grep -E '6\.[5-9]|[7-9]\.'
- Verify kernel module signature after update: sudo modinfo amdgpu | grep version
FAQ
What is CVE-2023-52921?
CVE-2023-52921 is a use-after-free (UAF) vulnerability in the Linux kernel's AMD GPU (amdgpu) driver. The flaw occurs when processing GPU command submission chunks, where a loop counter variable is not properly reset, allowing freed memory to be accessed and potentially corrupted.
Is CVE-2023-52921 being actively exploited?
No, CVE-2023-52921 is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available. However, the vulnerability poses a serious local privilege escalation risk and should still be patched promptly.
What versions of Kernel are affected by CVE-2023-52921?
Linux kernel versions 6.2 through 6.4.10 are vulnerable to CVE-2023-52921. The vulnerability was fixed in kernel version 6.4.11 and later.
How do I check if my server is vulnerable to CVE-2023-52921?
Run `uname -r` to display your kernel version. If the output shows version 6.2 through 6.4.10, your system is vulnerable. Additionally, verify if AMD GPU support is enabled with `lsmod | grep amdgpu` to determine actual exposure.
Does Defensia detect CVE-2023-52921?
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-52921 will appear in your dashboard with remediation steps and priority alerts.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52921. Free for 1 server.
Get started free