Re: inconsistent lock state in ila_xlat_nl_cmd_add_mapping

From: Cong Wang
Date: Tue Dec 29 2020 - 20:55:58 EST


On Tue, Dec 29, 2020 at 5:39 PM Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
>
> On Mon, 13 Aug 2018 21:40:03 -0700 syzbot wrote:
> > Hello,
> >
> > syzbot found the following crash on:
> >
> > HEAD commit: 78cbac647e61 Merge branch 'ip-faster-in-order-IP-fragments'
> > git tree: net-next
> > console output: https://syzkaller.appspot.com/x/log.txt?x=14df4828400000
> > kernel config: https://syzkaller.appspot.com/x/.config?x=9100338df26ab75
> > dashboard link: https://syzkaller.appspot.com/bug?extid=eaaf6c4a6a8cb1869d86
> > compiler: gcc (GCC) 8.0.1 20180413 (experimental)
> > syzkaller repro:https://syzkaller.appspot.com/x/repro.syz?x=13069ad2400000
> >
> > IMPORTANT: if you fix the bug, please add the following tag to the commit:
> > Reported-by: syzbot+eaaf6c4a6a8cb1869d86@xxxxxxxxxxxxxxxxxxxxxxxxx
>
> #syz invalid
>
> Hard to track down what fixed this, but the lockdep splat is mixing up
> locks from two different hashtables, so there was never a real issue
> here.

This one is probably fixed by:

commit ff93bca769925a2d8fd7f910cdf543d992e17f07
Author: Cong Wang <xiyou.wangcong@xxxxxxxxx>
Date: Tue Aug 14 15:21:31 2018 -0700

ila: make lockdep happy again

given the time of last reproducing...

Thanks.