drm/msm/dpu: check dpu_plane_atomic_print_state() for valid sspp
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/dpu: check dpu_plane_atomic_print_state() for valid sspp
Similar to the r_pipe sspp protect, add a check to protect the pipe state prints to avoid NULL ptr dereference for cases when the state is dumped without a corresponding atomic_check() where the pipe->sspp is assigned.
Patchwork: https://patchwork.freedesktop.org/patch/628404/
From the CVE record · Linux
The Linux kernel's drm/msm/dpu code can dereference a NULL pointer when it prints pipe state without a preceding atomic_check() assigning pipe->sspp. The input does not specify how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the drm/msm/dpu component should check their versions; affected versions are not specified.