CVE-2022-48888

drm/msm/dpu: Fix memory leak in msm_mdss_parse_data_bus_icc_path

State
Published
Severity
Not scored
Published
Aug 21, 2024
Updated
May 11, 2026
Reserved
Aug 21, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/msm/dpu: Fix memory leak in msm_mdss_parse_data_bus_icc_path

of_icc_get() alloc resources for path1, we should release it when not need anymore. Early return when IS_ERR_OR_NULL(path0) may leak path1. Defer getting path1 to fix this.

Patchwork: https://patchwork.freedesktop.org/patch/514264/

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b9364eed9232f3d2a846f68c2307eb25c93cc2d0 to before c6fa1de83fd87267ab24359e6fa52f98f5cee3f9Affected
  • b9364eed9232f3d2a846f68c2307eb25c93cc2d0 to before 45dac1352b55b1d8cb17f218936b2bc2bc1fb4eeAffected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.1.7 through 6.1.*Not affected
  • 6.2 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.