CVE-2024-53201 drm/amd/display: Fix null check for pipe_ctx->plane_state in dcn20_program_pipe
A null pointer dereference in the AMD display driver can cause a system crash, requiring a kernel patch to ensure stability.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-53201?
CVE-2024-53201 is a medium-severity vulnerability in Linux kernel, published on 27 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-476
Which versions are affected by CVE-2024-53201?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-53201?
Apply the vendor's patch.
Is CVE-2024-53201 being exploited?
There is no known exploitation of CVE-2024-53201 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-55294, BELL-CVE-2024-53201, DEBIAN-CVE-2024-53201, GHSA-9pwp-p2rw-34f5, UBUNTU-CVE-2024-53201.