Re: [block] BUG: KASAN: use-after-free in rb_erase+0x1431/0x1970
From: Jens Axboe
Date: Thu Mar 09 2017 - 11:32:33 EST
On 03/09/2017 08:16 AM, Mike Galbraith wrote:
> Greetings,
>
> Building master.today with kasan enabled (because I saw the same when
> trying out kasan on rt), the below fell out.
>
> Config is enterprise based (tune for maximum build time), plus PREEMPT.
>
> [ 5.335444] ==================================================================
> [ 5.337030] BUG: KASAN: use-after-free in rb_erase+0x1431/0x1970 at addr ffff88035e78abb0
> [ 5.338642] Write of size 8 by task swapper/7/0
> [ 5.340204] CPU: 7 PID: 0 Comm: swapper/7 Tainted: G E 4.11.0-kasan #160
> [ 5.341774] Hardware name: MEDION MS-7848/MS-7848, BIOS M7848W08.20C 09/23/2013
Should be fixed in my for-linus branch, it'll go out soon. If you want
to verify, pull:
git://git.kernel.dk/linux-block for-linus
into master and see if that works for you.
--
Jens Axboe