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: <2025061842-CVE-2022-50207-fa1c@gregkh>
Date: Wed, 18 Jun 2025 13:04:32 +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-50207: ARM: bcm: Fix refcount leak in bcm_kona_smc_init

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

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

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

ARM: bcm: Fix refcount leak in bcm_kona_smc_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-50207 to this issue.


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

	Issue introduced in 3.10 with commit b8eb35fd594aa5b635e329d5c8efab8aaceb8619 and fixed in 4.14.291 with commit 62d719d31ec667276d7375b64542b080cf187797
	Issue introduced in 3.10 with commit b8eb35fd594aa5b635e329d5c8efab8aaceb8619 and fixed in 4.19.256 with commit 75866df2b1d673df5b7781e565ada753a7895f04
	Issue introduced in 3.10 with commit b8eb35fd594aa5b635e329d5c8efab8aaceb8619 and fixed in 5.4.211 with commit 5afe042c889437de83f38a9d73d145742fb4f65f
	Issue introduced in 3.10 with commit b8eb35fd594aa5b635e329d5c8efab8aaceb8619 and fixed in 5.10.137 with commit 91e7f04f53e680bc72f0a9a5c682ab652100b9c8
	Issue introduced in 3.10 with commit b8eb35fd594aa5b635e329d5c8efab8aaceb8619 and fixed in 5.15.61 with commit bc7f487395f208fd9af69e9a807815e10435aba7
	Issue introduced in 3.10 with commit b8eb35fd594aa5b635e329d5c8efab8aaceb8619 and fixed in 5.18.18 with commit c6964cb9ac7a43bf78e7d60126e2722992de2ea1
	Issue introduced in 3.10 with commit b8eb35fd594aa5b635e329d5c8efab8aaceb8619 and fixed in 5.19.2 with commit 02b658bfb26452f2c13e4577a13ab802f89a6642
	Issue introduced in 3.10 with commit b8eb35fd594aa5b635e329d5c8efab8aaceb8619 and fixed in 6.0 with commit cb23389a2458c2e4bfd6c86a513cbbe1c4d35e76

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-50207
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-bcm/bcm_kona_smc.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/62d719d31ec667276d7375b64542b080cf187797
	https://git.kernel.org/stable/c/75866df2b1d673df5b7781e565ada753a7895f04
	https://git.kernel.org/stable/c/5afe042c889437de83f38a9d73d145742fb4f65f
	https://git.kernel.org/stable/c/91e7f04f53e680bc72f0a9a5c682ab652100b9c8
	https://git.kernel.org/stable/c/bc7f487395f208fd9af69e9a807815e10435aba7
	https://git.kernel.org/stable/c/c6964cb9ac7a43bf78e7d60126e2722992de2ea1
	https://git.kernel.org/stable/c/02b658bfb26452f2c13e4577a13ab802f89a6642
	https://git.kernel.org/stable/c/cb23389a2458c2e4bfd6c86a513cbbe1c4d35e76

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ