drm/msm/a4xx: fix error handling in a4xx_gpu_init()
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/msm/a4xx: fix error handling in a4xx_gpu_init()
This code returns 1 on error instead of a negative error. It leads to an Oops in the caller. A second problem is that the check for "if (ret != -ENODATA)" cannot be true because "ret" is set to 1.
From the CVE record · Linux
The Linux kernel's DRM MSM A4xx GPU initialization code returns 1 instead of a negative error when initialization fails. This can cause an Oops in the caller; the input does not specify whether an attacker can trigger the failure or what access or interaction would be required.
Engineers running Linux kernels with the DRM MSM A4xx driver should check their versions against the vendor advisory; affected versions are not specified.