In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix null check for pipectx->planestate in dcn20programpipe
This commit addresses a null pointer dereference issue in dcn20programpipe(). Previously, commit 8e4ed3cf1642 ("drm/amd/display: Add null check for pipectx->planestate in dcn20programpipe") partially fixed the null pointer dereference issue. However, in dcn20updatedchubpdpp(), the variable pipectx is passed in, and planestate is accessed again through pipectx. 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.