---
id: CVE-2023-52585
title: >-
  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/…
summary: >-
  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/…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-476
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 6.7.4
  - 'linux_kernel >= 5.4, < 5.4.277'
  - 'linux_kernel >= 5.5, < 5.10.218'
  - 'linux_kernel >= 5.11, < 5.15.160'
  - 'linux_kernel >= 5.16, < 6.1.92'
  - 'linux_kernel >= 6.2, < 6.6.32'
  - 'linux_kernel >= 6.7, < 6.7.4'
  - debian_linux = 10.0
  - h610c_firmware
  - h610s_firmware
  - h615c_firmware
patched:
  - linux_kernel 6.7.4
published: '2024-03-06'
updated: '2026-08-15'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-52585'
references:
  - url: 'https://git.kernel.org/stable/c/195a6289282e039024ad30ba66e6f94a4d0fbe49'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b8d55a90fd55b767c25687747e2b24abd1ef8680'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/0eb296233f86750102aa43b97879b8d8311f249a'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/195a6289282e039024ad30ba66e6f94a4d0fbe49'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/467139546f3fb93913de064461b1a43a212d7626'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/7e6d6f27522bcd037856234b720ff607b9c4a09b'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/92cb363d16ac1e41c9764cdb513d0e89a6ff4915'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/b8d55a90fd55b767c25687747e2b24abd1ef8680'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/c364e7a34c85c2154fb2e47561965d5b5a0b69b1'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20240912-0009/'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.0028
epssPercentile: 0.18268
ingestedAt: '2026-08-15T13:26:43.683Z'
---

## Overview

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

- `linux_kernel < 6.7.4`
- `linux_kernel >= 5.4, < 5.4.277`
- `linux_kernel >= 5.5, < 5.10.218`
- `linux_kernel >= 5.11, < 5.15.160`
- `linux_kernel >= 5.16, < 6.1.92`
- `linux_kernel >= 6.2, < 6.6.32`
- `linux_kernel >= 6.7, < 6.7.4`
- `debian_linux = 10.0`
- `h610c_firmware`
- `h610s_firmware`
- `h615c_firmware`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.7.4`
