CVE-2025-21941

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

MEDIUM
5.5
CVSS Score
Published: April 1, 2025 at 03:41 PM UTC
Updated: June 17, 2026 at 08:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.15 ≤ v < 5.10.2364.15 ≤ v < 5.15.1804.15 ≤ v < 6.1.1314.15 ≤ v < 6.12.194.15 ≤ v < 6.13.74.15 ≤ v < 6.144.15 ≤ v < 6.6.835.11 ≤ v < 5.15.1805.16 ≤ v < 6.1.1316.13 ≤ v < 6.13.76.2 ≤ v < 6.6.836.7 ≤ v < 6.12.193be5262e353b8ab97c528bfc7d0dd3c820e4ba276.14 rc16.14 rc26.14 rc36.14 rc46.14 rc5
Vendor states this is fixed in 265422915416468ba91bffa56addbff45e18342a (fixed)
Vendor states this is fixed in 3748fad09d89e9a5290e1738fd6872a79f794743 (fixed)
Vendor states this is fixed in 374c9faac5a763a05bc3f68ad9f73dab3c6aec90 (fixed)
Vendor states this is fixed in 3b3c2be58d5275aa59d8b4810a59f173f2f5bac1 (fixed)
Vendor states this is fixed in c1e54752dc12e90305eb0475ca908f42f5b369ca (fixed)
Vendor states this is fixed in e0345c3478f185ca840daac7f08a1fcd4ebec3e9 (fixed)
Vendor states this is fixed in f435192e00bc4d5d4134356b93212670ec47fa8d (fixed)
Vendor states this is fixed in 4.15 (unaffected)
Vendor states this is fixed in 5.10.236 (unaffected)
Vendor states this is fixed in 5.15.180 (unaffected)
Vendor states this is fixed in 6.1.131 (unaffected)
Vendor states this is fixed in 6.12.19 (unaffected)
Vendor states this is fixed in 6.13.7 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.83 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/265422915416468ba91bffa56addbff45e18342a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3748fad09d89e9a5290e1738fd6872a79f794743
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/374c9faac5a763a05bc3f68ad9f73dab3c6aec90
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3b3c2be58d5275aa59d8b4810a59f173f2f5bac1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c1e54752dc12e90305eb0475ca908f42f5b369ca
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e0345c3478f185ca840daac7f08a1fcd4ebec3e9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f435192e00bc4d5d4134356b93212670ec47fa8d
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card