{"id":"CVE-2023-54122","aliases":["CVE-2023-54122"],"related":[],"kind":"vulnerability","state":"published","title":"drm/msm/dpu: Add check for cstate","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dpu: Add check for cstate\n\nAs kzalloc may fail and return NULL pointer,\nit should be better to check cstate\nin order to avoid the NULL pointer dereference\nin __drm_atomic_helper_crtc_reset.\n\nPatchwork: https://patchwork.freedesktop.org/patch/514163/","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dpu: Add check for cstate\n\nAs kzalloc may fail and return NULL pointer,\nit should be better to check cstate\nin order to avoid the NULL pointer dereference\nin __drm_atomic_helper_crtc_reset.\n\nPatchwork: https://patchwork.freedesktop.org/patch/514163/","source":"cvelist"}],"published":"2025-12-24T13:06:41.900Z","modified":"2026-06-17T06:46:50.487Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1cff7440a86e04a613665803b42034c467f035fa","fixed":"a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2b","status":"affected"},{"type":"git","introduced":"1cff7440a86e04a613665803b42034c467f035fa","fixed":"31f2f8de0ea7387cde18a24f94ba5e0b886b9842","status":"affected"},{"type":"git","introduced":"1cff7440a86e04a613665803b42034c467f035fa","fixed":"d4ba50614cb3f0686bbdb505af685d78e75861dc","status":"affected"},{"type":"git","introduced":"1cff7440a86e04a613665803b42034c467f035fa","fixed":"42442d42c57b9fbc35cb5ef72c7e5347c5f7d082","status":"affected"},{"type":"git","introduced":"1cff7440a86e04a613665803b42034c467f035fa","fixed":"a52e5a002d18bffabff66f6f59a74f8e9aac5afe","status":"affected"},{"type":"git","introduced":"1cff7440a86e04a613665803b42034c467f035fa","fixed":"c96988b7d99327bb08bd9efd29a203b22cd88ace","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.3","status":"unaffected"},{"type":"semver","introduced":"5.4.235","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.173","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.99","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.16","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.3","lastAffected":"6.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/31f2f8de0ea7387cde18a24f94ba5e0b886b9842","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d4ba50614cb3f0686bbdb505af685d78e75861dc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/42442d42c57b9fbc35cb5ef72c7e5347c5f7d082","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a52e5a002d18bffabff66f6f59a74f8e9aac5afe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c96988b7d99327bb08bd9efd29a203b22cd88ace","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54122","url":"https://www.cve.org/CVERecord?id=CVE-2023-54122","licence":"CVE Terms of Use","modified":"2026-05-11T19:55:54.315Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54122","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54122","licence":"Public domain","modified":"2026-06-17T06:46:50.487Z"}],"updatedAt":"2026-11-25T22:58:35.185Z","epss":{"score":0.0023,"percentile":0.14741,"date":"2026-12-01T12:00:22.000Z"}}