kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 23570 Comm: syz-executor.5 Not tainted 5.4.190-syzkaller-00008-g330fa791a029 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 RIP: 0010:hci_uart_tty_ioctl+0x34c/0xa10 drivers/bluetooth/hci_ldisc.c:769 Code: fe 4c 89 f3 48 81 c3 88 00 00 00 48 89 d8 48 c1 e8 03 80 3c 28 00 74 08 48 89 df e8 7e 85 84 fe 48 8b 1b 48 89 d8 48 c1 e8 03 <8a> 04 28 84 c0 0f 85 31 06 00 00 8b 2b e9 e4 04 00 00 44 89 e0 48 RSP: 0018:ffff8881daaefd70 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8881e6820fc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff830833e2 R09: ffffed103d4eee84 R10: ffffed103d4eee84 R11: 1ffff1103d4eee83 R12: 0000000000000000 R13: ffff8881eddac800 R14: ffff8881ea777400 R15: 00000000800455c9 FS: 00007f4a3def7700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4a3ee94028 CR3: 00000001ec793000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tty_ioctl+0x949/0xcb0 drivers/tty/tty_io.c:2666 do_vfs_ioctl+0x6d1/0x15b0 fs/ioctl.c:47 ksys_ioctl fs/ioctl.c:742 [inline] __do_sys_ioctl fs/ioctl.c:749 [inline] __se_sys_ioctl fs/ioctl.c:747 [inline] __x64_sys_ioctl+0xd4/0x110 fs/ioctl.c:747 do_syscall_64+0xcb/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f4a3ed81109 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4a3def7168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4a3ee93f60 RCX: 00007f4a3ed81109 RDX: 0000000000000000 RSI: 00000000800455c9 RDI: 0000000000000003 RBP: 00007f4a3eddb0ed R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffefe4018cf R14: 00007f4a3def7300 R15: 0000000000022000 Modules linked in: ---[ end trace 17756f829062bd0d ]--- RIP: 0010:hci_uart_tty_ioctl+0x34c/0xa10 drivers/bluetooth/hci_ldisc.c:769 Code: fe 4c 89 f3 48 81 c3 88 00 00 00 48 89 d8 48 c1 e8 03 80 3c 28 00 74 08 48 89 df e8 7e 85 84 fe 48 8b 1b 48 89 d8 48 c1 e8 03 <8a> 04 28 84 c0 0f 85 31 06 00 00 8b 2b e9 e4 04 00 00 44 89 e0 48 RSP: 0018:ffff8881daaefd70 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8881e6820fc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff830833e2 R09: ffffed103d4eee84 R10: ffffed103d4eee84 R11: 1ffff1103d4eee83 R12: 0000000000000000 R13: ffff8881eddac800 R14: ffff8881ea777400 R15: 00000000800455c9 FS: 00007f4a3def7700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb8f000f998 CR3: 00000001ec793000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: fe 4c 89 f3 decb -0xd(%rcx,%rcx,4) 4: 48 81 c3 88 00 00 00 add $0x88,%rbx b: 48 89 d8 mov %rbx,%rax e: 48 c1 e8 03 shr $0x3,%rax 12: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) 16: 74 08 je 0x20 18: 48 89 df mov %rbx,%rdi 1b: e8 7e 85 84 fe callq 0xfe84859e 20: 48 8b 1b mov (%rbx),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 8a 04 28 mov (%rax,%rbp,1),%al <-- trapping instruction 2d: 84 c0 test %al,%al 2f: 0f 85 31 06 00 00 jne 0x666 35: 8b 2b mov (%rbx),%ebp 37: e9 e4 04 00 00 jmpq 0x520 3c: 44 89 e0 mov %r12d,%eax 3f: 48 rex.W