bc6f28995f
When an ADMA transfer is started, the codes forget to set the
controller status to indicate a transfer is in progress.
With this fix, the following 2 reproducers:
https://paste.debian.net/plain/1185136
https://paste.debian.net/plain/1185141
cannot be reproduced with the following QEMU command line:
$ qemu-system-x86_64 -nographic -machine accel=qtest -m 512M \
-nodefaults -device sdhci-pci,sd-spec-version=3 \
-drive if=sd,index=0,file=null-co://,format=raw,id=mydrive \
-device sd-card,drive=mydrive -qtest stdio
Cc: qemu-stable@nongnu.org
Fixes: CVE-2020-17380
Fixes: CVE-2020-25085
Fixes: CVE-2021-3409
Fixes:
|
||
---|---|---|
.. | ||
allwinner-sdhost.c | ||
aspeed_sdhci.c | ||
bcm2835_sdhost.c | ||
cadence_sdhci.c | ||
core.c | ||
Kconfig | ||
meson.build | ||
milkymist-memcard.c | ||
omap_mmc.c | ||
pl181.c | ||
pxa2xx_mmci.c | ||
sd.c | ||
sdhci-internal.h | ||
sdhci-pci.c | ||
sdhci.c | ||
sdmmc-internal.c | ||
sdmmc-internal.h | ||
ssi-sd.c | ||
trace-events | ||
trace.h |