[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025061843-CVE-2022-50209-2bc6@gregkh>
Date: Wed, 18 Jun 2025 13:04:34 +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-50209: meson-mx-socinfo: Fix refcount leak in meson_mx_socinfo_init
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
meson-mx-socinfo: Fix refcount leak in meson_mx_socinfo_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-50209 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.15 with commit 5e68c0fc8df8a588b15cd469b27b8b5dbfadc6c3 and fixed in 4.19.256 with commit 69a64c77aafcf3c772264a36214937514e31ad82
Issue introduced in 4.15 with commit 5e68c0fc8df8a588b15cd469b27b8b5dbfadc6c3 and fixed in 5.4.211 with commit 6b28bf3e044f12db0fc18c42f58ae7fc3fa0144a
Issue introduced in 4.15 with commit 5e68c0fc8df8a588b15cd469b27b8b5dbfadc6c3 and fixed in 5.10.137 with commit 2691b8780f88e1b8b3578a5bc78a0011741bbd74
Issue introduced in 4.15 with commit 5e68c0fc8df8a588b15cd469b27b8b5dbfadc6c3 and fixed in 5.15.61 with commit e21744c6a0d4116a2d6ebccd947620ca4c952e92
Issue introduced in 4.15 with commit 5e68c0fc8df8a588b15cd469b27b8b5dbfadc6c3 and fixed in 5.18.18 with commit 8a4a33b3e898b13c750b1c0c9643516c7bf6473f
Issue introduced in 4.15 with commit 5e68c0fc8df8a588b15cd469b27b8b5dbfadc6c3 and fixed in 5.19.2 with commit 0c1757480a6a61b8c3164ed371c359edb3928f12
Issue introduced in 4.15 with commit 5e68c0fc8df8a588b15cd469b27b8b5dbfadc6c3 and fixed in 6.0 with commit a2106f38077e78afcb4bf98fdda3e162118cfb3d
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-50209
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/soc/amlogic/meson-mx-socinfo.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/69a64c77aafcf3c772264a36214937514e31ad82
https://git.kernel.org/stable/c/6b28bf3e044f12db0fc18c42f58ae7fc3fa0144a
https://git.kernel.org/stable/c/2691b8780f88e1b8b3578a5bc78a0011741bbd74
https://git.kernel.org/stable/c/e21744c6a0d4116a2d6ebccd947620ca4c952e92
https://git.kernel.org/stable/c/8a4a33b3e898b13c750b1c0c9643516c7bf6473f
https://git.kernel.org/stable/c/0c1757480a6a61b8c3164ed371c359edb3928f12
https://git.kernel.org/stable/c/a2106f38077e78afcb4bf98fdda3e162118cfb3d
Powered by blists - more mailing lists