syzbot


WARNING in netdev_unregister_kobject

Status: auto-obsoleted due to no activity on 2025/03/10 08:45
Reported-by: syzbot+1026ac2ab63a0489fc24@syzkaller.appspotmail.com
First crash: 119d, last: 110d

Sample crash report:
------------[ cut here ]------------
sysfs group 'power' not found for kobject 'bnep0'
WARNING: CPU: 0 PID: 4123 at fs/sysfs/group.c:281 sysfs_remove_group+0x174/0x288 fs/sysfs/group.c:279
Modules linked in:
CPU: 0 PID: 4123 Comm: kbnepd bnep0 Not tainted 5.15.173-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 : ffff800020577780
x29: ffff800020577780 x28: 1fffe0001a27f6d4 x27: dfff800000000000
x26: ffff800020577840 x25: 1fffe00019a258ca x24: 1ffff0000252ff04
x23: dfff800000000000 x22: ffff0000cd12c668 x21: ffff0000cd12c608
x20: ffff0000d197c1d0 x19: ffff80001297f800 x18: 0000000000000001
x17: 0000000000000000 x16: ffff800011b4c108 x15: 00000000ffffffff
x14: ffff0000d13fb680 x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : 28f212f9a508ac00
x8 : 28f212f9a508ac00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff800020576ef8 x4 : ffff800014c405e0 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: 7162
hardirqs last  enabled at (7161): [<ffff80000832c128>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257
hardirqs last disabled at (7162): [<ffff800011b47794>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last  enabled at (7150): [<ffff8000081b691c>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (7150): [<ffff8000081b691c>] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586
softirqs last disabled at (7097): [<ffff8000081b6fb4>] __do_softirq kernel/softirq.c:592 [inline]
softirqs last disabled at (7097): [<ffff8000081b6fb4>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (7097): [<ffff8000081b6fb4>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (7097): [<ffff8000081b6fb4>] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641
---[ end trace c2ef621761f4efde ]---
------------[ cut here ]------------
sysfs group 'statistics' not found for kobject 'bnep0'
WARNING: CPU: 0 PID: 4123 at fs/sysfs/group.c:281 sysfs_remove_group+0x174/0x288 fs/sysfs/group.c:279
Modules linked in:
CPU: 0 PID: 4123 Comm: kbnepd bnep0 Tainted: G        W         5.15.173-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 : ffff800020577740
x29: ffff800020577740 x28: 1fffe0001a27f6d4 x27: dfff800000000000
x26: ffff0000c2bee8a0 x25: ffff0000c2bee8a0 x24: 1ffff000026d8f30
x23: dfff800000000000 x22: dfff800000000000 x21: ffff0000cd12c608
x20: ffff0000d197c1d0 x19: ffff8000136c8800 x18: 0000000000000001
x17: 0000000000000000 x16: ffff8000083364dc x15: 00000000ffffffff
x14: ffff0000d13fb680 x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : 28f212f9a508ac00
x8 : 28f212f9a508ac00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff800020576eb8 x4 : ffff800014c405e0 x3 : ffff800008336628
x2 : 0000000000000001 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: 7212
hardirqs last  enabled at (7211): [<ffff80000832c128>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257
hardirqs last disabled at (7212): [<ffff800011b47794>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last  enabled at (7190): [<ffff8000081b691c>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (7190): [<ffff8000081b691c>] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586
softirqs last disabled at (7165): [<ffff8000081b6fb4>] __do_softirq kernel/softirq.c:592 [inline]
softirqs last disabled at (7165): [<ffff8000081b6fb4>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (7165): [<ffff8000081b6fb4>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (7165): [<ffff8000081b6fb4>] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641
---[ end trace c2ef621761f4efdf ]---

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/30 08:44 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in netdev_unregister_kobject
2024/11/20 22:17 linux-5.15.y 0a51d2d4527b 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in netdev_unregister_kobject
* Struck through repros no longer work on HEAD.