Re: memory leak in tcindex_set_parms

From: David Miller
Date: Tue Feb 04 2020 - 16:22:53 EST


From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Tue, 4 Feb 2020 10:03:16 -0800

>
>
> On 2/4/20 9:58 AM, syzbot wrote:
>> Hello,
>>
>> syzbot found the following crash on:
>>
>> HEAD commit: 322bf2d3 Merge branch 'for-5.6' of git://git.kernel.org/pu..
>> git tree: upstream
>> console output: https://syzkaller.appspot.com/x/log.txt?x=1111f8e6e00000
>> kernel config: https://syzkaller.appspot.com/x/.config?x=8d0490614a000a37
>> dashboard link: https://syzkaller.appspot.com/bug?extid=f0bbb2287b8993d4fa74
>> compiler: gcc (GCC) 9.0.0 20181231 (experimental)
>> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=17db90f6e00000
>> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13a94511e00000
>>
>> IMPORTANT: if you fix the bug, please add the following tag to the commit:
>> Reported-by: syzbot+f0bbb2287b8993d4fa74@xxxxxxxxxxxxxxxxxxxxxxxxx
>>
>>
>
> Might have been fixed already ?
>
> commit 599be01ee567b61f4471ee8078870847d0a11e8e net_sched: fix an OOB access in cls_tcindex

My reaction was actually that this bug is caused by this commit :)