diff options
| author | Adrian Hunter <adrian.hunter@intel.com> | 2016-08-25 23:11:43 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@fb.com> | 2016-08-25 23:11:43 +0300 |
| commit | 869c554808ccf7ddd25be5317073b88ceddb8507 (patch) | |
| tree | ed7f5a2112a7d00dbfa02415585bc7d1991fe824 /scripts/patch-kernel | |
| parent | f2791e7eadf437633f30faa51b30878cf15650be (diff) | |
| download | linux-869c554808ccf7ddd25be5317073b88ceddb8507.tar.xz | |
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: c2df40dfb8c0 ("drivers: use req op accessor")
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
