[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025061839-CVE-2022-50198-23b1@gregkh>
Date: Wed, 18 Jun 2025 13:04:23 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50198: ARM: OMAP2+: Fix refcount leak in omap3xxx_prm_late_init
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ARM: OMAP2+: Fix refcount leak in omap3xxx_prm_late_init
of_find_matching_node() returns a 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.
The Linux kernel CVE team has assigned CVE-2022-50198 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.18 with commit 1e037794f7f00ff464db446ace892dae84175a6a and fixed in 4.19.256 with commit c9ec7993d00250a394d367c8a19fcfe8211c258b
Issue introduced in 3.18 with commit 1e037794f7f00ff464db446ace892dae84175a6a and fixed in 5.4.211 with commit c4f92af7fc8cecb8eb426ad187e39c7bcc6679c7
Issue introduced in 3.18 with commit 1e037794f7f00ff464db446ace892dae84175a6a and fixed in 5.10.137 with commit d294d60dc68550fee0fbbe8a638d798dcd40b2c5
Issue introduced in 3.18 with commit 1e037794f7f00ff464db446ace892dae84175a6a and fixed in 5.15.61 with commit 1bf747824a8ca4008879fd7d2ce6b03d7b428858
Issue introduced in 3.18 with commit 1e037794f7f00ff464db446ace892dae84175a6a and fixed in 5.18.18 with commit e5ab8a4967d68a8e9f8f4559d144207d085a8c02
Issue introduced in 3.18 with commit 1e037794f7f00ff464db446ace892dae84175a6a and fixed in 5.19.2 with commit c652e0f51665f3fa575449909bbd9d7b45dfab1c
Issue introduced in 3.18 with commit 1e037794f7f00ff464db446ace892dae84175a6a and fixed in 6.0 with commit 942228fbf5d4901112178b93d41225be7c0dd9de
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-50198
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:
arch/arm/mach-omap2/prm3xxx.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/c9ec7993d00250a394d367c8a19fcfe8211c258b
https://git.kernel.org/stable/c/c4f92af7fc8cecb8eb426ad187e39c7bcc6679c7
https://git.kernel.org/stable/c/d294d60dc68550fee0fbbe8a638d798dcd40b2c5
https://git.kernel.org/stable/c/1bf747824a8ca4008879fd7d2ce6b03d7b428858
https://git.kernel.org/stable/c/e5ab8a4967d68a8e9f8f4559d144207d085a8c02
https://git.kernel.org/stable/c/c652e0f51665f3fa575449909bbd9d7b45dfab1c
https://git.kernel.org/stable/c/942228fbf5d4901112178b93d41225be7c0dd9de
Powered by blists - more mailing lists