INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 8717 Comm: syz-executor.0 Not tainted 5.10.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x137/0x1be lib/dump_stack.c:118 register_lock_class+0xd54/0x12b0 kernel/locking/lockdep.c:934 __lock_acquire+0x107/0x5e90 kernel/locking/lockdep.c:4711 lock_acquire+0x114/0x5e0 kernel/locking/lockdep.c:5437 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x73/0xa0 kernel/locking/spinlock.c:159 skb_dequeue net/core/skbuff.c:3034 [inline] skb_queue_purge+0x2e/0x1c0 net/core/skbuff.c:3072 l2cap_sock_shutdown+0x41e/0x880 net/bluetooth/l2cap_sock.c:1339 l2cap_sock_release+0x68/0x1c0 net/bluetooth/l2cap_sock.c:1382 __sock_release net/socket.c:596 [inline] sock_close+0xd8/0x260 net/socket.c:1277 __fput+0x34f/0x7b0 fs/file_table.c:281 task_work_run+0x137/0x1c0 kernel/task_work.c:151 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:164 [inline] exit_to_user_mode_prepare+0xe4/0x170 kernel/entry/common.c:191 syscall_exit_to_user_mode+0x4a/0x170 kernel/entry/common.c:266 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4177d1 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 a4 1a 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffffb8d43a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00000000004177d1 RDX: fffffffffffffff7 RSI: 0000000001190540 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffffb8d4480 R11: 0000000000000293 R12: ffffffffffffffff R13: 000000000000d3f4 R14: 00000000000003e8 R15: 000000000118bfd4