CVE-2023-54122
drm/msm/dpu: Add check for cstate
Check your servers for CVE-2023-54122
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54122 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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/
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.7% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1cff7440a86e04a613665803b42034c467f035fa, before a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2b affected from 1cff7440a86e04a613665803b42034c467f035fa, before 31f2f8de0ea7387cde18a24f94ba5e0b886b9842 affected from 1cff7440a86e04a613665803b42034c467f035fa, before d4ba50614cb3f0686bbdb505af685d78e75861dc affected from 1cff7440a86e04a613665803b42034c467f035fa, before 42442d42c57b9fbc35cb5ef72c7e5347c5f7d082 affected from 1cff7440a86e04a613665803b42034c467f035fa, before a52e5a002d18bffabff66f6f59a74f8e9aac5afe affected from 1cff7440a86e04a613665803b42034c467f035fa, before c96988b7d99327bb08bd9efd29a203b22cd88ace
Other versions: unaffected
|
| Linux |
affected 5.3 unaffected before 5.3 unaffected from 5.4.235 up to and including 5.4.* unaffected from 5.10.173 up to and including 5.10.* unaffected from 5.15.99 up to and including 5.15.* unaffected from 6.1.16 up to and including 6.1.* unaffected from 6.2.3 up to and including 6.2.* unaffected 6.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54122 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54122
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-54122
trivy image --scanners vuln IMAGE | grep CVE-2023-54122
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2b git.kernel.org
- https://git.kernel.org/stable/c/31f2f8de0ea7387cde18a24f94ba5e0b886b9842 git.kernel.org
- https://git.kernel.org/stable/c/d4ba50614cb3f0686bbdb505af685d78e75861dc git.kernel.org
- https://git.kernel.org/stable/c/42442d42c57b9fbc35cb5ef72c7e5347c5f7d082 git.kernel.org
- https://git.kernel.org/stable/c/a52e5a002d18bffabff66f6f59a74f8e9aac5afe git.kernel.org
- https://git.kernel.org/stable/c/c96988b7d99327bb08bd9efd29a203b22cd88ace git.kernel.org
Source: the record CVE-2023-54122 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse