# CVE-2023-54122: drm/msm/dpu: Add check for cstate

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-12-24T13:06:41.900Z
- Modified: 2026-06-17T06:46:50.487Z
- Assigned by: Linux

## 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/

(As written by CVE List.)

## Affected

- Linux Linux: from 1cff7440a86e04a613665803b42034c467f035fa before a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2b; from 1cff7440a86e04a613665803b42034c467f035fa before 31f2f8de0ea7387cde18a24f94ba5e0b886b9842; from 1cff7440a86e04a613665803b42034c467f035fa before d4ba50614cb3f0686bbdb505af685d78e75861dc; from 1cff7440a86e04a613665803b42034c467f035fa before 42442d42c57b9fbc35cb5ef72c7e5347c5f7d082; from 1cff7440a86e04a613665803b42034c467f035fa before a52e5a002d18bffabff66f6f59a74f8e9aac5afe; from 1cff7440a86e04a613665803b42034c467f035fa before c96988b7d99327bb08bd9efd29a203b22cd88ace; 5.3 (not affected: before 5.3; from 5.4.235 up to 5.4.*; from 5.10.173 up to 5.10.*; from 5.15.99 up to 5.15.*; from 6.1.16 up to 6.1.*; from 6.2.3 up to 6.2.*; from 6.3 up to *)

## References

- <https://git.kernel.org/stable/c/a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2b>
- <https://git.kernel.org/stable/c/31f2f8de0ea7387cde18a24f94ba5e0b886b9842>
- <https://git.kernel.org/stable/c/d4ba50614cb3f0686bbdb505af685d78e75861dc>
- <https://git.kernel.org/stable/c/42442d42c57b9fbc35cb5ef72c7e5347c5f7d082>
- <https://git.kernel.org/stable/c/a52e5a002d18bffabff66f6f59a74f8e9aac5afe>
- <https://git.kernel.org/stable/c/c96988b7d99327bb08bd9efd29a203b22cd88ace>

## Sources

- CVE List: [CVE-2023-54122](https://www.cve.org/CVERecord?id=CVE-2023-54122), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-54122](https://nvd.nist.gov/vuln/detail/CVE-2023-54122), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-54122 · Whole record: https://cve.day/CVE-2023-54122.json · Rebuilt by cve.day 2026-11-25T22:58:35.185Z
