general protection fault, probably for non-canonical address 0xdffffc0000000066: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000330-0x0000000000000337] CPU: 1 PID: 23 Comm: kworker/1:0 Not tainted 6.5.0-syzkaller-10898-gfdde61878047 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: events l2cap_chan_timeout RIP: 0010:__mutex_lock_common+0x110/0x2530 kernel/locking/mutex.c:582 Code: 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 19 1d 00 00 83 3d b2 5d 1e 07 00 75 2b 48 8b 44 24 08 48 8d 78 60 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 05 e8 d4 81 16 f7 48 8b 44 24 08 48 39 40 60 0f RSP: 0018:ffffc900001d7aa0 EFLAGS: 00010206 RAX: 0000000000000066 RBX: 0000000000000000 RCX: ffffffff91ef5303 RDX: dffffc0000000000 RSI: ffff888016a6d940 RDI: 0000000000000330 RBP: ffffc900001d7c08 R08: ffffc900001d7b87 R09: 0000000000000000 R10: ffffc900001d7b60 R11: fffff5200003af71 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000140 CR3: 00000000799e4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799 l2cap_chan_timeout+0x5a/0x340 net/bluetooth/l2cap_core.c:438 process_one_work+0x781/0x1130 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0xabf/0x1060 kernel/workqueue.c:2784 kthread+0x2b8/0x350 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__mutex_lock_common+0x110/0x2530 kernel/locking/mutex.c:582 Code: 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 19 1d 00 00 83 3d b2 5d 1e 07 00 75 2b 48 8b 44 24 08 48 8d 78 60 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 05 e8 d4 81 16 f7 48 8b 44 24 08 48 39 40 60 0f RSP: 0018:ffffc900001d7aa0 EFLAGS: 00010206 RAX: 0000000000000066 RBX: 0000000000000000 RCX: ffffffff91ef5303 RDX: dffffc0000000000 RSI: ffff888016a6d940 RDI: 0000000000000330 RBP: ffffc900001d7c08 R08: ffffc900001d7b87 R09: 0000000000000000 R10: ffffc900001d7b60 R11: fffff5200003af71 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f56afbfdffc CR3: 000000000d130000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 c1 e8 03 shr $0x3,%rax 4: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax 9: 84 c0 test %al,%al b: 0f 85 19 1d 00 00 jne 0x1d2a 11: 83 3d b2 5d 1e 07 00 cmpl $0x0,0x71e5db2(%rip) # 0x71e5dca 18: 75 2b jne 0x45 1a: 48 8b 44 24 08 mov 0x8(%rsp),%rax 1f: 48 8d 78 60 lea 0x60(%rax),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 05 je 0x36 31: e8 d4 81 16 f7 call 0xf716820a 36: 48 8b 44 24 08 mov 0x8(%rsp),%rax 3b: 48 39 40 60 cmp %rax,0x60(%rax) 3f: 0f .byte 0xf