RBP: 00007f348db90120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007f348cf9bf80 R15: 00007ffc98ca0038 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: 24343 Comm: syz-executor.5 Not tainted 6.5.0-rc1-syzkaller-00338-gd3750076d464 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:sco_conn_add+0x28/0x320 net/bluetooth/sco.c:127 Code: 00 00 41 56 41 55 41 54 55 48 89 fd 53 4c 8d a5 d8 09 00 00 e8 d9 71 41 f8 4c 89 e2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 7e 02 00 00 48 8b 9d d8 09 00 00 48 85 db 74 11 RSP: 0018:ffffc90003687d48 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888035c41000 RCX: ffffc900066b9000 RDX: 000000000000013b RSI: ffffffff89450a47 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000016 R11: 0000000000000000 R12: 00000000000009d8 R13: ffff888035c41546 R14: ffff888035c41012 R15: 0000000000000000 FS: 00007f348db906c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556d778f8 CR3: 00000000467a8000 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+0x313/0xad0 net/bluetooth/sco.c:610 __sys_connect_file+0x15b/0x1a0 net/socket.c:1992 __sys_connect+0x145/0x170 net/socket.c:2009 __do_sys_connect net/socket.c:2019 [inline] __se_sys_connect net/socket.c:2016 [inline] __x64_sys_connect+0x72/0xb0 net/socket.c:2016 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f348ce7cb29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f348db900c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f348cf9bf80 RCX: 00007f348ce7cb29 RDX: 0000000000000008 RSI: 0000000020000040 RDI: 0000000000000004 RBP: 00007f348db90120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007f348cf9bf80 R15: 00007ffc98ca0038 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:sco_conn_add+0x28/0x320 net/bluetooth/sco.c:127 Code: 00 00 41 56 41 55 41 54 55 48 89 fd 53 4c 8d a5 d8 09 00 00 e8 d9 71 41 f8 4c 89 e2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 7e 02 00 00 48 8b 9d d8 09 00 00 48 85 db 74 11 RSP: 0018:ffffc90003687d48 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888035c41000 RCX: ffffc900066b9000 RDX: 000000000000013b RSI: ffffffff89450a47 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000016 R11: 0000000000000000 R12: 00000000000009d8 R13: ffff888035c41546 R14: ffff888035c41012 R15: 0000000000000000 FS: 00007f348db906c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fc29000 CR3: 00000000467a8000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 41 56 push %r14 4: 41 55 push %r13 6: 41 54 push %r12 8: 55 push %rbp 9: 48 89 fd mov %rdi,%rbp c: 53 push %rbx d: 4c 8d a5 d8 09 00 00 lea 0x9d8(%rbp),%r12 14: e8 d9 71 41 f8 call 0xf84171f2 19: 4c 89 e2 mov %r12,%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 7e 02 00 00 jne 0x2b2 34: 48 8b 9d d8 09 00 00 mov 0x9d8(%rbp),%rbx 3b: 48 85 db test %rbx,%rbx 3e: 74 11 je 0x51