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

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2025-12-09 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2022-50640, DEBIAN-CVE-2022-50640
- Record: https://cvemate.com/vulnerability/CVE-2022-50640 · JSON: https://cvemate.com/vulnerability/CVE-2022-50640/json

## Description

```text
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().
```

## Signals

- CVSS: none published
- EPSS: 0.225%, percentile 13.973%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 123)

- debian linux (Debian): \< 6.0.7-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.15.0-204.215 \| \< 5.4.0-139.156 \| \< 5.15.0-60.66
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 4.15.0-1150.163 \| \< 5.4.0-1096.104 \| \< 5.15.0-1030.34
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1030.34~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1096.104~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2089.95 \| All versions (No fix recorded) \| \< 5.4.0-1096.104+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1151.164~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1162.177~14.04.1 \| \< 4.15.0-1162.177~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1103.109 \| \< 5.15.0-1033.40
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1161.176
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## 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>
- <https://ubuntu.com/security/CVE-2022-50640>
- <https://www.cve.org/CVERecord?id=CVE-2022-50640>
- <https://git.kernel.org/linus/9972e6b404884adae9eec7463e30d9b3c9a70b18>
- <https://security-tracker.debian.org/tracker/CVE-2022-50640>

---

Data as of 2026-12-06T04:48:37.530Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
