CVE-2025-21941: drm/amd/display: Fix null check for pipe_ctx->plane_state in resource_build_scaling_params
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)
Security readout for executives and security teams
Plain-English summary
CVE-2025-21941 is a Linux kernel availability bug in the AMD display driver. A local low-privileged user could potentially trigger a null pointer dereference and crash the system. The issue was found by code review, and the provided sources do not show active exploitation.
Executive priority
Treat as a routine but time-bound kernel availability fix. It is not currently supported by sources as actively exploited, but systems with shared local access or business-critical graphical workloads should be patched promptly to reduce crash risk.
Technical view
The flaw is CWE-476 in drm/amd/display resource_build_scaling_params. The code could access pipe_ctx->plane_state when it was null. Kernel stable fixes add a null check before use. CVSS 3.1 is 5.5: local attack vector, low complexity, low privileges, no user interaction, high availability impact only.
Likely exposure
Exposure is most likely on affected Linux kernels using the AMD DRM/display stack. Desktop, workstation, VDI, and GPU-enabled systems with local users are more relevant than headless servers without AMD display functionality. Exact exposure depends on kernel version, distro backports, and enabled drivers.
Exploitation context
The source bundle marks KEV as false and cites no public exploitation. The CVSS vector requires local access with low privileges. Impact is denial of service rather than data theft or privilege escalation, based on the provided scoring and description.
Researcher notes
The evidence supports a local denial-of-service assessment only. The affected version data in the bundle is kernel-oriented and may require distro mapping. Validate against downstream package advisories because vendors often backport fixes without changing upstream version numbers.
Mitigation direction
Update to a vendor kernel containing the referenced stable fixes.
Apply Debian LTS kernel updates where those advisories apply.
Prioritize systems with AMD graphics and untrusted local users.
Reboot after kernel updates so the fixed kernel is running.
Check vendor guidance for exact fixed package versions.
Validation and detection
Inventory running kernel versions across Linux endpoints and servers.
Confirm whether AMD DRM/display drivers are present and enabled.
Compare installed kernels against vendor advisories and stable fix references.
Verify the active booted kernel changed after patching.
Review kernel logs for related AMD display null dereference crashes.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.