# CVE-2023-52585: drm/amdgpu: Fix possible NULL dereference in amdgpu_ras_query_error_status_helper()

- 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.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2024-03-06T06:45:20.389Z
- Modified: 2026-08-15T13:17:47.307Z
- 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 possible NULL dereference in amdgpu_ras_query_error_status_helper()

Return invalid error code -EINVAL for invalid block id.

Fixes the below:

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:1183 amdgpu_ras_query_error_status_helper() error: we previously assumed 'info' could be null (see line 1176)

(As written by CVE List.)

## Affected

- Linux Linux: from 8cc0f5669eb6d4f156c721956da67560c9319317 before 195a6289282e039024ad30ba66e6f94a4d0fbe49; from 8cc0f5669eb6d4f156c721956da67560c9319317 before b8d55a90fd55b767c25687747e2b24abd1ef8680; 6.7 (not affected: before 6.7; from 6.7.4 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: before 6.7.4; from 5.4 before 5.4.277; from 5.5 before 5.10.218; from 5.11 before 5.15.160; from 5.16 before 6.1.92; from 6.2 before 6.6.32; from 6.7 before 6.7.4
- debian debian_linux: 10.0
- netapp h610c_firmware: no versions given
- netapp h610s_firmware: no versions given
- netapp h615c_firmware: no versions given

## References

- <https://git.kernel.org/stable/c/195a6289282e039024ad30ba66e6f94a4d0fbe49> (patch)
- <https://git.kernel.org/stable/c/b8d55a90fd55b767c25687747e2b24abd1ef8680> (patch)
- <https://git.kernel.org/stable/c/467139546f3fb93913de064461b1a43a212d7626> (patch)
- <https://git.kernel.org/stable/c/0eb296233f86750102aa43b97879b8d8311f249a> (patch)
- <https://git.kernel.org/stable/c/7e6d6f27522bcd037856234b720ff607b9c4a09b> (patch)
- <https://git.kernel.org/stable/c/92cb363d16ac1e41c9764cdb513d0e89a6ff4915> (patch)
- <https://git.kernel.org/stable/c/c364e7a34c85c2154fb2e47561965d5b5a0b69b1> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html> (mailing-list)
- <https://security.netapp.com/advisory/ntap-20240912-0009/> (mailing-list)

## Sources

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

---

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