# CVE-2024-26667: drm/msm/dpu: check for valid hw_pp in dpu_encoder_helper_phys_cleanup

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-04-02T06:22:15.789Z
- Modified: 2026-06-17T07:18:02.827Z
- Weaknesses: CWE-459
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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/

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 5.19 before 6.1.78; from 6.2 before 6.6.17; from 6.7 before 6.7.5; 6.8

## References

- <https://git.kernel.org/stable/c/fb8bfc6ea3cd8c5ac3d35711d064e2f6646aec17> (patch)
- <https://git.kernel.org/stable/c/79592a6e7bdc1d05460c95f891f5e5263a107af8> (patch)
- <https://git.kernel.org/stable/c/eb4f56f3ff5799ca754ae6d811803a63fe25a4a2> (patch)
- <https://git.kernel.org/stable/c/7f3d03c48b1eb6bc45ab20ca98b8b11be25f9f52> (patch)

## Sources

- CVE List: [CVE-2024-26667](https://www.cve.org/CVERecord?id=CVE-2024-26667), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-26667](https://nvd.nist.gov/vuln/detail/CVE-2024-26667), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26667 · Whole record: https://cve.day/CVE-2024-26667.json · Rebuilt by cve.day 2026-11-25T22:58:38.361Z
