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: <2025120935-CVE-2022-50640-324c@gregkh>
Date: Tue,  9 Dec 2025 09:01:41 +0900
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50640: mmc: core: Fix kernel panic when remove non-standard SDIO card

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

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

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

mmc: core: Fix kernel panic when remove non-standard SDIO card

SDIO tuple is only allocated for standard SDIO card, especially it causes
memory corruption issues when the non-standard SDIO card has removed, which
is because the card device's reference counter does not increase for it at
sdio_init_func(), but all SDIO card device reference counter gets decreased
at sdio_release_func().

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


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

	Issue introduced in 2.6.36 with commit 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 and fixed in 4.9.332 with commit b8b2965932e702b21e335ff30e1bb550f5a23b6f
	Issue introduced in 2.6.36 with commit 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 and fixed in 4.14.298 with commit b3275dde570b6420106a715bb58a0af041b94d95
	Issue introduced in 2.6.36 with commit 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 and fixed in 4.19.264 with commit 1fb79478695d92bab1c120ad3dad05252b02a29d
	Issue introduced in 2.6.36 with commit 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 and fixed in 5.4.223 with commit 7a09c64b7da0abdec3919812e3d93ecc44069ed0
	Issue introduced in 2.6.36 with commit 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 and fixed in 5.10.153 with commit 8bf037279b5869ae9331c42bb1527d2680ebba96
	Issue introduced in 2.6.36 with commit 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 and fixed in 5.15.77 with commit 1e8cd93ae536581562bab4e1d8c5315bbc2548bf
	Issue introduced in 2.6.36 with commit 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 and fixed in 6.0.7 with commit 66d461a92f32b6995b630625d350259b6b1f961b
	Issue introduced in 2.6.36 with commit 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 and fixed in 6.1 with commit 9972e6b404884adae9eec7463e30d9b3c9a70b18

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-50640
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/core/sdio_bus.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/b8b2965932e702b21e335ff30e1bb550f5a23b6f
	https://git.kernel.org/stable/c/b3275dde570b6420106a715bb58a0af041b94d95
	https://git.kernel.org/stable/c/1fb79478695d92bab1c120ad3dad05252b02a29d
	https://git.kernel.org/stable/c/7a09c64b7da0abdec3919812e3d93ecc44069ed0
	https://git.kernel.org/stable/c/8bf037279b5869ae9331c42bb1527d2680ebba96
	https://git.kernel.org/stable/c/1e8cd93ae536581562bab4e1d8c5315bbc2548bf
	https://git.kernel.org/stable/c/66d461a92f32b6995b630625d350259b6b1f961b
	https://git.kernel.org/stable/c/9972e6b404884adae9eec7463e30d9b3c9a70b18

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ