Re: KASAN warning in bt_for_each

From: Jens Axboe
Date: Thu Feb 14 2019 - 15:50:18 EST


On 2/14/19 1:45 PM, Evan Green wrote:
> 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?

It didn't, since I didn't get any response to it.

--
Jens Axboe