CVE-2022-50640
mmc: core: Fix kernel panic when remove non-standard SDIO card
Mitigation
- Upgrade Linux to 9972e6b404884adae9eec7463e30d9b3c9a70b18 or later.
Who should check
- Anyone running Linux >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < b8b2965932e702b21e335ff30e1bb550f5a23b6f; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < b3275dde570b6420106a715bb58a0af041b94d95; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 1fb79478695d92bab1c120ad3dad05252b02a29d; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 7a09c64b7da0abdec3919812e3d93ecc44069ed0; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 8bf037279b5869ae9331c42bb1527d2680ebba96; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 1e8cd93ae536581562bab4e1d8c5315bbc2548bf; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 66d461a92f32b6995b630625d350259b6b1f961b; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 9972e6b404884adae9eec7463e30d9b3c9a70b18
- Anyone running Linux 2.6.36
Vulnerability facts
- Affected
- Linux >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < b8b2965932e702b21e335ff30e1bb550f5a23b6f; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < b3275dde570b6420106a715bb58a0af041b94d95; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 1fb79478695d92bab1c120ad3dad05252b02a29d; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 7a09c64b7da0abdec3919812e3d93ecc44069ed0; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 8bf037279b5869ae9331c42bb1527d2680ebba96; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 1e8cd93ae536581562bab4e1d8c5315bbc2548bf; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 66d461a92f32b6995b630625d350259b6b1f961b; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 9972e6b404884adae9eec7463e30d9b3c9a70b18; Linux 2.6.36
- Fixed in
- Linux 1fb79478695d92bab1c120ad3dad05252b02a29d, Linux 7a09c64b7da0abdec3919812e3d93ecc44069ed0, Linux 8bf037279b5869ae9331c42bb1527d2680ebba96, Linux 1e8cd93ae536581562bab4e1d8c5315bbc2548bf, Linux 66d461a92f32b6995b630625d350259b6b1f961b, Linux 9972e6b404884adae9eec7463e30d9b3c9a70b18
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- Modified
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().
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < b8b2965932e702b21e335ff30e1bb550f5a23b6f; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < b3275dde570b6420106a715bb58a0af041b94d95; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 1fb79478695d92bab1c120ad3dad05252b02a29d; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 7a09c64b7da0abdec3919812e3d93ecc44069ed0; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 8bf037279b5869ae9331c42bb1527d2680ebba96; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 1e8cd93ae536581562bab4e1d8c5315bbc2548bf; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 66d461a92f32b6995b630625d350259b6b1f961b; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 9972e6b404884adae9eec7463e30d9b3c9a70b18 | — | cvelist |
| Linux | 2.6.36 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50640. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50640.md Affected: Linux >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < b8b2965932e702b21e335ff30e1bb550f5a23b6f; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < b3275dde570b6420106a715bb58a0af041b94d95; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 1fb79478695d92bab1c120ad3dad05252b02a29d; >= 6f51be3d37dff73cf8db771… Fixed in: Linux 1fb79478695d92bab1c120ad3dad05252b02a29d, Linux 7a09c64b7da0abdec3919812e3d93ecc44069ed0, Linux 8bf037279b5869ae9331c42bb1527d2680ebba96, Linux 1e8cd93ae536581562bab4e1d8c5315bbc2548bf, Linux 66d461a92f32b6995b630625d350259b6b1f961b, Linux 9972e6b404884adae9eec7463e30d9b3c9a70b18 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- 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
FAQ
Is CVE-2022-50640 being exploited?
There is no confirmed exploitation: CVE-2022-50640 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50640?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2022-50640?
Linux >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < b8b2965932e702b21e335ff30e1bb550f5a23b6f; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < b3275dde570b6420106a715bb58a0af041b94d95; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 1fb79478695d92bab1c120ad3dad05252b02a29d; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 7a09c64b7da0abdec3919812e3d93ecc44069ed0; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 8bf037279b5869ae9331c42bb1527d2680ebba96; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 1e8cd93ae536581562bab4e1d8c5315bbc2548bf; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 66d461a92f32b6995b630625d350259b6b1f961b; >= 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, < 9972e6b404884adae9eec7463e30d9b3c9a70b18; Linux 2.6.36.
Is there a fix for CVE-2022-50640?
Yes. Fixed in Linux 1fb79478695d92bab1c120ad3dad05252b02a29d, Linux 7a09c64b7da0abdec3919812e3d93ecc44069ed0, Linux 8bf037279b5869ae9331c42bb1527d2680ebba96, Linux 1e8cd93ae536581562bab4e1d8c5315bbc2548bf, Linux 66d461a92f32b6995b630625d350259b6b1f961b, Linux 9972e6b404884adae9eec7463e30d9b3c9a70b18. Upgrade Linux to 9972e6b404884adae9eec7463e30d9b3c9a70b18 or later.
How do I check if I'm affected by CVE-2022-50640?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.