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: 8429 Comm: kworker/0:0 Not tainted 5.13.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events l2cap_chan_timeout Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 assign_lock_key kernel/locking/lockdep.c:937 [inline] register_lock_class+0x1077/0x1180 kernel/locking/lockdep.c:1249 __lock_acquire+0x102/0x5230 kernel/locking/lockdep.c:4781 lock_acquire kernel/locking/lockdep.c:5512 [inline] lock_acquire+0x1ab/0x740 kernel/locking/lockdep.c:5477 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:175 spin_lock_bh include/linux/spinlock.h:359 [inline] lock_sock_nested+0x40/0x120 net/core/sock.c:3065 l2cap_sock_teardown_cb+0xa1/0x660 net/bluetooth/l2cap_sock.c:1528 l2cap_chan_del+0xbc/0xa80 net/bluetooth/l2cap_core.c:622 l2cap_chan_close+0x1bc/0xaf0 net/bluetooth/l2cap_core.c:825 l2cap_chan_timeout+0x17e/0x2f0 net/bluetooth/l2cap_core.c:436 process_one_work+0x98d/0x1600 kernel/workqueue.c:2276 worker_thread+0x64c/0x1120 kernel/workqueue.c:2422 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 2b83a067 P4D 2b83a067 PUD 2b83b067 PMD 0 Oops: 0010 [#2] PREEMPT SMP KASAN CPU: 0 PID: 8429 Comm: kworker/0:0 Tainted: G D 5.13.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events l2cap_chan_timeout RIP: 0010:0x0 Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. RSP: 0018:ffffc900019efb70 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88802b5f9000 RCX: 0000000000000000 RDX: 1ffff110056bf28c RSI: ffffffff880c1a0b RDI: ffff88802b5f9000 RBP: 0000000000000000 R08: ffffffff8a7e2140 R09: ffffffff880c1676 R10: 0000000000000004 R11: 0000000000000005 R12: 000000000000006f R13: ffff888035574000 R14: ffff888035574020 R15: 0000000000000005 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 000000002b839000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: l2cap_sock_teardown_cb+0x496/0x660 net/bluetooth/l2cap_sock.c:1553 l2cap_chan_del+0xbc/0xa80 net/bluetooth/l2cap_core.c:622 l2cap_chan_close+0x1bc/0xaf0 net/bluetooth/l2cap_core.c:825 l2cap_chan_timeout+0x17e/0x2f0 net/bluetooth/l2cap_core.c:436 process_one_work+0x98d/0x1600 kernel/workqueue.c:2276 worker_thread+0x64c/0x1120 kernel/workqueue.c:2422 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Modules linked in: CR2: 0000000000000000 ---[ end trace e6857f5aa9d79ad4 ]--- RIP: 0010:io_poll_remove_all+0x147/0x300 fs/io_uring.c:5266 Code: 48 8b 6d 00 48 85 ed 74 72 e8 75 cc 96 ff 48 81 ed a0 00 00 00 74 64 e8 67 cc 96 ff 48 8d bd a0 00 00 00 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 77 01 00 00 4d 85 f6 4c 8b a5 a0 00 00 00 74 4a RSP: 0018:ffffc900034cfd40 EFLAGS: 00010007 RAX: 000000001fffffff RBX: dffffc0000000000 RCX: ffffc90002f8a000 RDX: 0000000000040000 RSI: ffffffff81dd44f9 RDI: 00000000ffffffff RBP: 00000000ffffff5f R08: 0000000000000100 R09: 0000000000000003 R10: ffffffff81dd449a R11: 0000000000000000 R12: 0000000000000008 R13: ffffc900034cfde0 R14: 0000000000000000 R15: 0000000000000012 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 000000002b839000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400