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

Medium 5.5 Published Updated

A NULL pointer dereference in the AMD GPU driver can cause a system crash, requiring a kernel patch to prevent denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-52585?

CVE-2023-52585 is a medium-severity vulnerability in Debian Debian Linux, published on 6 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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)

Weakness: CWE-476

Which versions are affected by CVE-2023-52585?

It affects 5 products.

Products include Debian Debian Linux, Linux kernel, Netapp H610c Firmware, Netapp H610s Firmware, Netapp H615c Firmware.

How do I fix CVE-2023-52585?

Apply the vendor's patch.

Is CVE-2023-52585 being exploited?

There is no known exploitation of CVE-2023-52585 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-58611, AZL-58623, BELL-CVE-2023-52585, DEBIAN-CVE-2023-52585, GHSA-g3ch-355r-26mp, UBUNTU-CVE-2023-52585.

Is CVE-2023-52585 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free