← Database

CVE-2025-21941

MEDIUM CVSS: 5.5 Published: 2025-04-01 Modified: 2026-06-17

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix null check for pipe_ctx->plane_state in resource_build_scaling_params Null pointer dereference issue could occur when pipe_ctx->plane_state is null. The fix adds a check to ensure 'pipe_ctx->plane_state' is not null before accessing. This prevents a null pointer dereference. Found by code review. (cherry picked from commit 63e6a77ccf239337baa9b1e7787cde9fa0462092)

Affected Platforms

Linux Linux Kernel

Weakness Type

CWE-476, CWE-476

References