linux_dsm_epyc7002/drivers/mmc/card
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
..
block.c mmc: fix use-after-free of struct request 2016-08-25 14:11:43 -06:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile
mmc_test.c mmc: mmc_test: mention that '0' runs all tests 2016-02-29 11:02:54 +01:00
queue.c mmc: fix use-after-free of struct request 2016-08-25 14:11:43 -06:00
queue.h block: Fix secure erase 2016-08-16 09:16:51 -06:00
sdio_uart.c tty: Replace TTY_THROTTLED bit tests with tty_throttled() 2016-04-30 09:26:55 -07:00