What’s Vulnerable › Vulnerabilities
CVE-2023-52815: drm/amdgpu/vkms: fix a possible null pointer dereference
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-21 · updated 2026-06-17
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/vkms: fix a possible null pointer dereference In amdgpu_vkms_conn_get_modes(), the return value of drm_cvt_mode() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_cvt_mode(). Add a check to avoid null pointer dereference.
Affected products
- Linux kernel: before 5.15.140; from 5.16 before 6.1.64; from 6.2 before 6.5.13; from 6.6 before 6.6.3 — fixed in 5.15.140, 6.1.64, 6.5.13, 6.6.3
How to fix
Upgrade to a fixed version: Linux kernel 5.15.140, 6.1.64, 6.5.13, 6.6.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/33fb1a555354bd593f785935ddcb5d9dd4d3847f
- https://git.kernel.org/stable/c/70f831f21155c692bb336c434936fd6f24f3f81a
- https://git.kernel.org/stable/c/8c6c85a073768df68c1a3fea143d013a38c66d34
- https://git.kernel.org/stable/c/cd90511557fdfb394bb4ac4c3b539b007383914c
- https://git.kernel.org/stable/c/eaa03ea366c85ae3cb69c8d4bbc67c8bc2167a27
- https://git.kernel.org/stable/c/33fb1a555354bd593f785935ddcb5d9dd4d3847f
- https://git.kernel.org/stable/c/70f831f21155c692bb336c434936fd6f24f3f81a
- https://git.kernel.org/stable/c/8c6c85a073768df68c1a3fea143d013a38c66d34
- https://git.kernel.org/stable/c/cd90511557fdfb394bb4ac4c3b539b007383914c
- https://git.kernel.org/stable/c/eaa03ea366c85ae3cb69c8d4bbc67c8bc2167a27
Get alerted when CVE-2023-52815 or the next vulnerability affects your stack