CVE-2023-54122

drm/msm/dpu: Add check for cstate

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/msm/dpu: Add check for cstate

As kzalloc may fail and return NULL pointer, it should be better to check cstate in order to avoid the NULL pointer dereference in __drm_atomic_helper_crtc_reset.

Patchwork: https://patchwork.freedesktop.org/patch/514163/

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1cff7440a86e04a613665803b42034c467f035fa to before a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2bAffected
  • 1cff7440a86e04a613665803b42034c467f035fa to before 31f2f8de0ea7387cde18a24f94ba5e0b886b9842Affected
  • 1cff7440a86e04a613665803b42034c467f035fa to before d4ba50614cb3f0686bbdb505af685d78e75861dcAffected
  • 1cff7440a86e04a613665803b42034c467f035fa to before 42442d42c57b9fbc35cb5ef72c7e5347c5f7d082Affected
  • 1cff7440a86e04a613665803b42034c467f035fa to before a52e5a002d18bffabff66f6f59a74f8e9aac5afeAffected
  • 1cff7440a86e04a613665803b42034c467f035fa to before c96988b7d99327bb08bd9efd29a203b22cd88aceAffected
LinuxLinux
  • 5.3Affected
  • before 5.3Not affected
  • 5.4.235 through 5.4.*Not affected
  • 5.10.173 through 5.10.*Not affected
  • 5.15.99 through 5.15.*Not affected
  • 6.1.16 through 6.1.*Not affected
  • 6.2.3 through 6.2.*Not affected
  • 6.3 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.