drm/amd/display: Fix null check for pipe_ctx->plane_state in hwss_setup_dpp
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/amd/display: Fix null check for pipe_ctx->plane_state in hwss_setup_dpp
This commit addresses a null pointer dereference issue in hwss_setup_dpp(). The issue could occur when pipe_ctx->plane_state is null. The fix adds a check to ensure `pipe_ctx->plane_state` is not null before accessing. This prevents a null pointer dereference.
From the CVE record · Linux
The Linux kernel’s AMD display code can dereference a null pointer in hwss_setup_dpp() when pipe_ctx->plane_state is null. The input does not specify how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running Linux kernels with AMD display support should check their versions; affected versions are not specified.