All of lore.kernel.org
 help / color / mirror / Atom feed
* CVE-2022-49467: drm: msm: fix possible memory leak in mdp5_crtc_cursor_set()
@ 2025-02-26  2:12 Greg Kroah-Hartman
  0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2025-02-26  2:12 UTC (permalink / raw)
  To: linux-cve-announce; +Cc: Greg Kroah-Hartman

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.

The Linux kernel CVE team has assigned CVE-2022-49467 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 4.0 with commit e172d10a9c4acc69bb07cbe9142ded2df791ff1f and fixed in 4.19.247 with commit f8cd192752a1f613b14eee77783c6f0aebb49691
	Issue introduced in 4.0 with commit e172d10a9c4acc69bb07cbe9142ded2df791ff1f and fixed in 5.4.198 with commit 449374565f349d4233beec811d4286fdfe5de44b
	Issue introduced in 4.0 with commit e172d10a9c4acc69bb07cbe9142ded2df791ff1f and fixed in 5.10.121 with commit 656aa3c51fc662064f17179b38ec3ce43af53bca
	Issue introduced in 4.0 with commit e172d10a9c4acc69bb07cbe9142ded2df791ff1f and fixed in 5.15.46 with commit 33546183c16c7b9650682dc610bedd732d9c6919
	Issue introduced in 4.0 with commit e172d10a9c4acc69bb07cbe9142ded2df791ff1f and fixed in 5.17.14 with commit d544880482a5558ec06393b1b3d5dc9275b7a32b
	Issue introduced in 4.0 with commit e172d10a9c4acc69bb07cbe9142ded2df791ff1f and fixed in 5.18.3 with commit d63ffe3fb3f8327ca21cf91b6a14a2961bc629b4
	Issue introduced in 4.0 with commit e172d10a9c4acc69bb07cbe9142ded2df791ff1f and fixed in 5.19 with commit 947a844bb3ebff0f4736d244d792ce129f6700d7

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2022-49467
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/f8cd192752a1f613b14eee77783c6f0aebb49691
	https://git.kernel.org/stable/c/449374565f349d4233beec811d4286fdfe5de44b
	https://git.kernel.org/stable/c/656aa3c51fc662064f17179b38ec3ce43af53bca
	https://git.kernel.org/stable/c/33546183c16c7b9650682dc610bedd732d9c6919
	https://git.kernel.org/stable/c/d544880482a5558ec06393b1b3d5dc9275b7a32b
	https://git.kernel.org/stable/c/d63ffe3fb3f8327ca21cf91b6a14a2961bc629b4
	https://git.kernel.org/stable/c/947a844bb3ebff0f4736d244d792ce129f6700d7

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-02-26  2:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-26  2:12 CVE-2022-49467: drm: msm: fix possible memory leak in mdp5_crtc_cursor_set() Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.