Oops: general protection fault, probably for non-canonical address 0xdffffc0000000038: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x00000000000001c0-0x00000000000001c7] CPU: 3 UID: 0 PID: 53 Comm: kworker/3:1 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+0x6d/0x2b0 kernel/locking/spinlock_debug.c:115 Code: 98 81 48 8d 54 05 00 c7 02 f1 f1 f1 f1 c7 42 04 04 f3 f3 f3 65 48 8b 15 d9 2d 3e 12 48 89 54 24 60 31 d2 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 e4 RSP: 0018:ffffc90000a6fa00 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: 00000000000001c0 RCX: 0000000000000000 RDX: 0000000000000038 RSI: 0000000000000000 RDI: 00000000000001c4 RBP: 1ffff9200014df41 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff9b02c290 R12: 00000000000001c0 R13: 0000000000000002 R14: ffff888052da44b0 R15: 0000000000000004 FS: 0000000000000000(0000) GS:ffff8880d69bc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000000 CR3: 000000000e380000 CR4: 0000000000352ef0 Call Trace: spin_lock_bh include/linux/spinlock.h:356 [inline] lock_sock_nested+0x5f/0xf0 net/core/sock.c:3736 lock_sock include/net/sock.h:1667 [inline] l2cap_sock_ready_cb+0x41/0x170 net/bluetooth/l2cap_sock.c:1674 l2cap_chan_ready net/bluetooth/l2cap_core.c:1246 [inline] l2cap_conn_start+0x144/0xb30 net/bluetooth/l2cap_core.c:1512 l2cap_info_timeout+0x81/0xa0 net/bluetooth/l2cap_core.c:1669 process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x5d7/0x6f0 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+0x6d/0x2b0 kernel/locking/spinlock_debug.c:115 Code: 98 81 48 8d 54 05 00 c7 02 f1 f1 f1 f1 c7 42 04 04 f3 f3 f3 65 48 8b 15 d9 2d 3e 12 48 89 54 24 60 31 d2 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 e4 RSP: 0018:ffffc90000a6fa00 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: 00000000000001c0 RCX: 0000000000000000 RDX: 0000000000000038 RSI: 0000000000000000 RDI: 00000000000001c4 RBP: 1ffff9200014df41 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff9b02c290 R12: 00000000000001c0 R13: 0000000000000002 R14: ffff888052da44b0 R15: 0000000000000004 FS: 0000000000000000(0000) GS:ffff8880d69bc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000000 CR3: 000000000e380000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 98 cwtl 1: 81 48 8d 54 05 00 c7 orl $0xc7000554,-0x73(%rax) 8: 02 f1 add %cl,%dh a: f1 int1 b: f1 int1 c: f1 int1 d: c7 42 04 04 f3 f3 f3 movl $0xf3f3f304,0x4(%rdx) 14: 65 48 8b 15 d9 2d 3e mov %gs:0x123e2dd9(%rip),%rdx # 0x123e2df5 1b: 12 1c: 48 89 54 24 60 mov %rdx,0x60(%rsp) 21: 31 d2 xor %edx,%edx 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx <-- trapping instruction 2e: 48 89 f8 mov %rdi,%rax 31: 83 e0 07 and $0x7,%eax 34: 83 c0 03 add $0x3,%eax 37: 38 d0 cmp %dl,%al 39: 7c 08 jl 0x43 3b: 84 d2 test %dl,%dl 3d: 0f .byte 0xf 3e: 85 e4 test %esp,%esp