CVE-2022-48888
JSON

5.5medium

drm/msm/dpu: Fix memory leak in msm_mdss_parse_data_bus_icc_path

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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/

Affected

Product or packageVersionsReported by
Linux Linuxfrom b9364eed9232f3d2a846f68c2307eb25c93cc2d0 before c6fa1de83fd87267ab24359e6fa52f98f5cee3f9, from b9364eed9232f3d2a846f68c2307eb25c93cc2d0 before 45dac1352b55b1d8cb17f218936b2bc2bc1fb4ee, 5.19
Not affected: before 5.19, from 6.1.7 up to 6.1.*, from 6.2 up to *
CVE List
linux linux_kernelfrom 5.19 before 6.1.7NVD

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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/

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: drm/msm/dpu: corrige la pérdida de memoria en msm_mdss_parse_data_bus_icc_path of_icc_get() asigna recursos para la ruta1, debemos liberarlos cuando ya no los necesitemos. Retorno anticipado cuando IS_ERR_OR_NULL(ruta0) puede filtrar la ruta1. Posponga la obtención de la ruta 1 para solucionar este problema. Remiendo: https://patchwork.freedesktop.org/patch/514264/

References

Sources

SourceRecordLicence
CVE ListCVE-2022-48888 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-48888 changed 2026-06-17Public domain