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: <2025022625-CVE-2022-49677-8643@gregkh>
Date: Wed, 26 Feb 2025 03:24:00 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2022-49677: ARM: cns3xxx: Fix refcount leak in cns3xxx_init

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

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

ARM: cns3xxx: Fix refcount leak in cns3xxx_init

of_find_compatible_node() returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
Add missing of_node_put() to avoid refcount leak.

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


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

	Issue introduced in 3.10 with commit 415f59142d9d9dd023deaeb3b4dfc1aecdd3983c and fixed in 4.9.321 with commit b8b84e01ca94e2e1f5492353e9c24dab520b2e5b
	Issue introduced in 3.10 with commit 415f59142d9d9dd023deaeb3b4dfc1aecdd3983c and fixed in 4.14.286 with commit 45bebbc8cea7d586a6216dc62814bdb380b9b29b
	Issue introduced in 3.10 with commit 415f59142d9d9dd023deaeb3b4dfc1aecdd3983c and fixed in 4.19.250 with commit 68d4303bf59662b64bd555e2aa0518282d20aa4f
	Issue introduced in 3.10 with commit 415f59142d9d9dd023deaeb3b4dfc1aecdd3983c and fixed in 5.4.202 with commit d1359e4129ad43e43972a28838b87291c51de23d
	Issue introduced in 3.10 with commit 415f59142d9d9dd023deaeb3b4dfc1aecdd3983c and fixed in 5.10.127 with commit c980392af1473d6d5662f70d8089c8e6d85144a4
	Issue introduced in 3.10 with commit 415f59142d9d9dd023deaeb3b4dfc1aecdd3983c and fixed in 5.15.51 with commit da3ee7cd2f15922ad88a7ca6deee2eafdc7cd214
	Issue introduced in 3.10 with commit 415f59142d9d9dd023deaeb3b4dfc1aecdd3983c and fixed in 5.18.8 with commit dc5170aae24e04068fd5ea125d06c0ab51f48a27
	Issue introduced in 3.10 with commit 415f59142d9d9dd023deaeb3b4dfc1aecdd3983c and fixed in 5.19 with commit 1ba904b6b16e08de5aed7c1349838d9cd0d178c5

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-49677
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-cns3xxx/core.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/b8b84e01ca94e2e1f5492353e9c24dab520b2e5b
	https://git.kernel.org/stable/c/45bebbc8cea7d586a6216dc62814bdb380b9b29b
	https://git.kernel.org/stable/c/68d4303bf59662b64bd555e2aa0518282d20aa4f
	https://git.kernel.org/stable/c/d1359e4129ad43e43972a28838b87291c51de23d
	https://git.kernel.org/stable/c/c980392af1473d6d5662f70d8089c8e6d85144a4
	https://git.kernel.org/stable/c/da3ee7cd2f15922ad88a7ca6deee2eafdc7cd214
	https://git.kernel.org/stable/c/dc5170aae24e04068fd5ea125d06c0ab51f48a27
	https://git.kernel.org/stable/c/1ba904b6b16e08de5aed7c1349838d9cd0d178c5

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ