CVE-2023-52814·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix potential null pointer derefernce The amdgpu_ras_get_context may return NULL if device not support ras feature, so add check before using.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.6.3
- Published
- 2024-05-21
Affected versions
From: 6.6
Until: 6.6.3
Fixed in: 6.6.3
How to fix this CVE
Update your Linux kernel to version 6.6.3 or later to patch a null pointer dereference vulnerability in the AMD GPU RAS (Reliability, Availability, and Serviceability) subsystem. This vulnerability can cause kernel crashes on systems with AMD GPUs that lack RAS support. Apply the kernel update through your system's package manager and reboot to activate the patched version.
sudo dnf upgrade kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with `uname -r` — if output shows 6.6.0 through 6.6.2, you are vulnerable.
- Step 2: Verify AMD GPU presence with `lspci | grep -i amd` — if no GPU is found, exposure is low but patch anyway.
- Step 3: Check kernel logs for RAS-related crashes with `sudo journalctl -b | grep -i 'amdgpu\|ras\|null pointer'` — look for NULL pointer dereference messages.
- Step 4: After patching, confirm the new kernel version with `uname -r` and verify it shows 6.6.3 or later.
FAQ
What is CVE-2023-52814?
This is a null pointer dereference vulnerability in the Linux kernel's AMD GPU RAS subsystem that occurs when the driver attempts to access RAS context on devices that do not support RAS features, leading to kernel crashes and denial of service.
Is CVE-2023-52814 being actively exploited?
No, there is no evidence of active exploitation in the wild, and no public exploit code is available for this vulnerability.
What versions of Kernel are affected by CVE-2023-52814?
Linux kernel versions 6.6.0 through 6.6.2 are vulnerable; versions 6.6.3 and later contain the fix.
How do I check if my server is vulnerable to CVE-2023-52814?
Run `uname -r` to check your kernel version — if it outputs 6.6.0, 6.6.1, or 6.6.2, your system is affected. Additionally, run `lspci | grep -i amd` to see if an AMD GPU is present.
Does Defensia detect CVE-2023-52814?
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-52814 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/80285ae1ec8717b597b20de38866c29d84d321a1
- https://git.kernel.org/stable/c/9b70fc7d70e8ef7c4a65034c9487f58609e708a1
- https://git.kernel.org/stable/c/b0702ee4d811708251cdf54d4a1d3e888d365111
- https://git.kernel.org/stable/c/b93a25de28af153312f0fc979b0663fc4bd3442b
- https://git.kernel.org/stable/c/c11cf5e117f50f5a767054600885acd981449afe
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52814. Free for 1 server.
Get started free