drm/plane: Fix create_in_format_blob() return value
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/plane: Fix create_in_format_blob() return value
create_in_format_blob() is either supposed to return a valid pointer or an error, but never NULL. The caller will dereference the blob when it is not an error, and thus will oops if NULL returned. Return proper error values in the failure cases.
From the CVE record · Linux
The Linux kernel's DRM plane create_in_format_blob() function can return NULL on failure where its caller expects a valid pointer or an error. The caller can then dereference NULL and trigger a kernel oops. The input does not specify how this condition can be reached, whether authentication or user interaction is needed, or whether it is remotely exploitable.
Engineers running Linux kernels with the affected DRM plane code should check their versions; no affected versions are specified.