CVE-2025-21941

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

Medium · published April 1, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
10.4
In the wild
Unconfirmed
What it is

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)

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00208 · 10.4th percentile
Published
2025-04-01T15:41Z
EPSS history
Timeline
  • 01 APR 15:41Z
    drm/amd/display: Fix null check for pipe_ctx->plane_state in resource_build_scaling_params
    cvelistv5