CVE-2023-52815

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

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
May 21, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before eaa03ea366c85ae3cb69c8d4bbc67c8bc2167a27Affected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before 33fb1a555354bd593f785935ddcb5d9dd4d3847fAffected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before 8c6c85a073768df68c1a3fea143d013a38c66d34Affected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before 70f831f21155c692bb336c434936fd6f24f3f81aAffected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before cd90511557fdfb394bb4ac4c3b539b007383914cAffected
LinuxLinux
  • 4.2Affected
  • before 4.2Not affected
  • 5.15.140 through 5.15.*Not affected
  • 6.1.64 through 6.1.*Not affected
  • 6.5.13 through 6.5.*Not affected
  • 6.6.3 through 6.6.*Not affected
  • 6.7 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.