CVE-2023-52585

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

State
Published
Severity
5.5 Medium
Published
Mar 6, 2024
Updated
Aug 15, 2026
Reserved
Mar 2, 2024

Read the record on cve.org

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)

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 8cc0f5669eb6d4f156c721956da67560c9319317 to before 195a6289282e039024ad30ba66e6f94a4d0fbe49Affected
  • 8cc0f5669eb6d4f156c721956da67560c9319317 to before b8d55a90fd55b767c25687747e2b24abd1ef8680Affected
LinuxLinux
  • 6.7Affected
  • before 6.7Not affected
  • 6.7.4 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.