Re: BUG: WARNING in __kernfs_remove

From: Greg KH
Date: Thu Aug 29 2024 - 02:30:21 EST


On Wed, Aug 28, 2024 at 03:03:33PM -0700, Xingyu Li wrote:
> Hi,
>
> We found a bug in Linux 6.10 using syzkaller. It is possibly a logic bug.
> The bug report is as follows, but unfortunately there is no generated
> syzkaller reproducer.

A reproducer would be great, otherwise there's not much we can do here,
sorry.

>
> Bug report:
>
> team0 (unregistering): Port device team_slave_0 removed
> netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2
> family 0 port 6081 - 0
> ------------[ cut here ]------------
> WARNING: CPU: 0 PID: 1090 at fs/kernfs/dir.c:41

So this is a lockdep warning?

Patches to resolve issues like this are greatly apprecaited, "raw"
syzbot reports are not much good given that we are drowning in them.

thanks,

greg k-h