{"id":"CVE-2023-54122","summary":"drm/msm/dpu: Add check for cstate","details":"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/","modified":"2026-03-20T12:33:27.573091Z","published":"2025-12-24T13:06:41.900Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54122.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/31f2f8de0ea7387cde18a24f94ba5e0b886b9842"},{"type":"WEB","url":"https://git.kernel.org/stable/c/42442d42c57b9fbc35cb5ef72c7e5347c5f7d082"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a52e5a002d18bffabff66f6f59a74f8e9aac5afe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c96988b7d99327bb08bd9efd29a203b22cd88ace"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d4ba50614cb3f0686bbdb505af685d78e75861dc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54122.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54122"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1cff7440a86e04a613665803b42034c467f035fa"},{"fixed":"a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2b"},{"fixed":"31f2f8de0ea7387cde18a24f94ba5e0b886b9842"},{"fixed":"d4ba50614cb3f0686bbdb505af685d78e75861dc"},{"fixed":"42442d42c57b9fbc35cb5ef72c7e5347c5f7d082"},{"fixed":"a52e5a002d18bffabff66f6f59a74f8e9aac5afe"},{"fixed":"c96988b7d99327bb08bd9efd29a203b22cd88ace"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54122.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.0"},{"fixed":"5.4.235"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.173"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.99"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54122.json"}}],"schema_version":"1.7.5"}