Bug 2334364 (CVE-2024-53201) - CVE-2024-53201 kernel: drm/amd/display: Fix null check for pipe_ctx->plane_state in dcn20_program_pipe
Summary: CVE-2024-53201 kernel: drm/amd/display: Fix null check for pipe_ctx->plane_st...
Keywords:
Status: NEW
Alias: CVE-2024-53201
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-27 14:02 UTC by OSIDB Bzimport
Modified: 2025-01-20 06:13 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-27 14:02:06 UTC
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.

Comment 1 Avinash Hanwate 2024-12-28 14:29:35 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122726-CVE-2024-53201-2534@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.