Re: WARNING: bad unlock balance in mptcp_listen

From: Florian Westphal
Date: Sun Apr 12 2020 - 04:33:18 EST


syzbot <syzbot+ffec3741d41140477097@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> syzbot found the following crash on:
>
> HEAD commit: 5b8b9d0c Merge branch 'akpm' (patches from Andrew)
> git tree: upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=1712bdb3e00000
> kernel config: https://syzkaller.appspot.com/x/.config?x=23c5a352e32a1944
> dashboard link: https://syzkaller.appspot.com/bug?extid=ffec3741d41140477097
> compiler: gcc (GCC) 9.0.0 20181231 (experimental)
>
> Unfortunately, I don't have any reproducer for this crash yet.
>
> IMPORTANT: if you fix the bug, please add the following tag to the commit:
> Reported-by: syzbot+ffec3741d41140477097@xxxxxxxxxxxxxxxxxxxxxxxxx
>
> =====================================
> WARNING: bad unlock balance detected!
> 5.6.0-syzkaller #0 Not tainted
> -------------------------------------
> syz-executor.0/25417 is trying to release lock (sk_lock-AF_INET6) at:
> [<ffffffff87c65063>] mptcp_listen+0x1c3/0x2e0 net/mptcp/protocol.c:1783
> but there are no more locks to release!

#syz dup: WARNING: bad unlock balance in mptcp_poll