CVE-2022-49467

drm: msm: fix possible memory leak in mdp5_crtc_cursor_set()

State
Published
Severity
5.5 Medium
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected Products

ProductVersions
LinuxLinux
  • e172d10a9c4acc69bb07cbe9142ded2df791ff1f to before f8cd192752a1f613b14eee77783c6f0aebb49691Affected
  • e172d10a9c4acc69bb07cbe9142ded2df791ff1f to before 449374565f349d4233beec811d4286fdfe5de44bAffected
  • e172d10a9c4acc69bb07cbe9142ded2df791ff1f to before 656aa3c51fc662064f17179b38ec3ce43af53bcaAffected
  • e172d10a9c4acc69bb07cbe9142ded2df791ff1f to before 33546183c16c7b9650682dc610bedd732d9c6919Affected
  • e172d10a9c4acc69bb07cbe9142ded2df791ff1f to before d544880482a5558ec06393b1b3d5dc9275b7a32bAffected
  • e172d10a9c4acc69bb07cbe9142ded2df791ff1f to before d63ffe3fb3f8327ca21cf91b6a14a2961bc629b4Affected
  • e172d10a9c4acc69bb07cbe9142ded2df791ff1f to before 947a844bb3ebff0f4736d244d792ce129f6700d7Affected
LinuxLinux
  • 4.0Affected
  • before 4.0Not affected
  • 4.19.247 through 4.19.*Not affected
  • 5.4.198 through 5.4.*Not affected
  • 5.10.121 through 5.10.*Not affected
  • 5.15.46 through 5.15.*Not affected
  • 5.17.14 through 5.17.*Not affected
  • 5.18.3 through 5.18.*Not affected
  • 5.19 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.