CVE-2025-21941

published 1 Apr 2025 · updated 11 May 2026

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 265422915416468ba91bffa56addbff45e18342a, Kernel 3748fad09d89e9a5290e1738fd6872a79f794743, Kernel 374c9faac5a763a05bc3f68ad9f73dab3c6aec90 and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.15, >=3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 <265422915416468ba91bffa56addbff45e18342a, >=3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 <3748fad09d89e9a5290e1738fd6872a79f794743, >=3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 <374c9faac5a763a05bc3f68ad9f73dab3c6aec90, >=3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 <3b3c2be58d5275aa59d8b4810a59f173f2f5bac1, >=3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 <c1e54752dc12e90305eb0475ca908f42f5b369ca, >=3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 <e0345c3478f185ca840daac7f08a1fcd4ebec3e9, >=3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 <f435192e00bc4d5d4134356b93212670ec47fa8d265422915416468ba91bffa56addbff45e18342a, 3748fad09d89e9a5290e1738fd6872a79f794743, 374c9faac5a763a05bc3f68ad9f73dab3c6aec90, 3b3c2be58d5275aa59d8b4810a59f173f2f5bac1, c1e54752dc12e90305eb0475ca908f42f5b369ca, e0345c3478f185ca840daac7f08a1fcd4ebec3e9, f435192e00bc4d5d4134356b93212670ec47fa8d

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21941 severity on Zeptric[![CVE-2025-21941](https://zeptric.io/badge/cve/CVE-2025-21941.svg)](https://zeptric.io/cve/CVE-2025-21941)