Re: WARNING in sysfs_remove_group

From: Greg KH
Date: Fri Oct 27 2017 - 04:43:36 EST


On Fri, Oct 27, 2017 at 01:29:31AM -0700, syzbot wrote:
> Hello,
>
> syzkaller hit the following crash on
> 4ed590271a65b0fbe3eb1cf828ad5af16603c8ce
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master
> compiler: gcc (GCC) 7.1.1 20170620
> .config is attached
> Raw console output is attached.
>
>
>
>
> sysfs group 'loop' not found for kobject 'loop1'
> ------------[ cut here ]------------
> WARNING: CPU: 0 PID: 21947 at fs/sysfs/group.c:237
> sysfs_remove_group+0x156/0x1a0 fs/sysfs/group.c:235
> Kernel panic - not syncing: panic_on_warn set ...

It's a warning that someone did something wrong with their code, any
hint as to how you are triggering this?

thanks,

greg k-h