{"id":"CVE-2024-26667","summary":"drm/msm/dpu: check for valid hw_pp in dpu_encoder_helper_phys_cleanup","details":"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/","modified":"2026-04-02T10:05:23.371197Z","published":"2024-04-02T06:22:15.789Z","related":["SUSE-SU-2024:1466-1","SUSE-SU-2024:1480-1","SUSE-SU-2024:1490-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26667.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/79592a6e7bdc1d05460c95f891f5e5263a107af8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7f3d03c48b1eb6bc45ab20ca98b8b11be25f9f52"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb4f56f3ff5799ca754ae6d811803a63fe25a4a2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fb8bfc6ea3cd8c5ac3d35711d064e2f6646aec17"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26667.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26667"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ae4d721ce10057a4aa9f0d253e0d460518a9ef75"},{"fixed":"fb8bfc6ea3cd8c5ac3d35711d064e2f6646aec17"},{"fixed":"79592a6e7bdc1d05460c95f891f5e5263a107af8"},{"fixed":"eb4f56f3ff5799ca754ae6d811803a63fe25a4a2"},{"fixed":"7f3d03c48b1eb6bc45ab20ca98b8b11be25f9f52"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26667.json"}}],"schema_version":"1.7.5"}