BUG: spinlock bad magic on CPU#1, kworker/1:12/19426 general protection fault, probably for non-canonical address 0xdffffc34800000aa: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x000001a400000550-0x000001a400000557] CPU: 1 PID: 19426 Comm: kworker/1:12 Not tainted 5.11.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: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 7d f7 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:ffffc900099c7a88 EFLAGS: 00010217 RAX: dffffc0000000000 RBX: 000001a400000004 RCX: 0000000000000000 RDX: 00000034800000aa RSI: ffffffff815b6b15 RDI: 000001a400000554 RBP: ffff88802524c088 R08: 0000000000000034 R09: 0000000000000000 R10: ffffffff815afcee R11: 0000000000000000 R12: 000000001a9d715c R13: ffff88805b7cb780 R14: ffff88805e83d020 R15: 0000000000000005 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2cd28000 CR3: 000000002553e000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 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 fee54bad2476f7c1 ]--- 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 7d f7 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:ffffc900099c7a88 EFLAGS: 00010217 RAX: dffffc0000000000 RBX: 000001a400000004 RCX: 0000000000000000 RDX: 00000034800000aa RSI: ffffffff815b6b15 RDI: 000001a400000554 RBP: ffff88802524c088 R08: 0000000000000034 R09: 0000000000000000 R10: ffffffff815afcee R11: 0000000000000000 R12: 000000001a9d715c R13: ffff88805b7cb780 R14: ffff88805e83d020 R15: 0000000000000005 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2cd28000 CR3: 000000002553e000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600