Re: [syzbot] [net?] WARNING: bad unlock balance in do_setlink

From: Kuniyuki Iwashima
Date: Mon Apr 07 2025 - 12:24:50 EST


From: Stanislav Fomichev <stfomichev@xxxxxxxxx>
Date: Mon, 7 Apr 2025 07:19:54 -0700
> On 04/07, syzbot wrote:
> > Hello,
> >
> > syzbot has tested the proposed patch but the reproducer is still triggering an issue:
> > unregister_netdevice: waiting for DEV to become free
> >
> > unregister_netdevice: waiting for batadv0 to become free. Usage count = 3
>
> So it does fix the lock unbalance issue, but now there is a hang?

I think this is an orthogonal issue.

I saw this in another report as well.
https://lore.kernel.org/netdev/67f208ea.050a0220.0a13.025b.GAE@xxxxxxxxxx/

syzbot may want to find a better way to filter this kind of noise.