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: 1 PID: 3609 Comm: syz-executor277 Not tainted 5.19.0-rc7-syzkaller-00199-g515f71412bb7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 assign_lock_key kernel/locking/lockdep.c:979 [inline] register_lock_class+0xf30/0x1130 kernel/locking/lockdep.c:1292 __lock_acquire+0x10a/0x5660 kernel/locking/lockdep.c:4932 lock_acquire kernel/locking/lockdep.c:5665 [inline] lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5630 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:354 [inline] ieee80211_do_stop+0xc3/0x1ff0 net/mac80211/iface.c:380 ieee80211_stop+0xc5/0x610 net/mac80211/iface.c:680 __dev_close_many+0x1b6/0x2e0 net/core/dev.c:1516 __dev_close net/core/dev.c:1528 [inline] __dev_change_flags+0x2ca/0x750 net/core/dev.c:8535 dev_change_flags+0x93/0x170 net/core/dev.c:8608 do_setlink+0x961/0x3bb0 net/core/rtnetlink.c:2780 rtnl_group_changelink net/core/rtnetlink.c:3302 [inline] __rtnl_newlink+0xb96/0x17e0 net/core/rtnetlink.c:3556 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3593 rtnetlink_rcv_msg+0x43a/0xc90 net/core/rtnetlink.c:6089 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2501 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x917/0xe10 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:734 ____sys_sendmsg+0x6eb/0x810 net/socket.c:2488 ___sys_sendmsg+0xf3/0x170 net/socket.c:2542 __sys_sendmsg net/socket.c:2571 [inline] __do_sys_sendmsg net/socket.c:2580 [inline] __se_sys_sendmsg net/socket.c:2578 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2578 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5e125b3c49 Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffff4020378 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5e125b3c49 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000003 RBP: 00007f5e12577df0 R08: 0000000000000008 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 00007f5e12577e80 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000