drm/amdgpu: Fix possible NULL dereference in amdgpu_ras_query_error_status_helper()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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)
From the CVE record · Linux
The amdgpu RAS error-status helper in the Linux kernel may dereference a NULL pointer when given an invalid block ID. The input does not establish how an attacker could trigger this condition or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the amdgpu driver should check their versions; affected versions are not specified.