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: <2025061818-CVE-2022-50141-fd0e@gregkh>
Date: Wed, 18 Jun 2025 13:03:26 +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-50141: mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch

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

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

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

mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch

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.
of_node_put() checks null pointer.

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


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

	Issue introduced in 4.12 with commit ea35645a3c66a74af92d3bbb4eb131220fc3e58a and fixed in 4.14.291 with commit a63d5d01e83b984b1b9c7ae8fc9c8c93697a3820
	Issue introduced in 4.12 with commit ea35645a3c66a74af92d3bbb4eb131220fc3e58a and fixed in 4.19.256 with commit 547db1dd98d1815574ebea7358015a17199a93bc
	Issue introduced in 4.12 with commit ea35645a3c66a74af92d3bbb4eb131220fc3e58a and fixed in 5.4.211 with commit 4c472a2c9ed6ea9d272268d7f484d4303c549f1a
	Issue introduced in 4.12 with commit ea35645a3c66a74af92d3bbb4eb131220fc3e58a and fixed in 5.10.137 with commit b305475df756256a186623f0991d05a816de881a
	Issue introduced in 4.12 with commit ea35645a3c66a74af92d3bbb4eb131220fc3e58a and fixed in 5.15.61 with commit 352377cf74710bc3368dddf78f17210dfe456933
	Issue introduced in 4.12 with commit ea35645a3c66a74af92d3bbb4eb131220fc3e58a and fixed in 5.18.18 with commit b074f1e8060836baeb0ee91181f4194b9a0ee16a
	Issue introduced in 4.12 with commit ea35645a3c66a74af92d3bbb4eb131220fc3e58a and fixed in 5.19.2 with commit 8b902840f6a3584f702bcb59834691b30f3d7c5a
	Issue introduced in 4.12 with commit ea35645a3c66a74af92d3bbb4eb131220fc3e58a and fixed in 6.0 with commit b5899a3e2f783a27b268e38d37f9b24c71bddf45

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-50141
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/mmc/host/sdhci-of-esdhc.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/a63d5d01e83b984b1b9c7ae8fc9c8c93697a3820
	https://git.kernel.org/stable/c/547db1dd98d1815574ebea7358015a17199a93bc
	https://git.kernel.org/stable/c/4c472a2c9ed6ea9d272268d7f484d4303c549f1a
	https://git.kernel.org/stable/c/b305475df756256a186623f0991d05a816de881a
	https://git.kernel.org/stable/c/352377cf74710bc3368dddf78f17210dfe456933
	https://git.kernel.org/stable/c/b074f1e8060836baeb0ee91181f4194b9a0ee16a
	https://git.kernel.org/stable/c/8b902840f6a3584f702bcb59834691b30f3d7c5a
	https://git.kernel.org/stable/c/b5899a3e2f783a27b268e38d37f9b24c71bddf45

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ