CVE-2024-53201
drm/amd/display: Fix null check for pipe_ctx->plane_state in dcn20_program_pipe
Published:
12/27/2024
Last updated:
10/1/2025
Reserved:
11/19/2024
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix null check for pipe_ctx->plane_state in dcn20_program_pipe
This commit addresses a null pointer dereference issue in
dcn20_program_pipe(). Previously, commit 8e4ed3cf1642 ("drm/amd/display:
Add null check for pipe_ctx->plane_state in dcn20_program_pipe")
partially fixed the null pointer dereference issue. However, in
dcn20_update_dchubp_dpp(), the variable pipe_ctx is passed in, and
plane_state is accessed again through pipe_ctx. Multiple if statements
directly call attributes of plane_state, leading to potential null
pointer dereference issues. This patch adds necessary null checks to
ensure stability.
CNA assigner:
Linux (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
Requested by:
n/a
Products affected (4)
| Product |
Vendor |
Version |
| Linux |
Linux
|
< 3.1.11
|
| Linux |
Linux
|
n/a
|
| Linux |
Linux
|
Snapdragon AR1 Gen 1 Platform "Luna1"
|
| Linux |
Linux
|
Snapdragon 210 Processor
|