[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022627-CVE-2022-49693-c20b@gregkh>
Date: Wed, 26 Feb 2025 03:24:16 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2022-49693: drm/msm/mdp4: Fix refcount leak in mdp4_modeset_init_intf
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/msm/mdp4: Fix refcount leak in mdp4_modeset_init_intf
of_graph_get_remote_node() returns remote device node pointer with
refcount incremented, we should use of_node_put() on it
when not need anymore.
Add missing of_node_put() to avoid refcount leak.
Patchwork: https://patchwork.freedesktop.org/patch/488473/
The Linux kernel CVE team has assigned CVE-2022-49693 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.12 with commit 86418f90a4c1a0073db65d8a1e2bf94421117a60 and fixed in 5.4.202 with commit d1592d3e362cc59b29f15019707b16c695d70ca3
Issue introduced in 4.12 with commit 86418f90a4c1a0073db65d8a1e2bf94421117a60 and fixed in 5.10.127 with commit d16a4339825e64f9ddcdff5277982d640bae933b
Issue introduced in 4.12 with commit 86418f90a4c1a0073db65d8a1e2bf94421117a60 and fixed in 5.15.51 with commit 3c39a17197733bc37786ed68c83267c2f491840b
Issue introduced in 4.12 with commit 86418f90a4c1a0073db65d8a1e2bf94421117a60 and fixed in 5.18.8 with commit d607da76fd2b1cf1d377af9d9b7c6f8fecbb0e1d
Issue introduced in 4.12 with commit 86418f90a4c1a0073db65d8a1e2bf94421117a60 and fixed in 5.19 with commit b9cc4598607cb7f7eae5c75fc1e3209cd52ff5e0
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-49693
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/mdp4/mdp4_kms.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/d1592d3e362cc59b29f15019707b16c695d70ca3
https://git.kernel.org/stable/c/d16a4339825e64f9ddcdff5277982d640bae933b
https://git.kernel.org/stable/c/3c39a17197733bc37786ed68c83267c2f491840b
https://git.kernel.org/stable/c/d607da76fd2b1cf1d377af9d9b7c6f8fecbb0e1d
https://git.kernel.org/stable/c/b9cc4598607cb7f7eae5c75fc1e3209cd52ff5e0
Powered by blists - more mailing lists