Oops: general protection fault, probably for non-canonical address 0xdffffc0000000038: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x00000000000001c0-0x00000000000001c7] CPU: 0 UID: 0 PID: 5565 Comm: kworker/0:7 Not tainted 6.17.0-rc1-syzkaller-00214-g99bade344cfa #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: events l2cap_info_timeout RIP: 0010:debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline] RIP: 0010:do_raw_spin_lock+0x78/0x290 kernel/locking/spinlock_debug.c:115 Code: ff 9d 81 48 8d 4c 24 20 48 c1 e9 03 48 b8 f1 f1 f1 f1 04 f3 f3 f3 48 89 4c 24 18 4a 89 04 39 4c 8d 77 04 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 9f 01 00 00 41 8b 06 3d ad 4e ad de 0f RSP: 0018:ffffc9000ce0f7a0 EFLAGS: 00010203 RAX: 0000000000000038 RBX: 00000000000001c0 RCX: 1ffff920019c1ef8 RDX: 0000000000000000 RSI: ffffffff8be346e0 RDI: 00000000000001c0 RBP: ffffc9000ce0f858 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffffff8a850230 R12: dffffc0000000000 R13: dffffc0000000000 R14: 00000000000001c4 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa8825e9fc8 CR3: 0000000053e9b000 CR4: 0000000000352ef0 Call Trace: spin_lock_bh include/linux/spinlock.h:356 [inline] lock_sock_nested+0x6a/0x100 net/core/sock.c:3736 lock_sock include/net/sock.h:1667 [inline] l2cap_sock_ready_cb+0x45/0x140 net/bluetooth/l2cap_sock.c:1674 l2cap_chan_ready net/bluetooth/l2cap_core.c:1263 [inline] l2cap_conn_start+0x76a/0xe50 net/bluetooth/l2cap_core.c:1512 l2cap_info_timeout+0x68/0xa0 net/bluetooth/l2cap_core.c:1669 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3319 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400 kthread+0x70e/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline] RIP: 0010:do_raw_spin_lock+0x78/0x290 kernel/locking/spinlock_debug.c:115 Code: ff 9d 81 48 8d 4c 24 20 48 c1 e9 03 48 b8 f1 f1 f1 f1 04 f3 f3 f3 48 89 4c 24 18 4a 89 04 39 4c 8d 77 04 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 9f 01 00 00 41 8b 06 3d ad 4e ad de 0f RSP: 0018:ffffc9000ce0f7a0 EFLAGS: 00010203 RAX: 0000000000000038 RBX: 00000000000001c0 RCX: 1ffff920019c1ef8 RDX: 0000000000000000 RSI: ffffffff8be346e0 RDI: 00000000000001c0 RBP: ffffc9000ce0f858 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffffff8a850230 R12: dffffc0000000000 R13: dffffc0000000000 R14: 00000000000001c4 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa8825e9fc8 CR3: 0000000053e9b000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: ff 9d 81 48 8d 4c lcall *0x4c8d4881(%rbp) 6: 24 20 and $0x20,%al 8: 48 c1 e9 03 shr $0x3,%rcx c: 48 b8 f1 f1 f1 f1 04 movabs $0xf3f3f304f1f1f1f1,%rax 13: f3 f3 f3 16: 48 89 4c 24 18 mov %rcx,0x18(%rsp) 1b: 4a 89 04 39 mov %rax,(%rcx,%r15,1) 1f: 4c 8d 77 04 lea 0x4(%rdi),%r14 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 9f 01 00 00 jne 0x1d6 37: 41 8b 06 mov (%r14),%eax 3a: 3d ad 4e ad de cmp $0xdead4ead,%eax 3f: 0f .byte 0xf