lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025122419-CVE-2022-50703-1c22@gregkh>
Date: Wed, 24 Dec 2025 11:56:20 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50703: soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()

From: Greg Kroah-Hartman <gregkh@...nel.org>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()

There are two refcount leak bugs in qcom_smsm_probe():

(1) The 'local_node' is escaped out from for_each_child_of_node() as
the break of iteration, we should call of_node_put() for it in error
path or when it is not used anymore.
(2) The 'node' is escaped out from for_each_available_child_of_node()
as the 'goto', we should call of_node_put() for it in goto target.

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


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

	Issue introduced in 4.5 with commit c97c4090ff72297a878a37715bd301624b71c885 and fixed in 4.9.331 with commit 1bbe75d466e5118b7d49ef4a346c3ce5742da4e8
	Issue introduced in 4.5 with commit c97c4090ff72297a878a37715bd301624b71c885 and fixed in 4.14.296 with commit bd4666bf5562fe8e8e5e9bd6fc805d30e1767f43
	Issue introduced in 4.5 with commit c97c4090ff72297a878a37715bd301624b71c885 and fixed in 4.19.262 with commit 42df28994eba7b56c762f7bbe7efd5611a1cd15b
	Issue introduced in 4.5 with commit c97c4090ff72297a878a37715bd301624b71c885 and fixed in 5.4.220 with commit 1e3ed59370c712df436791efed120f0c082aa9bc
	Issue introduced in 4.5 with commit c97c4090ff72297a878a37715bd301624b71c885 and fixed in 5.10.150 with commit 39781c98ad46b4e85053345dff797240c1ed7935
	Issue introduced in 4.5 with commit c97c4090ff72297a878a37715bd301624b71c885 and fixed in 5.15.75 with commit 96e0028debdd07a6d582f0dfadf9a3ec2b5fffff
	Issue introduced in 4.5 with commit c97c4090ff72297a878a37715bd301624b71c885 and fixed in 5.19.17 with commit 8fb6112bd49c0e49f2cf51604231d85ff00284bb
	Issue introduced in 4.5 with commit c97c4090ff72297a878a37715bd301624b71c885 and fixed in 6.0.3 with commit ee7fc83ce0e6986ff9b1c1d7e994fbbf8d43861d
	Issue introduced in 4.5 with commit c97c4090ff72297a878a37715bd301624b71c885 and fixed in 6.1 with commit af8f6f39b8afd772fda4f8e61823ef8c021bf382

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-50703
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/qcom/smsm.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/1bbe75d466e5118b7d49ef4a346c3ce5742da4e8
	https://git.kernel.org/stable/c/bd4666bf5562fe8e8e5e9bd6fc805d30e1767f43
	https://git.kernel.org/stable/c/42df28994eba7b56c762f7bbe7efd5611a1cd15b
	https://git.kernel.org/stable/c/1e3ed59370c712df436791efed120f0c082aa9bc
	https://git.kernel.org/stable/c/39781c98ad46b4e85053345dff797240c1ed7935
	https://git.kernel.org/stable/c/96e0028debdd07a6d582f0dfadf9a3ec2b5fffff
	https://git.kernel.org/stable/c/8fb6112bd49c0e49f2cf51604231d85ff00284bb
	https://git.kernel.org/stable/c/ee7fc83ce0e6986ff9b1c1d7e994fbbf8d43861d
	https://git.kernel.org/stable/c/af8f6f39b8afd772fda4f8e61823ef8c021bf382

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ