CVE-2023-52815

drm/amdgpu/vkms: fix a possible null pointer dereference

MEDIUM
5.5
CVSS Score
Published: May 21, 2024 at 03:31 PM UTC
Updated: June 17, 2026 at 06:43 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.15.1404.2 ≤ v < 5.15.1404.2 ≤ v < 6.1.644.2 ≤ v < 6.5.134.2 ≤ v < 6.6.34.2 ≤ v < 6.75.16 ≤ v < 6.1.646.2 ≤ v < 6.5.136.6 ≤ v < 6.6.34.2d38ceaf99ed015f2a0b9af3499791bd3a3daae21
Vendor states this is fixed in 33fb1a555354bd593f785935ddcb5d9dd4d3847f (fixed)
Vendor states this is fixed in 70f831f21155c692bb336c434936fd6f24f3f81a (fixed)
Vendor states this is fixed in 8c6c85a073768df68c1a3fea143d013a38c66d34 (fixed)
Vendor states this is fixed in cd90511557fdfb394bb4ac4c3b539b007383914c (fixed)
Vendor states this is fixed in eaa03ea366c85ae3cb69c8d4bbc67c8bc2167a27 (fixed)
Vendor states this is fixed in 4.2 (unaffected)
Vendor states this is fixed in 5.15.140 (unaffected)
Vendor states this is fixed in 6.1.64 (unaffected)
Vendor states this is fixed in 6.5.13 (unaffected)
Vendor states this is fixed in 6.6.3 (unaffected)
Vendor states this is fixed in 6.7 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/33fb1a555354bd593f785935ddcb5d9dd4d3847f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/70f831f21155c692bb336c434936fd6f24f3f81a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8c6c85a073768df68c1a3fea143d013a38c66d34
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cd90511557fdfb394bb4ac4c3b539b007383914c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eaa03ea366c85ae3cb69c8d4bbc67c8bc2167a27

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card