CVE-2023-54122

Source
https://cve.org/CVERecord?id=CVE-2023-54122
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54122.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-54122
Downstream
Related
Published
2025-12-24T13:06:41.900Z
Modified
2026-03-20T12:33:27.573091Z
Summary
drm/msm/dpu: Add check for cstate
Details

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 __drmatomichelpercrtcreset.

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54122.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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"

Linux / Kernel

Package

Name
Kernel

Affected 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"