drm/msm/dpu: Add check for cstate
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1cff7440a86e04a613665803b42034c467f035fa · < c96988b7d99327bb08bd9efd29a203b22cd88ace| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/msm/dpu: Add check for cstate
As kzalloc may fail and return NULL pointer, it should be better to check cstate in order to avoid the NULL pointer dereference in __drm_atomic_helper_crtc_reset.
Patchwork: https://patchwork.freedesktop.org/patch/514163/
From the CVE record · Linux
In the Linux kernel’s drm/msm/dpu component, kzalloc can return NULL, leading to a NULL pointer dereference in __drm_atomic_helper_crtc_reset. The input does not specify how an attacker could trigger this, whether authentication is needed, or whether user interaction is required.
Engineers running the Linux kernel should check whether their builds include the cstate check; affected versions are not specified.