CVE-2022-50640
mmc: core: Fix kernel panic when remove non-standard SDIO card
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().
INFO
Published Date :
Dec. 9, 2025, 1:16 a.m.
Last Modified :
Dec. 9, 2025, 6:37 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the official Linux kernel patch for mmc: core.
- Update the Linux kernel to the patched version.
- Reboot the system after the update.
- Verify the fix by testing SDIO card removal.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-50640.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-50640 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-50640
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-50640 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-50640 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 09, 2025
Action Type Old Value New Value Added 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(). Added Reference https://git.kernel.org/stable/c/1e8cd93ae536581562bab4e1d8c5315bbc2548bf Added Reference https://git.kernel.org/stable/c/1fb79478695d92bab1c120ad3dad05252b02a29d Added Reference https://git.kernel.org/stable/c/66d461a92f32b6995b630625d350259b6b1f961b Added Reference https://git.kernel.org/stable/c/7a09c64b7da0abdec3919812e3d93ecc44069ed0 Added Reference https://git.kernel.org/stable/c/8bf037279b5869ae9331c42bb1527d2680ebba96 Added Reference https://git.kernel.org/stable/c/9972e6b404884adae9eec7463e30d9b3c9a70b18 Added Reference https://git.kernel.org/stable/c/b3275dde570b6420106a715bb58a0af041b94d95 Added Reference https://git.kernel.org/stable/c/b8b2965932e702b21e335ff30e1bb550f5a23b6f