CVE-2024-26667

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

State
Published
Severity
Not scored
Published
Apr 2, 2024
Updated
May 11, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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/

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ae4d721ce10057a4aa9f0d253e0d460518a9ef75 to before fb8bfc6ea3cd8c5ac3d35711d064e2f6646aec17Affected
  • ae4d721ce10057a4aa9f0d253e0d460518a9ef75 to before 79592a6e7bdc1d05460c95f891f5e5263a107af8Affected
  • ae4d721ce10057a4aa9f0d253e0d460518a9ef75 to before eb4f56f3ff5799ca754ae6d811803a63fe25a4a2Affected
  • ae4d721ce10057a4aa9f0d253e0d460518a9ef75 to before 7f3d03c48b1eb6bc45ab20ca98b8b11be25f9f52Affected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.1.78 through 6.1.*Not affected
  • 6.6.17 through 6.6.*Not affected
  • 6.7.5 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.