WSL2-Linux-Kernel/drivers/mmc
Adrian Hunter 869c554808 mmc: fix use-after-free of struct request
We call mmc_req_is_special() after having processed a request, but
it could be freed after that. Check that ahead of time, and use
the cached value.

Reported-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Fixes: c2df40dfb8 ("drivers: use req op accessor")

Signed-off-by: Jens Axboe <axboe@fb.com>
2016-08-25 14:11:43 -06:00
..
card mmc: fix use-after-free of struct request 2016-08-25 14:11:43 -06:00
core mmc: Change the max discard sectors and erase response when HW busy detect 2016-07-25 11:11:08 +02:00
host MMC core: 2016-07-31 21:36:58 -04:00
Kconfig
Makefile