general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 5708 Comm: syz-executor.0 Not tainted 6.4.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:hci_uart_tty_ioctl+0x2a4/0xa30 drivers/bluetooth/hci_ldisc.c:774 Code: cd f9 49 81 c4 b8 00 00 00 4c 89 e0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 e7 e8 37 22 25 fa 49 8b 1c 24 48 89 d8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 65 06 00 00 8b 2b e9 3d 07 00 00 e8 b3 RSP: 0018:ffffc90005847e40 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88807603bb80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff88807b2345f8 R08: ffffffff87bcc2e4 R09: ffffed100dfdb804 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88806fedc0b8 R13: dffffc0000000000 R14: ffff88807b234000 R15: 0000000000000000 FS: 00007f6cf079c700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556591708 CR3: 000000002a3b8000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tty_ioctl+0x989/0xda0 drivers/tty/tty_io.c:2786 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6cefa8c169 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:00007f6cf079c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f6cefbac050 RCX: 00007f6cefa8c169 RDX: 0000000000000000 RSI: 00000000800455c9 RDI: 0000000000000003 RBP: 00007f6cefae7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd0dc401af R14: 00007f6cf079c300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hci_uart_tty_ioctl+0x2a4/0xa30 drivers/bluetooth/hci_ldisc.c:774 Code: cd f9 49 81 c4 b8 00 00 00 4c 89 e0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 e7 e8 37 22 25 fa 49 8b 1c 24 48 89 d8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 65 06 00 00 8b 2b e9 3d 07 00 00 e8 b3 RSP: 0018:ffffc90005847e40 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88807603bb80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff88807b2345f8 R08: ffffffff87bcc2e4 R09: ffffed100dfdb804 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88806fedc0b8 R13: dffffc0000000000 R14: ffff88807b234000 R15: 0000000000000000 FS: 00007f6cf079c700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6cf079c718 CR3: 000000002a3b8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: cd f9 int $0xf9 2: 49 81 c4 b8 00 00 00 add $0xb8,%r12 9: 4c 89 e0 mov %r12,%rax c: 48 c1 e8 03 shr $0x3,%rax 10: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 15: 74 08 je 0x1f 17: 4c 89 e7 mov %r12,%rdi 1a: e8 37 22 25 fa callq 0xfa252256 1f: 49 8b 1c 24 mov (%r12),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 65 06 00 00 jne 0x69c 37: 8b 2b mov (%rbx),%ebp 39: e9 3d 07 00 00 jmpq 0x77b 3e: e8 .byte 0xe8 3f: b3 .byte 0xb3