What’s Vulnerable › Vulnerabilities
CVE-2023-52585: drm/amdgpu: Fix possible NULL dereference in amdgpu_ras_query_error_status_helper()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-06 · updated 2026-08-15
- Weakness: CWE-476
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)
Affected products
- Debian Linux: 10.0
- 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 — fixed in 5.10.218, 5.15.160, 5.4.277, 6.1.92, 6.6.32, 6.7.4
- NetApp H610C Firmware: all versions
- NetApp H610S Firmware: all versions
- NetApp H615C Firmware: all versions
How to fix
Upgrade to a fixed version: Linux kernel 5.10.218, 5.15.160, 5.4.277, 6.1.92. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/195a6289282e039024ad30ba66e6f94a4d0fbe49
- https://git.kernel.org/stable/c/b8d55a90fd55b767c25687747e2b24abd1ef8680
- https://git.kernel.org/stable/c/0eb296233f86750102aa43b97879b8d8311f249a
- https://git.kernel.org/stable/c/195a6289282e039024ad30ba66e6f94a4d0fbe49
- https://git.kernel.org/stable/c/467139546f3fb93913de064461b1a43a212d7626
- https://git.kernel.org/stable/c/7e6d6f27522bcd037856234b720ff607b9c4a09b
- https://git.kernel.org/stable/c/92cb363d16ac1e41c9764cdb513d0e89a6ff4915
- https://git.kernel.org/stable/c/b8d55a90fd55b767c25687747e2b24abd1ef8680
- https://git.kernel.org/stable/c/c364e7a34c85c2154fb2e47561965d5b5a0b69b1
- https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html
- https://security.netapp.com/advisory/ntap-20240912-0009/
Get alerted when CVE-2023-52585 or the next vulnerability affects your stack