Re: KASAN warning in bt_for_each

From: Evan Green
Date: Thu Feb 14 2019 - 15:46:22 EST


On Thu, Feb 14, 2019 at 11:33 AM Bart Van Assche <bvanassche@xxxxxxx> wrote:
>
> On Thu, 2019-02-14 at 10:04 -0800, Evan Green wrote:
> > Greetings, block experts!
> >
> > I'm trying to track down a KASAN warning I'm seeing in our downstream
> > 4.19 kernel, and I could use a little help. The warning looks like
> > this:
> >
> > [ 224.564894] BUG: KASAN: use-after-free in bt_for_each+0x1ac/0x28c
> > [ 224.571195] Read of size 8 at addr ffffffc17c621340 by task fio/3851
> > [ 224.577745]
> > [ 224.579320] CPU: 2 PID: 3851 Comm: fio Tainted: G W 4.19.16 #398
>
> Please have a look at this e-mail thread:
> https://lore.kernel.org/linux-block/1545261885.185366.488.camel@xxxxxxx/

Oh, yep, that's totally it. Did that patch make it in anywhere?
-Evan