general protection fault, probably for non-canonical address 0xdffffc000000013b: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000009d8-0x00000000000009df] CPU: 0 PID: 17813 Comm: syz-executor.3 Not tainted 6.4.0-rc7-syzkaller-01944-g3674fbf0451d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:sco_conn_add+0x2a/0x330 net/bluetooth/sco.c:127 Code: 41 57 41 56 41 55 49 89 fd 41 54 55 49 8d ad d8 09 00 00 53 e8 b7 f1 5a f8 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 8b 02 00 00 4d 8b a5 d8 09 00 00 4d 85 e4 74 13 RSP: 0018:ffffc9000617fd50 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88804abf8000 RCX: ffffc9000bac9000 RDX: 000000000000013b RSI: ffffffff892957a9 RDI: 0000000000000000 RBP: 00000000000009d8 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000010 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88801ed2d540 R15: ffff88804abf8010 FS: 00007f786588f700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1f7b10e8c0 CR3: 0000000031056000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sco_connect net/bluetooth/sco.c:274 [inline] sco_sock_connect+0x321/0xae0 net/bluetooth/sco.c:610 __sys_connect_file+0x153/0x1a0 net/socket.c:1991 __sys_connect+0x165/0x1a0 net/socket.c:2008 __do_sys_connect net/socket.c:2018 [inline] __se_sys_connect net/socket.c:2015 [inline] __x64_sys_connect+0x73/0xb0 net/socket.c:2015 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7864a8c389 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f786588f168 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f7864babf80 RCX: 00007f7864a8c389 RDX: 0000000000000008 RSI: 0000000020000200 RDI: 0000000000000004 RBP: 00007f786588f1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffc2e8ea9bf R14: 00007f786588f300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:sco_conn_add+0x2a/0x330 net/bluetooth/sco.c:127 Code: 41 57 41 56 41 55 49 89 fd 41 54 55 49 8d ad d8 09 00 00 53 e8 b7 f1 5a f8 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 8b 02 00 00 4d 8b a5 d8 09 00 00 4d 85 e4 74 13 RSP: 0018:ffffc9000617fd50 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88804abf8000 RCX: ffffc9000bac9000 RDX: 000000000000013b RSI: ffffffff892957a9 RDI: 0000000000000000 RBP: 00000000000009d8 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000010 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88801ed2d540 R15: ffff88804abf8010 FS: 00007f786588f700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555557062708 CR3: 0000000031056000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 41 57 push %r15 2: 41 56 push %r14 4: 41 55 push %r13 6: 49 89 fd mov %rdi,%r13 9: 41 54 push %r12 b: 55 push %rbp c: 49 8d ad d8 09 00 00 lea 0x9d8(%r13),%rbp 13: 53 push %rbx 14: e8 b7 f1 5a f8 callq 0xf85af1d0 19: 48 89 ea mov %rbp,%rdx 1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 23: fc ff df 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 8b 02 00 00 jne 0x2bf 34: 4d 8b a5 d8 09 00 00 mov 0x9d8(%r13),%r12 3b: 4d 85 e4 test %r12,%r12 3e: 74 13 je 0x53