5.5medium
drm/amd/display: Fix null check for pipe_ctx->plane_state in resource_build_scaling_params
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 before 265422915416468ba91bffa56addbff45e18342a, from 3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 before f435192e00bc4d5d4134356b93212670ec47fa8d, from 3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 before c1e54752dc12e90305eb0475ca908f42f5b369ca, from 3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 before 3b3c2be58d5275aa59d8b4810a59f173f2f5bac1, from 3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 before e0345c3478f185ca840daac7f08a1fcd4ebec3e9, from 3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 before 3748fad09d89e9a5290e1738fd6872a79f794743, from 3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 before 374c9faac5a763a05bc3f68ad9f73dab3c6aec90, 4.15 Not affected: before 4.15, from 5.10.236 up to 5.10.*, from 5.15.180 up to 5.15.*, from 6.1.131 up to 6.1.*, from 6.6.83 up to 6.6.*, from 6.12.19 up to 6.12.* | CVE List |
| linux linux_kernel | from 4.15 before 5.10.236, from 5.11 before 5.15.180, from 5.16 before 6.1.131, from 6.2 before 6.6.83, from 6.7 before 6.12.19, from 6.13 before 6.13.7, 6.14 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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)
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: Se corrige la comprobación nula de pipe_ctx->plane_state en resource_build_scaling_params. Un problema de desreferencia de puntero nulo podía ocurrir cuando pipe_ctx->plane_state era nulo. Esta corrección añade una comprobación para garantizar que 'pipe_ctx->plane_state' no fuera nulo antes de acceder. Esto evita una desreferencia de puntero nulo. Encontrado mediante revisión de código. (Seleccionado de el commit 63e6a77ccf239337baa9b1e7787cde9fa0462092)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-21941 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-21941 changed 2026-06-17 | Public domain |