Re: net: heap out-of-bounds in fib6_clean_node/rt6_fill_node/fib6_age/fib6_prune_clone

From: David Ahern
Date: Fri Apr 21 2017 - 14:25:48 EST


On 4/21/17 10:47 AM, Eric Dumazet wrote:
> On Fri, 2017-04-21 at 08:27 -0600, David Ahern wrote:
>> On 4/20/17 10:09 AM, Andrey Konovalov wrote:
>>> On Thu, Apr 20, 2017 at 5:39 PM, Andrey Konovalov <andreyknvl@xxxxxxxxxx> wrote:
>>>> On Thu, Apr 20, 2017 at 5:35 PM, David Ahern <dsa@xxxxxxxxxxxxxxxxxxx> wrote:
>>>>> On 4/20/17 9:28 AM, Andrey Konovalov wrote:
>>>>>> This one seems to be much closer to what Dmitry reported intially.
>>>>> does not repro here; I ran in a loop and nothing.
>>> Here's strace log, maybe it'll help figuring out why it doesn't reproduce:
>>
>> reproduced. working on it.
>
> Thanks guys for working on this ;)
>


Reliable reproducer is the key.

I see what's going on - why the WARN_ON is hit; just looking for the
right fix.