Re: KASAN: use-after-free Read in tcf_block_find

From: Dmitry Vyukov
Date: Thu Sep 27 2018 - 09:43:09 EST


On Thu, Sep 27, 2018 at 3:24 PM, Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote:
> On 09/27/2018 06:02 AM, Dmitry Vyukov wrote:
>
>> I am not suggesting to commit this. This is just a hack for debugging.
>> It in fact lead to some warnings, but still allowed me to reproduce
>> the bug reliably.
>>
>
> Had you got more meaningful stack traces ?
>
> (Showing which context was actually doing the dst_release())

nope... I just handed off the instructions to Wei since she said she
can't reproduce it.


>>>> + dst_destroy_rcu(&dst->rcu_head);
>>>> + }
>>>> + }
>>>> }
>>>> }
>
> Thanks.