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 PID: 4966 Comm: syz-executor.3 Not tainted 5.19.0-rc7-syzkaller-01445-g3c47fb2f4c4d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/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/0x20a0 net/mac80211/iface.c:383 ieee80211_stop+0xc5/0x600 net/mac80211/iface.c:688 __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:8553 dev_change_flags+0x93/0x170 net/core/dev.c:8626 devinet_ioctl+0x15d1/0x1ca0 net/ipv4/devinet.c:1146 inet_ioctl+0x1e6/0x320 net/ipv4/af_inet.c:968 packet_ioctl+0xad/0x250 net/packet/af_packet.c:4231 sock_do_ioctl+0xcc/0x230 net/socket.c:1169 sock_ioctl+0x2f1/0x640 net/socket.c:1286 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 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:0x7fcdc8889279 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcdc99cc168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fcdc899bf80 RCX: 00007fcdc8889279 RDX: 0000000020000440 RSI: 0000000000008914 RDI: 0000000000000003 RBP: 00007fcdc88e3189 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe1ff3278f R14: 00007fcdc99cc300 R15: 0000000000022000