Oops: general protection fault, probably for non-canonical address 0xdffffc0000000021: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000108-0x000000000000010f] CPU: 1 UID: 0 PID: 7916 Comm: syz.4.621 Not tainted 6.15.0-rc1-syzkaller-00246-g900241a5cc15 #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 RIP: 0010:bcsp_recv+0x10a/0x17f0 drivers/bluetooth/hci_bcsp.c:590 Code: 18 48 c1 e8 03 48 01 e8 48 89 04 24 48 8d 83 78 01 00 00 48 89 44 24 28 48 c1 e8 03 48 89 44 24 08 e8 8a 36 5c f9 48 8b 04 24 <80> 38 00 0f 85 d1 12 00 00 4c 8b ab 08 01 00 00 31 ff 4c 89 ee e8 RSP: 0018:ffffc90003d8fbf0 EFLAGS: 00010293 RAX: dffffc0000000021 RBX: 0000000000000000 RCX: ffffffff885f069a RDX: ffff888023cf0000 RSI: ffffffff885f06e6 RDI: 0000000000000005 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffc90003d8fd88 R13: ffffc90003d8fd88 R14: 0000000000000001 R15: ffff888023f5ac00 FS: 00007f5a946546c0(0000) GS:ffff8880d6ab3000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5a93772f00 CR3: 0000000036072000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hci_uart_tty_receive+0x251/0x7e0 drivers/bluetooth/hci_ldisc.c:627 tiocsti drivers/tty/tty_io.c:2299 [inline] tty_ioctl+0x57d/0x1610 drivers/tty/tty_io.c:2716 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __x64_sys_ioctl+0x190/0x200 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5a9378d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5a94654038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5a939a6160 RCX: 00007f5a9378d169 RDX: 0000200000000180 RSI: 0000000000005412 RDI: 0000000000000005 RBP: 00007f5a9380e990 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f5a939a6160 R15: 00007fffd6928718 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:bcsp_recv+0x10a/0x17f0 drivers/bluetooth/hci_bcsp.c:590 Code: 18 48 c1 e8 03 48 01 e8 48 89 04 24 48 8d 83 78 01 00 00 48 89 44 24 28 48 c1 e8 03 48 89 44 24 08 e8 8a 36 5c f9 48 8b 04 24 <80> 38 00 0f 85 d1 12 00 00 4c 8b ab 08 01 00 00 31 ff 4c 89 ee e8 RSP: 0018:ffffc90003d8fbf0 EFLAGS: 00010293 RAX: dffffc0000000021 RBX: 0000000000000000 RCX: ffffffff885f069a RDX: ffff888023cf0000 RSI: ffffffff885f06e6 RDI: 0000000000000005 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffc90003d8fd88 R13: ffffc90003d8fd88 R14: 0000000000000001 R15: ffff888023f5ac00 FS: 00007f5a946546c0(0000) GS:ffff8880d6bb3000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5a94653f98 CR3: 0000000036072000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 18 48 c1 sbb %cl,-0x3f(%rax) 3: e8 03 48 01 e8 call 0xe801480b 8: 48 89 04 24 mov %rax,(%rsp) c: 48 8d 83 78 01 00 00 lea 0x178(%rbx),%rax 13: 48 89 44 24 28 mov %rax,0x28(%rsp) 18: 48 c1 e8 03 shr $0x3,%rax 1c: 48 89 44 24 08 mov %rax,0x8(%rsp) 21: e8 8a 36 5c f9 call 0xf95c36b0 26: 48 8b 04 24 mov (%rsp),%rax * 2a: 80 38 00 cmpb $0x0,(%rax) <-- trapping instruction 2d: 0f 85 d1 12 00 00 jne 0x1304 33: 4c 8b ab 08 01 00 00 mov 0x108(%rbx),%r13 3a: 31 ff xor %edi,%edi 3c: 4c 89 ee mov %r13,%rsi 3f: e8 .byte 0xe8