drm/amd/display: Fix null check for pipe_ctx->plane_state in resource_build_scaling_params
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 · < 3748fad09d89e9a5290e1738fd6872a79f794743| 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 resource_build_scaling_params
Null pointer dereference 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.
Found by code review.
(cherry picked from commit 63e6a77ccf239337baa9b1e7787cde9fa0462092)
From the CVE record · Linux
The Linux kernel's AMD display code can dereference a null pipe_ctx->plane_state while building scaling parameters. The input does not describe an attacker-controlled trigger or specify whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with AMD display support should check their versions; affected versions were not provided.