drm/msm/dpu: Fix memory leak in msm_mdss_parse_data_bus_icc_path
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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/
From the CVE record · Linux
The Linux kernel’s drm/msm/dpu code can leak a resource allocated for an interconnect path when parsing returns early. The input does not specify how an attacker could trigger the leak or whether access, authentication, or user interaction is required.
Anyone running Linux kernels with the affected drm/msm/dpu code should check their version; affected versions are not specified.