syzbot


INFO: trying to register non-static key in netdev_unregister_kobject (2)

Status: upstream: reported on 2024/11/04 17:13
Subsystems: pm
[Documentation on labels]
Reported-by: syzbot+70bd31b69512b90375b6@syzkaller.appspotmail.com
First crash: 6d08h, last: 1d02h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [pm?] INFO: trying to register non-static key in netdev_unregister_kobject (2) 0 (1) 2024/11/04 17:13
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: trying to register non-static key in netdev_unregister_kobject pm C inconclusive done 12 124d 163d 0/28 auto-obsoleted due to no activity on 2024/10/10 06:58

Sample crash report:
INFO: trying to register non-static key.
The code is fine but needs lockdep annotation, or maybe
you didn't initialize this object before use?
turning off the locking correctness validator.
CPU: 0 UID: 0 PID: 15994 Comm: kbnepd bnep0 Not tainted 6.12.0-rc4-syzkaller-01012-g157a4881225b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
 assign_lock_key+0x241/0x280 kernel/locking/lockdep.c:981
 register_lock_class+0x1cf/0x980 kernel/locking/lockdep.c:1295
 __lock_acquire+0xf0/0x2050 kernel/locking/lockdep.c:5077
 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825
 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline]
 _raw_spin_lock_irq+0xd3/0x120 kernel/locking/spinlock.c:170
 spin_lock_irq include/linux/spinlock.h:376 [inline]
 pm_runtime_set_memalloc_noio+0x13d/0x260 drivers/base/power/runtime.c:228
 netdev_unregister_kobject+0x178/0x250 net/core/net-sysfs.c:2109
 unregister_netdevice_many_notify+0x1859/0x1da0 net/core/dev.c:11513
 unregister_netdevice_many net/core/dev.c:11541 [inline]
 unregister_netdevice_queue+0x303/0x370 net/core/dev.c:11413
 unregister_netdevice include/linux/netdevice.h:3175 [inline]
 unregister_netdev+0x1c/0x30 net/core/dev.c:11559
 bnep_session+0x2e0e/0x3000 net/bluetooth/bnep/core.c:525
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/31 17:10 net-next 157a4881225b 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: trying to register non-static key in netdev_unregister_kobject
2024/11/05 23:32 linux-next 850f22c42f4b 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in netdev_unregister_kobject
* Struck through repros no longer work on HEAD.