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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 14% of CVEs (2026-12-02)
- Published: 2025-12-09T00:00:13.871Z
- Modified: 2026-11-10T12:10:00.177Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 before b8b2965932e702b21e335ff30e1bb550f5a23b6f; from 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 before b3275dde570b6420106a715bb58a0af041b94d95; from 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 before 1fb79478695d92bab1c120ad3dad05252b02a29d; from 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 before 7a09c64b7da0abdec3919812e3d93ecc44069ed0; from 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 before 8bf037279b5869ae9331c42bb1527d2680ebba96; from 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 before 1e8cd93ae536581562bab4e1d8c5315bbc2548bf; from 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 before 66d461a92f32b6995b630625d350259b6b1f961b; from 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 before 9972e6b404884adae9eec7463e30d9b3c9a70b18; 2.6.36 (not affected: before 2.6.36; from 4.9.332 up to 4.9.*; from 4.14.298 up to 4.14.*; from 4.19.264 up to 4.19.*; from 5.4.223 up to 5.4.*; from 5.10.153 up to 5.10.*; from 5.15.77 up to 5.15.*; from 6.0.7 up to 6.0.*; from 6.1 up to *)

## 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>

## Sources

- CVE List: [CVE-2022-50640](https://www.cve.org/CVERecord?id=CVE-2022-50640), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50640](https://nvd.nist.gov/vuln/detail/CVE-2022-50640), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2022-50640 · Whole record: https://cve.day/CVE-2022-50640.json · Rebuilt by cve.day 2026-11-25T22:58:21.299Z
