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

CVE-2025-21941
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 12 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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)

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 < 265422915416468ba91bffa56addbff45e18342a ; affected 3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 < f435192e00bc4d5d4134356b93212670ec47fa8d ; affected 3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 < c1e54752dc12e90305eb0475ca908f42f5b369ca ; affected 3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 < 3b3c2be58d5275aa59d8b4810a59f173f2f5bac1 ; affected 3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 < e0345c3478f185ca840daac7f08a1fcd4ebec3e9 ; affected 3be5262e353b8ab97c528bfc7d0dd3c820e4ba27 < 3748fad09d89e9a5290e1738fd6872a79f794743
Linux · Linuxaffected 4.15 ; unaffected 0 < 4.15 ; unaffected 5.10.236 ≤ 5.10.* ; unaffected 5.15.180 ≤ 5.15.* ; unaffected 6.1.131 ≤ 6.1.* ; unaffected 6.6.83 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD