CVE-2024-26667
JSON

5.5medium

drm/msm/dpu: check for valid hw_pp in dpu_encoder_helper_phys_cleanup

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.22% (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/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/

Affected

Product or packageVersionsReported by
Linux Linuxfrom ae4d721ce10057a4aa9f0d253e0d460518a9ef75 before fb8bfc6ea3cd8c5ac3d35711d064e2f6646aec17, from ae4d721ce10057a4aa9f0d253e0d460518a9ef75 before 79592a6e7bdc1d05460c95f891f5e5263a107af8, from ae4d721ce10057a4aa9f0d253e0d460518a9ef75 before eb4f56f3ff5799ca754ae6d811803a63fe25a4a2, from ae4d721ce10057a4aa9f0d253e0d460518a9ef75 before 7f3d03c48b1eb6bc45ab20ca98b8b11be25f9f52, 5.19
Not affected: before 5.19, from 6.1.78 up to 6.1.*, from 6.6.17 up to 6.6.*, from 6.7.5 up to 6.7.*, from 6.8 up to *
CVE List
linux linux_kernelfrom 5.19 before 6.1.78, from 6.2 before 6.6.17, from 6.7 before 6.7.5, 6.8NVD

Classification

CWE-459

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/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/

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/msm/dpu: check for valid hw_pp en dpu_encoder_helper_phys_cleanup. El commit 8b45a26f2ba9 ("drm/msm/dpu: reserve bloques cdm para reescritura en caso de salida YUV") introdujo una coincidencia advertencia sobre otro bloque condicional en dpu_encoder_helper_phys_cleanup() que había asumido que hw_pp siempre será válido, lo que puede no ser necesariamente cierto. Arreglemos el otro bloque condicional asegurándonos de que hw_pp sea válido antes de eliminar la referencia a él. Remiendo: https://patchwork.freedesktop.org/patch/574878/

References

Sources

SourceRecordLicence
CVE ListCVE-2024-26667 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-26667 changed 2026-06-17Public domain