mmc: core: Fix kernel panic when remove non-standard SDIO card
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 · < 1e8cd93ae536581562bab4e1d8c5315bbc2548bf| No fix yet |
| Linux Linux |
|
|
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().
From the CVE record · Linux
The Linux kernel MMC core mishandles device reference counting for non-standard SDIO cards. Removing such a card can cause memory corruption and a kernel panic; the input does not specify authentication requirements.
Engineers running Linux systems that use non-standard SDIO cards should check their kernel; affected versions are not specified.