syzbot


WARNING: locking bug in netdev_unregister_kobject (2)

Status: auto-obsoleted due to no activity on 2024/08/10 15:08
Subsystems: pm
[Documentation on labels]
Reported-by: syzbot+f3298e634aa801f1327e@syzkaller.appspotmail.com
First crash: 198d, last: 185d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [pm?] WARNING: locking bug in netdev_unregister_kobject (2) 0 (1) 2024/04/23 01:11
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: locking bug in netdev_unregister_kobject net 1 717d 713d 0/28 auto-obsoleted due to no activity on 2023/03/17 18:34

Sample crash report:
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(1)
WARNING: CPU: 1 PID: 5505 at kernel/locking/lockdep.c:232 hlock_class kernel/locking/lockdep.c:232 [inline]
WARNING: CPU: 1 PID: 5505 at kernel/locking/lockdep.c:232 hlock_class+0xfa/0x130 kernel/locking/lockdep.c:221
Modules linked in:
CPU: 1 PID: 5505 Comm: kbnepd bnep0 Not tainted 6.9.0-rc5-syzkaller-00031-g71b1543c83d6 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:hlock_class kernel/locking/lockdep.c:232 [inline]
RIP: 0010:hlock_class+0xfa/0x130 kernel/locking/lockdep.c:221
Code: b6 14 11 38 d0 7c 04 84 d2 75 43 8b 05 23 6f 34 0e 85 c0 75 19 90 48 c7 c6 40 b2 0c 8b 48 c7 c7 e0 ac 0c 8b e8 17 3b e5 ff 90 <0f> 0b 90 90 90 31 c0 eb 9e e8 28 f5 7d 00 e9 1c ff ff ff 48 c7 c7
RSP: 0018:ffffc900044c7780 EFLAGS: 00010086
RAX: 0000000000000000 RBX: 000000000000100c RCX: ffffffff81503279
RDX: ffff888021ca0000 RSI: ffffffff81503286 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffff888021ca0b50 R15: 000000000000100c
FS:  0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbbc014c8e5 CR3: 000000002f314000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 check_wait_context kernel/locking/lockdep.c:4773 [inline]
 __lock_acquire+0x3f2/0x3b30 kernel/locking/lockdep.c:5087
 lock_acquire kernel/locking/lockdep.c:5754 [inline]
 lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162
 klist_next+0x86/0x520 lib/klist.c:382
 next_device drivers/base/core.c:3970 [inline]
 device_for_each_child+0xcf/0x190 drivers/base/core.c:4048
 pm_runtime_set_memalloc_noio+0xf2/0x180 drivers/base/power/runtime.c:248
 netdev_unregister_kobject+0x1ed/0x270 net/core/net-sysfs.c:2106
 unregister_netdevice_many_notify+0xc8a/0x19f0 net/core/dev.c:11135
 unregister_netdevice_many net/core/dev.c:11163 [inline]
 unregister_netdevice_queue+0x307/0x3f0 net/core/dev.c:11042
 unregister_netdevice include/linux/netdevice.h:3115 [inline]
 unregister_netdev+0x1c/0x30 net/core/dev.c:11181
 bnep_session+0x220d/0x2d60 net/bluetooth/bnep/core.c:525
 kthread+0x2c1/0x3a0 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/23 14:24 upstream 71b1543c83d6 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING: locking bug in netdev_unregister_kobject
2024/04/23 14:21 upstream 71b1543c83d6 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING: locking bug in netdev_unregister_kobject
2024/04/27 12:38 upstream 5eb4573ea63d 07b455f9 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: locking bug in netdev_unregister_kobject
2024/04/29 11:45 net bef1e4c8c3e0 27e33c58 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING: locking bug in netdev_unregister_kobject
2024/05/02 15:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6a71d2909427 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: locking bug in netdev_unregister_kobject
2024/04/23 11:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6a71d2909427 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: locking bug in netdev_unregister_kobject
2024/04/20 02:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6a71d2909427 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: locking bug in netdev_unregister_kobject
2024/04/19 03:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b5d2afe8745b af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: locking bug in netdev_unregister_kobject
2024/04/19 01:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b5d2afe8745b af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: locking bug in netdev_unregister_kobject
* Struck through repros no longer work on HEAD.