[v5.15] WARNING in netdev_unregister_kobject

0 views
Skip to first unread message

syzbot

unread,
Nov 20, 2024, 5:17:36 PMNov 20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 0a51d2d4527b Linux 5.15.173
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=15a9bae8580000
kernel config: https://syzkaller.appspot.com/x/.config?x=a6b3013b6f1a102b
dashboard link: https://syzkaller.appspot.com/bug?extid=1026ac2ab63a0489fc24
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/731bd13b5412/disk-0a51d2d4.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/a53b07f54a18/vmlinux-0a51d2d4.xz
kernel image: https://storage.googleapis.com/syzbot-assets/5f1392034bb8/Image-0a51d2d4.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+1026ac...@syzkaller.appspotmail.com

------------[ cut here ]------------
sysfs group 'power' not found for kobject 'bnep0'
WARNING: CPU: 0 PID: 10608 at fs/sysfs/group.c:281 sysfs_remove_group+0x174/0x288 fs/sysfs/group.c:279
Modules linked in:
CPU: 0 PID: 10608 Comm: kbnepd bnep0 Not tainted 5.15.173-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : sysfs_remove_group+0x174/0x288 fs/sysfs/group.c:279
lr : sysfs_remove_group+0x174/0x288 fs/sysfs/group.c:279
sp : ffff800020387780
x29: ffff800020387780 x28: 1fffe0001b533a3c x27: dfff800000000000
x26: ffff800020387840 x25: 1fffe0001a3a58ca x24: 1ffff0000251c464
x23: dfff800000000000 x22: ffff0000d1d2c668 x21: ffff0000d1d2c608
x20: ffff0000e75a21d0 x19: ffff8000128e2300 x18: 0000000000000001
x17: 0000000000000000 x16: ffff800011ab8a34 x15: 00000000ffffffff
x14: ffff0000da99d1c0 x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : e07d28a481463600
x8 : e07d28a481463600 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff800020386ef8 x4 : ffff800014ba05e0 x3 : ffff800008555e80
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000031
Call trace:
sysfs_remove_group+0x174/0x288 fs/sysfs/group.c:279
dpm_sysfs_remove+0xa4/0xd4 drivers/base/power/sysfs.c:837
device_del+0x268/0x9b4 drivers/base/core.c:3577
netdev_unregister_kobject+0x14c/0x204 net/core/net-sysfs.c:1980
unregister_netdevice_many+0x12c8/0x189c net/core/dev.c:11129
unregister_netdevice_queue net/core/dev.c:11035 [inline]
unregister_netdevice include/linux/netdevice.h:3012 [inline]
unregister_netdev+0x178/0x1f0 net/core/dev.c:11161
bnep_session+0x2274/0x2424 net/bluetooth/bnep/core.c:525
kthread+0x37c/0x45c kernel/kthread.c:334
ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870
irq event stamp: 8816
hardirqs last enabled at (8815): [<ffff80000832c128>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257
hardirqs last disabled at (8816): [<ffff800011ab40c0>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last enabled at (8802): [<ffff8000081b691c>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last enabled at (8802): [<ffff8000081b691c>] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586
softirqs last disabled at (8631): [<ffff8000081b6fb4>] __do_softirq kernel/softirq.c:592 [inline]
softirqs last disabled at (8631): [<ffff8000081b6fb4>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (8631): [<ffff8000081b6fb4>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (8631): [<ffff8000081b6fb4>] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641
---[ end trace a751847fd5fa5701 ]---
------------[ cut here ]------------
sysfs group 'statistics' not found for kobject 'bnep0'
WARNING: CPU: 0 PID: 10608 at fs/sysfs/group.c:281 sysfs_remove_group+0x174/0x288 fs/sysfs/group.c:279
Modules linked in:
CPU: 0 PID: 10608 Comm: kbnepd bnep0 Tainted: G W 5.15.173-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : sysfs_remove_group+0x174/0x288 fs/sysfs/group.c:279
lr : sysfs_remove_group+0x174/0x288 fs/sysfs/group.c:279
sp : ffff800020387740
x29: ffff800020387740 x28: 1fffe0001b533a3c x27: dfff800000000000
x26: ffff0000c2a958a0 x25: ffff0000c2a958a0 x24: 1ffff000026c5490
x23: dfff800000000000 x22: dfff800000000000 x21: ffff0000d1d2c608
x20: ffff0000e75a21d0 x19: ffff80001362b300 x18: 1fffe00036831b8e
x17: 1fffe00036831b8e x16: ffff800011ab8a34 x15: ffff800014b5fa40
x14: 1ffff0000295806a x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : e07d28a481463600
x8 : e07d28a481463600 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000a98269c
x2 : ffff0001b418dd10 x1 : 0000000100000000 x0 : 0000000000000036
Call trace:
sysfs_remove_group+0x174/0x288 fs/sysfs/group.c:279
sysfs_remove_groups+0x5c/0xb4 fs/sysfs/group.c:313
device_remove_groups drivers/base/core.c:2498 [inline]
device_remove_attrs+0xc0/0x13c drivers/base/core.c:2698
device_del+0x574/0x9b4 drivers/base/core.c:3599
netdev_unregister_kobject+0x14c/0x204 net/core/net-sysfs.c:1980
unregister_netdevice_many+0x12c8/0x189c net/core/dev.c:11129
unregister_netdevice_queue net/core/dev.c:11035 [inline]
unregister_netdevice include/linux/netdevice.h:3012 [inline]
unregister_netdev+0x178/0x1f0 net/core/dev.c:11161
bnep_session+0x2274/0x2424 net/bluetooth/bnep/core.c:525
kthread+0x37c/0x45c kernel/kthread.c:334
ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870
irq event stamp: 8928
hardirqs last enabled at (8927): [<ffff80000826ac68>] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline]
hardirqs last enabled at (8927): [<ffff80000826ac68>] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4781
hardirqs last disabled at (8928): [<ffff800011ab40c0>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last enabled at (8852): [<ffff8000081b691c>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last enabled at (8852): [<ffff8000081b691c>] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586
softirqs last disabled at (8819): [<ffff8000081b6fb4>] __do_softirq kernel/softirq.c:592 [inline]
softirqs last disabled at (8819): [<ffff8000081b6fb4>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (8819): [<ffff8000081b6fb4>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (8819): [<ffff8000081b6fb4>] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641
---[ end trace a751847fd5fa5702 ]---


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages