ci2 starts bisection 2023-06-29 03:44:07.949411439 +0000 UTC m=+37786.861214693 bisecting fixing commit since 1fe619a7d25218e9b9fdcce9fcac6a05cd62abed building syzkaller on cf1845599c0bdab59c69518eaa0ecb960ec7ddf0 ensuring issue is reproducible on original commit 1fe619a7d25218e9b9fdcce9fcac6a05cd62abed testing commit 1fe619a7d25218e9b9fdcce9fcac6a05cd62abed gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e461f37bca428c5d14e9cedbf7c0e2050e8eddc06759c1ecc11ab8a864063323 run #0: crashed: general protection fault in hci_uart_tty_ioctl run #1: crashed: general protection fault in hci_uart_tty_ioctl run #2: crashed: general protection fault in hci_uart_tty_ioctl run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK reproducer seems to be flaky testing current HEAD 4af60700a60cc45ee4fb6d579cccf1b7bca20c34 testing commit 4af60700a60cc45ee4fb6d579cccf1b7bca20c34 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4285fcd426deefa36af32ca12c729cd6b626c2232e09b9b46e217bcedbb3b5c0 run #0: crashed: general protection fault in hci_uart_tty_ioctl run #1: crashed: general protection fault in hci_uart_tty_ioctl run #2: crashed: general protection fault in hci_uart_tty_ioctl run #3: crashed: general protection fault in hci_uart_tty_ioctl run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK crash still not fixed/happens on the oldest tested release Reproducer flagged being flaky revisions tested: 2, total time: 1h7m49.238174988s (build: 42m46.489105169s, test: 23m56.113387714s) crash still not fixed on HEAD or HEAD had kernel test errors commit msg: Linux 5.15.119 crash: general protection fault in hci_uart_tty_ioctl general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 4665 Comm: syz-executor852 Not tainted 5.15.119-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:hci_uart_tty_ioctl+0x1e2/0xad0 drivers/bluetooth/hci_ldisc.c:772 Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 84 07 00 00 48 8b 9b b8 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e b3 07 00 00 44 8b 23 e9 2d ff RSP: 0018:ffffc900029efd28 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff86256821 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888077cd78b8 RBP: ffff888077cd7818 R08: 0000000000000000 R09: ffff888077cd781f R10: ffffed100ef9af03 R11: 0000000000000001 R12: 00000000800455c9 R13: ffff88801f3c9400 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fe1b5cf3700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8bfe400447 CR3: 0000000079fd0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tty_ioctl+0x4f2/0x12d0 drivers/tty/tty_io.c:2816 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fe1b5d62aa9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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:00007fe1b5cf3208 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fe1b5dea3f8 RCX: 00007fe1b5d62aa9 RDX: 0000000000000000 RSI: 00000000800455c9 RDI: 0000000000000003 RBP: 00007fe1b5dea3f0 R08: 00007fe1b5cf3700 R09: 0000000000000000 R10: 00007fe1b5cf3700 R11: 0000000000000246 R12: 00007fe1b5dea3fc R13: 00007ffdc944366f R14: 00007fe1b5cf3300 R15: 0000000000022000 Modules linked in: ---[ end trace b8c7e2983596fa1d ]--- RIP: 0010:hci_uart_tty_ioctl+0x1e2/0xad0 drivers/bluetooth/hci_ldisc.c:772 Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 84 07 00 00 48 8b 9b b8 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e b3 07 00 00 44 8b 23 e9 2d ff RSP: 0018:ffffc900029efd28 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff86256821 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888077cd78b8 RBP: ffff888077cd7818 R08: 0000000000000000 R09: ffff888077cd781f R10: ffffed100ef9af03 R11: 0000000000000001 R12: 00000000800455c9 R13: ffff88801f3c9400 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fe1b5cf3700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8bfe400447 CR3: 0000000079fd0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: df 48 89 fisttps -0x77(%rax) 3: fa cli 4: 48 c1 ea 03 shr $0x3,%rdx 8: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) c: 0f 85 84 07 00 00 jne 0x796 12: 48 8b 9b b8 00 00 00 mov 0xb8(%rbx),%rbx 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 da mov %rbx,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 74 08 je 0x3a 32: 3c 03 cmp $0x3,%al 34: 0f 8e b3 07 00 00 jle 0x7ed 3a: 44 8b 23 mov (%rbx),%r12d 3d: e9 .byte 0xe9 3e: 2d .byte 0x2d 3f: ff .byte 0xff