BUG: spinlock bad magic on CPU#1, kworker/1:25/19210 general protection fault, probably for non-canonical address 0xdffffc34800000a0: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x000001a400000500-0x000001a400000507] CPU: 1 PID: 19210 Comm: kworker/1:25 Not tainted 5.10.0-rc6-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:1388 [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: c4 4b 89 e8 1d 3d 00 00 5b 5d 41 5c 41 5d e9 c1 45 09 00 48 8d bb 00 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 00 05 00 00 48 81 c3 RSP: 0018:ffffc90001d5fa88 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: 000001a400000004 RCX: 0000000000000000 RDX: 00000034800000a0 RSI: ffffffff8158c855 RDI: 000001a400000504 RBP: ffff888025ccf088 R08: 0000000000000034 R09: ffff8880b9f30627 R10: 0000000000000000 R11: 697073203a475542 R12: 0000000020286d5c R13: ffff8880666d4ec0 R14: ffff888025ccb020 R15: 0000000000000005 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002a8aa98 CR3: 0000000058780000 CR4: 00000000001506e0 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:3036 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+0x933/0x15a0 kernel/workqueue.c:2272 worker_thread+0x64c/0x1120 kernel/workqueue.c:2418 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Modules linked in: ---[ end trace d889088d220ef7d9 ]--- RIP: 0010:task_pid_nr include/linux/sched.h:1388 [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: c4 4b 89 e8 1d 3d 00 00 5b 5d 41 5c 41 5d e9 c1 45 09 00 48 8d bb 00 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 00 05 00 00 48 81 c3 RSP: 0018:ffffc90001d5fa88 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: 000001a400000004 RCX: 0000000000000000 RDX: 00000034800000a0 RSI: ffffffff8158c855 RDI: 000001a400000504 RBP: ffff888025ccf088 R08: 0000000000000034 R09: ffff8880b9f30627 R10: 0000000000000000 R11: 697073203a475542 R12: 0000000020286d5c R13: ffff8880666d4ec0 R14: ffff888025ccb020 R15: 0000000000000005 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002a8aa98 CR3: 0000000058780000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400