INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 1 PID: 12613 Comm: kworker/1:5 Not tainted 5.9.0-rc3-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:77 [inline] dump_stack+0x1d6/0x29e lib/dump_stack.c:118 register_lock_class+0xf06/0x1520 kernel/locking/lockdep.c:893 __lock_acquire+0xfd/0x2ae0 kernel/locking/lockdep.c:4305 lock_acquire+0x140/0x6f0 kernel/locking/lockdep.c:5006 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:175 spin_lock_bh include/linux/spinlock.h:359 [inline] lock_sock_nested+0x43/0x110 net/core/sock.c:3048 l2cap_sock_teardown_cb+0x72/0x3e0 net/bluetooth/l2cap_sock.c:1520 l2cap_chan_del+0xa3/0x760 net/bluetooth/l2cap_core.c:618 l2cap_chan_close+0x7bf/0xae0 net/bluetooth/l2cap_core.c:823 l2cap_chan_timeout+0x125/0x1e0 net/bluetooth/l2cap_core.c:436 process_one_work+0x789/0xfc0 kernel/workqueue.c:2269 worker_thread+0xaa4/0x1460 kernel/workqueue.c:2415 kthread+0x37e/0x3a0 drivers/block/aoe/aoecmd.c:1234 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 681e0067 P4D 681e0067 PUD 681e1067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 1 PID: 12613 Comm: kworker/1:5 Not tainted 5.9.0-rc3-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: Bad RIP value. RSP: 0018:ffffc9000909fbc0 EFLAGS: 00010246 RAX: 1ffff11012d6028c RBX: ffff888096b013f0 RCX: ffff88804e122100 RDX: 0000000000000000 RSI: ffffffff8981c0f0 RDI: ffff888096b01000 RBP: ffff88809f18b020 R08: 0000000000000001 R09: ffffffff876791da R10: 0000000000000004 R11: ffff88804e122100 R12: ffff888096b01000 R13: 0000000000000000 R14: dffffc0000000000 R15: 000000000000006f FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000000681df000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: l2cap_sock_teardown_cb+0x300/0x3e0 net/bluetooth/l2cap_sock.c:1547 l2cap_chan_del+0xa3/0x760 net/bluetooth/l2cap_core.c:618 l2cap_chan_close+0x7bf/0xae0 net/bluetooth/l2cap_core.c:823 l2cap_chan_timeout+0x125/0x1e0 net/bluetooth/l2cap_core.c:436 process_one_work+0x789/0xfc0 kernel/workqueue.c:2269 worker_thread+0xaa4/0x1460 kernel/workqueue.c:2415 kthread+0x37e/0x3a0 drivers/block/aoe/aoecmd.c:1234 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Modules linked in: CR2: 0000000000000000 ---[ end trace ba43a1c1379640ba ]--- RIP: 0010:0x0 Code: Bad RIP value. RSP: 0018:ffffc9000909fbc0 EFLAGS: 00010246 RAX: 1ffff11012d6028c RBX: ffff888096b013f0 RCX: ffff88804e122100 RDX: 0000000000000000 RSI: ffffffff8981c0f0 RDI: ffff888096b01000 RBP: ffff88809f18b020 R08: 0000000000000001 R09: ffffffff876791da R10: 0000000000000004 R11: ffff88804e122100 R12: ffff888096b01000 R13: 0000000000000000 R14: dffffc0000000000 R15: 000000000000006f FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000000681df000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400