# CVE-2023-52814: drm/amdgpu: Fix potential null pointer derefernce

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-05-21T15:31:22.263Z
- Modified: 2026-06-17T06:43:38.823Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: Fix potential null pointer derefernce

The amdgpu_ras_get_context may return NULL if device
not support ras feature, so add check before using.

(As written by CVE List.)

## Affected

- Linux Linux: from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before b93a25de28af153312f0fc979b0663fc4bd3442b; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before c11cf5e117f50f5a767054600885acd981449afe; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 9b70fc7d70e8ef7c4a65034c9487f58609e708a1; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before b0702ee4d811708251cdf54d4a1d3e888d365111; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before da46e63482fdc5e35c008865c22ac64027f6f0c2; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 80285ae1ec8717b597b20de38866c29d84d321a1; 4.2 (not affected: before 4.2; from 5.10.202 up to 5.10.*; from 5.15.140 up to 5.15.*; from 6.1.64 up to 6.1.*; from 6.5.13 up to 6.5.*; from 6.6.3 up to 6.6.*; from 6.7 up to *)
- linux linux_kernel: 1da177e4c3f4; before 5.10.202; from 5.11 before 5.15.140; from 5.16 before 6.1.64; from 6.2 before 6.5.13; from 6.6 before 6.6.3 (not affected: 5.10.202; 5.15.140; 6.1.64; 6.5.13; 6.6.3; 6.7)

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/b93a25de28af153312f0fc979b0663fc4bd3442b> (patch)
- <https://git.kernel.org/stable/c/c11cf5e117f50f5a767054600885acd981449afe> (patch)
- <https://git.kernel.org/stable/c/9b70fc7d70e8ef7c4a65034c9487f58609e708a1> (patch)
- <https://git.kernel.org/stable/c/b0702ee4d811708251cdf54d4a1d3e888d365111> (patch)
- <https://git.kernel.org/stable/c/da46e63482fdc5e35c008865c22ac64027f6f0c2> (patch)
- <https://git.kernel.org/stable/c/80285ae1ec8717b597b20de38866c29d84d321a1> (patch)

## Sources

- CVE List: [CVE-2023-52814](https://www.cve.org/CVERecord?id=CVE-2023-52814), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52814](https://nvd.nist.gov/vuln/detail/CVE-2023-52814), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52814 · Whole record: https://cve.day/CVE-2023-52814.json · Rebuilt by cve.day 2026-11-25T22:58:34.033Z
