diff options
author | 2022-10-14 11:49:51 +0800 | |
---|---|---|
committer | 2022-10-17 11:51:34 +0200 | |
commit | 9972e6b404884adae9eec7463e30d9b3c9a70b18 (patch) | |
tree | 6253fed96b23b2461ce787e44051de217b049249 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | mmc: sdhci-pci-core: Disable ES for ASUS BIOS on Jasper Lake (diff) | |
download | linux-dev-9972e6b404884adae9eec7463e30d9b3c9a70b18.tar.xz linux-dev-9972e6b404884adae9eec7463e30d9b3c9a70b18.zip |
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().
Fixes: 6f51be3d37df ("sdio: allow non-standard SDIO cards")
Signed-off-by: Matthew Ma <mahongwei@zeku.com>
Reviewed-by: Weizhao Ouyang <ouyangweizhao@zeku.com>
Reviewed-by: John Wang <wangdayu@zeku.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20221014034951.2300386-1-ouyangweizhao@zeku.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions