{"id":"CVE-2022-50640","summary":"mmc: core: Fix kernel panic when remove non-standard SDIO card","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: core: Fix kernel panic when remove non-standard SDIO card\n\nSDIO tuple is only allocated for standard SDIO card, especially it causes\nmemory corruption issues when the non-standard SDIO card has removed, which\nis because the card device's reference counter does not increase for it at\nsdio_init_func(), but all SDIO card device reference counter gets decreased\nat sdio_release_func().","modified":"2026-03-20T11:47:33.921278Z","published":"2025-12-09T00:00:13.871Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0316-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0350-1","SUSE-SU-2026:0369-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50640.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1e8cd93ae536581562bab4e1d8c5315bbc2548bf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1fb79478695d92bab1c120ad3dad05252b02a29d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/66d461a92f32b6995b630625d350259b6b1f961b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7a09c64b7da0abdec3919812e3d93ecc44069ed0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8bf037279b5869ae9331c42bb1527d2680ebba96"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9972e6b404884adae9eec7463e30d9b3c9a70b18"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b3275dde570b6420106a715bb58a0af041b94d95"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b8b2965932e702b21e335ff30e1bb550f5a23b6f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50640.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50640"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6f51be3d37dff73cf8db771df4169f4c2f1cbf66"},{"fixed":"b8b2965932e702b21e335ff30e1bb550f5a23b6f"},{"fixed":"b3275dde570b6420106a715bb58a0af041b94d95"},{"fixed":"1fb79478695d92bab1c120ad3dad05252b02a29d"},{"fixed":"7a09c64b7da0abdec3919812e3d93ecc44069ed0"},{"fixed":"8bf037279b5869ae9331c42bb1527d2680ebba96"},{"fixed":"1e8cd93ae536581562bab4e1d8c5315bbc2548bf"},{"fixed":"66d461a92f32b6995b630625d350259b6b1f961b"},{"fixed":"9972e6b404884adae9eec7463e30d9b3c9a70b18"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50640.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.36"},{"fixed":"4.9.332"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.10.0"},{"fixed":"4.14.298"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.264"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.223"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.153"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.77"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50640.json"}}],"schema_version":"1.7.5"}