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.
Analysis and contextual insights are available on OpenCVE Cloud.
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
No advisories yet.
Mon, 04 Nov 2024 15:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Status: PUBLISHED
Assigner: Linux
Published:
Updated: 2026-05-11T19:33:38.713Z
Reserved: 2024-05-21T15:19:24.248Z
Link: CVE-2023-52815
Updated: 2024-08-02T23:11:35.678Z
Status : Modified
Published: 2024-05-21T16:15:19.620
Modified: 2024-11-21T08:40:39.020
Link: CVE-2023-52815
OpenCVE Enrichment
No data.