CVEvulnerability
CVE-2024-26667
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-04-02
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-459
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 configurations
• linux linux kernel (>= 5.19 < 6.1.78)
• linux linux kernel (>= 6.2 < 6.6.17)
• linux linux kernel (>= 6.7 < 6.7.5)
• linux linux kernel 6.8
Related
Weakness · CWE (1)
- CWE-459 Incomplete Cleanup weakness
References
- https://git.kernel.org/stable/c/79592a6e7bdc1d05460c95f891f5e5263a107af8 Patch
- https://git.kernel.org/stable/c/7f3d03c48b1eb6bc45ab20ca98b8b11be25f9f52 Patch
- https://git.kernel.org/stable/c/eb4f56f3ff5799ca754ae6d811803a63fe25a4a2 Patch
- https://git.kernel.org/stable/c/fb8bfc6ea3cd8c5ac3d35711d064e2f6646aec17 Patch
- https://git.kernel.org/stable/c/79592a6e7bdc1d05460c95f891f5e5263a107af8 Patch
- https://git.kernel.org/stable/c/7f3d03c48b1eb6bc45ab20ca98b8b11be25f9f52 Patch
- https://git.kernel.org/stable/c/eb4f56f3ff5799ca754ae6d811803a63fe25a4a2 Patch
- https://git.kernel.org/stable/c/fb8bfc6ea3cd8c5ac3d35711d064e2f6646aec17 Patch