Messages in this thread | | | Subject | Re: [PATCH] null_blk: fix use-after-free error | From | Jens Axboe <> | Date | Tue, 22 Dec 2015 10:43:08 -0700 |
| |
On 12/15/2015 02:56 AM, Mike Krinkin wrote: > blk_end_request_all may free request, so we need to save > request_queue pointer before blk_end_request_all call. > > The problem was introduced in commit cf8ecc5a8455266f8d51 > ("null_blk: guarantee device restart in all irq modes") > and causes general protection fault with slab poisoning > enabled. > > Fixes: cf8ecc5a8455266f8d51 ("null_blk: guarantee device > restart in all irq modes")
Added for 4.4, thanks.
-- Jens Axboe
| |