CVE-2023-52585

Source
https://cve.org/CVERecord?id=CVE-2023-52585
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52585.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52585
Downstream
Related
Published
2024-03-06T06:45:20.389Z
Modified
2026-04-11T12:46:33.155936Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
drm/amdgpu: Fix possible NULL dereference in amdgpu_ras_query_error_status_helper()
Details

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

drm/amdgpu: Fix possible NULL dereference in amdgpurasqueryerrorstatus_helper()

Return invalid error code -EINVAL for invalid block id.

Fixes the below:

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52585.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d38ceaf99ed015f2a0b9af3499791bd3a3daae21
Fixed
467139546f3fb93913de064461b1a43a212d7626
Fixed
0eb296233f86750102aa43b97879b8d8311f249a
Fixed
7e6d6f27522bcd037856234b720ff607b9c4a09b
Fixed
92cb363d16ac1e41c9764cdb513d0e89a6ff4915
Fixed
c364e7a34c85c2154fb2e47561965d5b5a0b69b1
Fixed
195a6289282e039024ad30ba66e6f94a4d0fbe49
Fixed
b8d55a90fd55b767c25687747e2b24abd1ef8680

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52585.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.2.0
Fixed
5.4.277
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.218
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.160
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.92
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.32
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.7.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52585.json"