drm/msm/dpu: check for valid hw_pp in dpu_encoder_helper_phys_cleanup (Linux Linux)

CVE-2024-26667
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: drm/msm/dpu: check for valid hw_pp in dpu_encoder_helper_phys_cleanup The commit 8b45a26f2ba9 ("drm/msm/dpu: reserve cdm blocks for writeback in case of YUV output") introduced a smatch warning about another conditional block in dpu_encoder_helper_phys_cleanup() which had assumed hw_pp will always be valid which may not necessarily be true. Lets fix the other conditional block by making sure hw_pp is valid before dereferencing it. Patchwork: https://patchwork.freedesktop.org/patch/574878/

Faiblesses (CWE)

  • CWE-459 — Nettoyage incomplet

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:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected ae4d721ce10057a4aa9f0d253e0d460518a9ef75 < fb8bfc6ea3cd8c5ac3d35711d064e2f6646aec17 ; affected ae4d721ce10057a4aa9f0d253e0d460518a9ef75 < 79592a6e7bdc1d05460c95f891f5e5263a107af8 ; affected ae4d721ce10057a4aa9f0d253e0d460518a9ef75 < eb4f56f3ff5799ca754ae6d811803a63fe25a4a2 ; affected ae4d721ce10057a4aa9f0d253e0d460518a9ef75 < 7f3d03c48b1eb6bc45ab20ca98b8b11be25f9f52
Linux · Linuxaffected 5.19 ; unaffected 0 < 5.19 ; unaffected 6.1.78 ≤ 6.1.* ; unaffected 6.6.17 ≤ 6.6.* ; unaffected 6.7.5 ≤ 6.7.* ; unaffected 6.8 ≤ *

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