[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <56798BAC.5010208@fb.com>
Date: Tue, 22 Dec 2015 10:43:08 -0700
From: Jens Axboe <axboe@...com>
To: Mike Krinkin <krinkin.m.u@...il.com>
CC: <avanzini@...gle.com>, <paolo.valente@...more.it>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] null_blk: fix use-after-free error
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists