BUG: spinlock bad magic on CPU#0, kworker/0:15/18990 general protection fault, probably for non-canonical address 0xdffffc34800000aa: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x000001a400000550-0x000001a400000557] CPU: 0 PID: 18990 Comm: kworker/0:15 Not tainted 5.11.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events l2cap_chan_timeout RIP: 0010:task_pid_nr include/linux/sched.h:1408 [inline] RIP: 0010:spin_dump kernel/locking/spinlock_debug.c:65 [inline] RIP: 0010:spin_bug.cold+0x71/0x9e kernel/locking/spinlock_debug.c:75 Code: 11 4c 89 e8 09 3e 00 00 5b 5d 41 5c 41 5d e9 14 f8 0d 00 48 8d bb 50 05 00 00 b8 ff ff 37 00 48 89 fa 48 c1 e0 2a 48 c1 ea 03 <0f> b6 04 02 84 c0 74 04 3c 03 7e 13 44 8b ab 50 05 00 00 48 81 c3 RSP: 0018:ffffc90002137a88 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: 000001a400000004 RCX: 0000000000000000 RDX: 00000034800000aa RSI: ffffffff815b69d5 RDI: 000001a400000554 RBP: ffff888076f24088 R08: 0000000000000034 R09: 0000000000000000 R10: ffffffff815afbae R11: 0000000000000000 R12: 000000001e715b5c R13: ffff8880628b3780 R14: ffff888076f23020 R15: 0000000000000005 FS: 0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f314789bf80 CR3: 000000005dbbd000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_spin_lock_before kernel/locking/spinlock_debug.c:83 [inline] do_raw_spin_lock+0x216/0x2b0 kernel/locking/spinlock_debug.c:112 spin_lock_bh include/linux/spinlock.h:359 [inline] lock_sock_nested+0x3b/0x110 net/core/sock.c:3049 l2cap_sock_teardown_cb+0xa1/0x660 net/bluetooth/l2cap_sock.c:1520 l2cap_chan_del+0xbc/0xa80 net/bluetooth/l2cap_core.c:618 l2cap_chan_close+0x1bc/0xaf0 net/bluetooth/l2cap_core.c:823 l2cap_chan_timeout+0x17e/0x2f0 net/bluetooth/l2cap_core.c:436 process_one_work+0x98d/0x15f0 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Modules linked in: ---[ end trace c6c53db85ad0f6dd ]--- RIP: 0010:task_pid_nr include/linux/sched.h:1408 [inline] RIP: 0010:spin_dump kernel/locking/spinlock_debug.c:65 [inline] RIP: 0010:spin_bug.cold+0x71/0x9e kernel/locking/spinlock_debug.c:75 Code: 11 4c 89 e8 09 3e 00 00 5b 5d 41 5c 41 5d e9 14 f8 0d 00 48 8d bb 50 05 00 00 b8 ff ff 37 00 48 89 fa 48 c1 e0 2a 48 c1 ea 03 <0f> b6 04 02 84 c0 74 04 3c 03 7e 13 44 8b ab 50 05 00 00 48 81 c3 RSP: 0018:ffffc90002137a88 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: 000001a400000004 RCX: 0000000000000000 RDX: 00000034800000aa RSI: ffffffff815b69d5 RDI: 000001a400000554 RBP: ffff888076f24088 R08: 0000000000000034 R09: 0000000000000000 R10: ffffffff815afbae R11: 0000000000000000 R12: 000000001e715b5c R13: ffff8880628b3780 R14: ffff888076f23020 R15: 0000000000000005 FS: 0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f314789bf80 CR3: 000000005dbbd000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400