Bug 2356604 (CVE-2025-21941) - CVE-2025-21941 kernel: drm/amd/display: Fix null check for pipe_ctx->plane_state in resource_build_scaling_params
Summary: CVE-2025-21941 kernel: drm/amd/display: Fix null check for pipe_ctx->plane_st...
Keywords:
Status: NEW
Alias: CVE-2025-21941
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-01 16:02 UTC by OSIDB Bzimport
Modified: 2025-04-20 18:07 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-01 16:02:05 UTC
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)


Note You need to log in before you can comment on or make changes to this bug.