Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to < eaa03ea366c85ae3cb69c8d4bbc67c8bc2167a27affected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to < 33fb1a555354bd593f785935ddcb5d9dd4d3847faffected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to < 8c6c85a073768df68c1a3fea143d013a38c66d34affected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to < 70f831f21155c692bb336c434936fd6f24f3f81aaffected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to < cd90511557fdfb394bb4ac4c3b539b007383914caffected

Linux Linux

Default version status: affected

  • 4.2affected
  • 0 to < 4.2unaffected
  • 5.15.140 to ≤ 5.15.*unaffected
  • 6.1.64 to ≤ 6.1.*unaffected
  • 6.5.13 to ≤ 6.5.*unaffected
  • 6.6.3 to ≤ 6.6.*unaffected
  • 6.7 to ≤ *unaffected

References