Description
In the Linux kernel, the following vulnerability has been resolved: mmc: meson-gx: report busy from DAT0 alone meson_mmc_card_busy() reports busy only while DAT0..3 are all low. A busy card drives DAT0 low and leaves DAT1..3 to the pull-ups, and the callback is defined as "Check if the card is pulling dat[0] low". So a busy card is reported free, and the core, which prefers card_busy over CMD13 in mmc_busy_cb(), stops polling after CMD6 and erase at once. The controller hides this on R1b commands, where it waits for busy itself. Once max_busy_timeout is reported, the core sends the longer waits, the 120 s BKOPS and 240 s sanitize switches among them, as R1 and has only the polling left. Look at DAT0 only, as sdhci_card_busy() does. The checks around the voltage switch in mmc_set_uhs_voltage() still hold: the card drives DAT0..3 low together after CMD11 and keeps them low together on failure.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
186cd8b7f586250cc0bb20b1c2c2586895dede7e to < 04e71e51e8f2e138607f0ff7659837a7b8f69e23affected186cd8b7f586250cc0bb20b1c2c2586895dede7e to < a085eeecb5a529709d2124d5474c00c6bbd9daffaffected186cd8b7f586250cc0bb20b1c2c2586895dede7e to < ca80740539c43a3cef24af0b4f4b8f5c0a8bf115affected186cd8b7f586250cc0bb20b1c2c2586895dede7e to < 88ca99ac475f74e37ffb43704a954f5fc721617baffected186cd8b7f586250cc0bb20b1c2c2586895dede7e to < 40e2a3b7b7cf838c3c39ad62bef6a5753621b26caffected186cd8b7f586250cc0bb20b1c2c2586895dede7e to < 318fdb75f4dc9d18ae621b9fb25eb11160c95649affected
Linux Linux
Default version status: affected
4.14affected0 to < 4.14unaffected5.10.276 to ≤ 5.10.*unaffected5.15.227 to ≤ 5.15.*unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/04e71e51e8f2e138607f0ff7659837a7b8f69e23 ↗
- https://git.kernel.org/stable/c/a085eeecb5a529709d2124d5474c00c6bbd9daff ↗
- https://git.kernel.org/stable/c/ca80740539c43a3cef24af0b4f4b8f5c0a8bf115 ↗
- https://git.kernel.org/stable/c/88ca99ac475f74e37ffb43704a954f5fc721617b ↗
- https://git.kernel.org/stable/c/40e2a3b7b7cf838c3c39ad62bef6a5753621b26c ↗
- https://git.kernel.org/stable/c/318fdb75f4dc9d18ae621b9fb25eb11160c95649 ↗