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: <2025061806-CVE-2022-50108-088c@gregkh>
Date: Wed, 18 Jun 2025 13:02:53 +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-50108: mfd: max77620: Fix refcount leak in max77620_initialise_fps

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

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

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

mfd: max77620: Fix refcount leak in max77620_initialise_fps

of_get_child_by_name() 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-50108 to this issue.


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

	Issue introduced in 4.7 with commit 327156c593600e0f08575621c2a56f311d482e7a and fixed in 5.4.211 with commit b948ff8a9e9ad46d4dff9127777caa14c8c2b53c
	Issue introduced in 4.7 with commit 327156c593600e0f08575621c2a56f311d482e7a and fixed in 5.10.137 with commit afdbadbf18c19779d7bc5df70d872924f9bbd76b
	Issue introduced in 4.7 with commit 327156c593600e0f08575621c2a56f311d482e7a and fixed in 5.15.61 with commit facd31bbc799f4d0cd25d9d688af7ca41e7f38ee
	Issue introduced in 4.7 with commit 327156c593600e0f08575621c2a56f311d482e7a and fixed in 5.18.18 with commit 50d5fe8cb94c319cb4316f4d824570c075565354
	Issue introduced in 4.7 with commit 327156c593600e0f08575621c2a56f311d482e7a and fixed in 5.19.2 with commit a29c40814039535b950149311986a5f348b5db14
	Issue introduced in 4.7 with commit 327156c593600e0f08575621c2a56f311d482e7a and fixed in 6.0 with commit 1520669c8255bd637c6b248b2be910e2688d38dd

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-50108
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/mfd/max77620.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/b948ff8a9e9ad46d4dff9127777caa14c8c2b53c
	https://git.kernel.org/stable/c/afdbadbf18c19779d7bc5df70d872924f9bbd76b
	https://git.kernel.org/stable/c/facd31bbc799f4d0cd25d9d688af7ca41e7f38ee
	https://git.kernel.org/stable/c/50d5fe8cb94c319cb4316f4d824570c075565354
	https://git.kernel.org/stable/c/a29c40814039535b950149311986a5f348b5db14
	https://git.kernel.org/stable/c/1520669c8255bd637c6b248b2be910e2688d38dd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ