Skip to main content
← All vulnerabilities
CVE-2024-53201

drm/amd/display: Fix null check for pipe_ctx->plane_state in dcn20_program_pipe

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.160, 6.11.11, 6.12.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 68f75e6f08aad66069a629db8d7840919156c761 · fixed in 0335fb698ab0415d87650bc7a0f465c563ddec7d; From 65a6fee22d5cfa645cb05489892dc9cd3d142fc2 · fixed in 6b4ee2560d4d8de2688da68cd9581177035e0876; From 8e4ed3cf1642df0c4456443d865cff61a9598aa8 · fixed in 3609259326171cd5b98462636580fb2ae5c87d40; From 8e4ed3cf1642df0c4456443d865cff61a9598aa8 · fixed in 6a057072ddd127255350357dd880903e8fa23f36; From 6.6.64 · fixed in 6.6.160; From 6.11.3 · fixed in 6.11.11

  • Linux Linux

    6.12

  • KernelLinux

    fixed in 6.6.160; From 6.7.0 · fixed in 6.11.11; From 6.12.0 · fixed in 6.12.2

References 4

git.kernel.org