[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025061812-CVE-2022-50123-49ce@gregkh>
Date: Wed, 18 Jun 2025 13:03:08 +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-50123: ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_dev_probe
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_dev_probe
of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Fix missing of_node_put() in error paths.
The Linux kernel CVE team has assigned CVE-2022-50123 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.2 with commit 94319ba10ecabc8f28129566d1f5793e3e7a0a79 and fixed in 4.14.291 with commit aa668f8e93199cda8fa1612eb49ff70f5ecd8c92
Issue introduced in 4.2 with commit 94319ba10ecabc8f28129566d1f5793e3e7a0a79 and fixed in 4.19.256 with commit fab5eb31819a2693b0c3d6f3df6a0d193af9a089
Issue introduced in 4.2 with commit 94319ba10ecabc8f28129566d1f5793e3e7a0a79 and fixed in 5.4.211 with commit d6d41f04640db0f946e2c3f7963bb2774afc7a0d
Issue introduced in 4.2 with commit 94319ba10ecabc8f28129566d1f5793e3e7a0a79 and fixed in 5.10.137 with commit aa1214ece37944e4dbbb5cfb1d02bf37e4d89b02
Issue introduced in 4.2 with commit 94319ba10ecabc8f28129566d1f5793e3e7a0a79 and fixed in 5.15.61 with commit 540c7b7385fb110740703888b4b2bbfa06c7f79c
Issue introduced in 4.2 with commit 94319ba10ecabc8f28129566d1f5793e3e7a0a79 and fixed in 5.18.18 with commit 769399bce8825e1dcc5050dab78e15ab578baf4f
Issue introduced in 4.2 with commit 94319ba10ecabc8f28129566d1f5793e3e7a0a79 and fixed in 5.19.2 with commit 58567ed2878f70e0ded242cb529fb4a7618ea9f8
Issue introduced in 4.2 with commit 94319ba10ecabc8f28129566d1f5793e3e7a0a79 and fixed in 6.0 with commit ae4f11c1ed2d67192fdf3d89db719ee439827c11
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-50123
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:
sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.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/aa668f8e93199cda8fa1612eb49ff70f5ecd8c92
https://git.kernel.org/stable/c/fab5eb31819a2693b0c3d6f3df6a0d193af9a089
https://git.kernel.org/stable/c/d6d41f04640db0f946e2c3f7963bb2774afc7a0d
https://git.kernel.org/stable/c/aa1214ece37944e4dbbb5cfb1d02bf37e4d89b02
https://git.kernel.org/stable/c/540c7b7385fb110740703888b4b2bbfa06c7f79c
https://git.kernel.org/stable/c/769399bce8825e1dcc5050dab78e15ab578baf4f
https://git.kernel.org/stable/c/58567ed2878f70e0ded242cb529fb4a7618ea9f8
https://git.kernel.org/stable/c/ae4f11c1ed2d67192fdf3d89db719ee439827c11
Powered by blists - more mailing lists