{"id":"CVE-2024-26667","aliases":["CVE-2024-26667"],"related":[],"kind":"vulnerability","state":"published","title":"drm/msm/dpu: check for valid hw_pp in dpu_encoder_helper_phys_cleanup","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dpu: check for valid hw_pp in dpu_encoder_helper_phys_cleanup\n\nThe commit 8b45a26f2ba9 (\"drm/msm/dpu: reserve cdm blocks for writeback\nin case of YUV output\") introduced a smatch warning about another\nconditional block in dpu_encoder_helper_phys_cleanup() which had assumed\nhw_pp will always be valid which may not necessarily be true.\n\nLets fix the other conditional block by making sure hw_pp is valid\nbefore dereferencing it.\n\nPatchwork: https://patchwork.freedesktop.org/patch/574878/","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dpu: check for valid hw_pp in dpu_encoder_helper_phys_cleanup\n\nThe commit 8b45a26f2ba9 (\"drm/msm/dpu: reserve cdm blocks for writeback\nin case of YUV output\") introduced a smatch warning about another\nconditional block in dpu_encoder_helper_phys_cleanup() which had assumed\nhw_pp will always be valid which may not necessarily be true.\n\nLets fix the other conditional block by making sure hw_pp is valid\nbefore dereferencing it.\n\nPatchwork: https://patchwork.freedesktop.org/patch/574878/","source":"cvelist"},{"lang":"es","text":"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/","source":"nvd"}],"published":"2024-04-02T06:22:15.789Z","modified":"2026-06-17T07:18:02.827Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-459"],"affected":[{"ranges":[{"type":"git","introduced":"ae4d721ce10057a4aa9f0d253e0d460518a9ef75","fixed":"fb8bfc6ea3cd8c5ac3d35711d064e2f6646aec17","status":"affected"},{"type":"git","introduced":"ae4d721ce10057a4aa9f0d253e0d460518a9ef75","fixed":"79592a6e7bdc1d05460c95f891f5e5263a107af8","status":"affected"},{"type":"git","introduced":"ae4d721ce10057a4aa9f0d253e0d460518a9ef75","fixed":"eb4f56f3ff5799ca754ae6d811803a63fe25a4a2","status":"affected"},{"type":"git","introduced":"ae4d721ce10057a4aa9f0d253e0d460518a9ef75","fixed":"7f3d03c48b1eb6bc45ab20ca98b8b11be25f9f52","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.19","status":"unaffected"},{"type":"semver","introduced":"6.1.78","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.17","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.5","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.19","fixed":"6.1.78"},{"status":"affected","introduced":"6.2","fixed":"6.6.17"},{"status":"affected","introduced":"6.7","fixed":"6.7.5"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/fb8bfc6ea3cd8c5ac3d35711d064e2f6646aec17","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/79592a6e7bdc1d05460c95f891f5e5263a107af8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eb4f56f3ff5799ca754ae6d811803a63fe25a4a2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7f3d03c48b1eb6bc45ab20ca98b8b11be25f9f52","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-04-02T14:52:01.854Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-26667","url":"https://www.cve.org/CVERecord?id=CVE-2024-26667","licence":"CVE Terms of Use","modified":"2026-05-11T20:01:51.667Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-26667","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26667","licence":"Public domain","modified":"2026-06-17T07:18:02.827Z"}],"updatedAt":"2026-11-25T22:58:38.361Z","epss":{"score":0.00225,"percentile":0.14046,"date":"2026-12-01T12:00:22.000Z"}}