drm/msm/gem: Fix error code msm_parse_deps()
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/gem: Fix error code msm_parse_deps()
The SUBMIT_ERROR() macro turns the error code negative. This extra '-' operation turns it back to positive EINVAL again. The error code is passed to ERR_PTR() and since positive values are not an IS_ERR() it eventually will lead to an oops. Delete the '-'.
Patchwork: https://patchwork.freedesktop.org/patch/637625/
From the CVE record · Linux
In the Linux kernel's drm/msm/gem code, msm_parse_deps() can turn an error code positive, causing error handling to miss it and eventually trigger a kernel oops. The input does not specify how the error is reached or whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels with the affected drm/msm/gem code should check their installations; affected versions are not specified.