CVE-2022-49467Published Feb 26, 2025 · Feb 26Updated Oct 28
drm: msm: fix possible memory leak in mdp5_crtc_cursor_set()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e172d10a9c4acc69bb07cbe9142ded2df791ff1f · < d63ffe3fb3f8327ca21cf91b6a14a2961bc629b4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm: msm: fix possible memory leak in mdp5_crtc_cursor_set()
drm_gem_object_lookup will call drm_gem_object_get inside. So cursor_bo needs to be put when msm_gem_get_and_pin_iova fails.
From the CVE record · Linux
The Linux kernel’s msm DRM cursor-setting function can leak a GEM object reference if msm_gem_get_and_pin_iova fails. The input does not specify how an attacker could trigger the failure or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the affected msm DRM code should check their kernel version; affected versions are not specified.