What’s Vulnerable › Vulnerabilities

CVE-2023-52815: drm/amdgpu/vkms: fix a possible null pointer dereference

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

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

Get alerted when CVE-2023-52815 or the next vulnerability affects your stack