CVE-2023-52773·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: fix a NULL pointer dereference in amdgpu_dm_i2c_xfer() When ddc_service_construct() is called, it explicitly checks both the link type and whether there is something on the link which will dictate whether the pin is marked as hw_supported. If the pin isn't set or the link is not set (such as from unloading/reloading amdgpu in an IGT test) then fail the amdgpu_dm_i2c_xfer() call.
- 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 address a NULL pointer dereference in the AMD display driver's I2C transfer function. This vulnerability can cause system crashes or denial of service when the DDC service attempts to access uninitialized display connections. Kernel updates should be applied promptly, especially on systems running AMD GPUs that rely on the amdgpu driver.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with `uname -r` and verify if it falls between 6.6.0 and 6.6.2
- Step 2: Confirm AMD GPU presence with `lspci | grep -i amd` and check if amdgpu driver is loaded with `lsmod | grep amdgpu`
- Step 3: Search kernel logs for NULL pointer dereference errors with `sudo dmesg | grep -i 'null pointer\|amdgpu_dm_i2c'`
- Step 4: After patching, reboot and verify the new kernel version with `uname -r` returns 6.6.3 or higher
FAQ
What is CVE-2023-52773?
CVE-2023-52773 is a NULL pointer dereference vulnerability in the AMD display driver's I2C communication function that occurs when DDC service initialization fails or display connections are not properly configured, leading to potential kernel crashes.
Is CVE-2023-52773 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2023-52773?
Linux kernel versions 6.6.0 through 6.6.2 are affected; the vulnerability is resolved in kernel 6.6.3 and later.
How do I check if my server is vulnerable to CVE-2023-52773?
Run `uname -r` to check your kernel version. If it shows 6.6.0, 6.6.1, or 6.6.2 AND you have an AMD GPU (verify with `lspci | grep -i amd`), your system is vulnerable.
Does Defensia detect CVE-2023-52773?
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-52773 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1d07b7e84276777dad3c8cfebdf8e739606f90c9
- https://git.kernel.org/stable/c/5b14cf37b9f01de0b28c6f8960019d4c7883ce42
- https://git.kernel.org/stable/c/b71f4ade1b8900d30c661d6c27f87c35214c398c
- https://git.kernel.org/stable/c/fb5c134ca589fe670430acc9e7ebf2691ca2476d
- https://git.kernel.org/stable/c/1d07b7e84276777dad3c8cfebdf8e739606f90c9
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52773. Free for 1 server.
Get started free