ci starts bisection 2023-06-02 20:10:39.807743336 +0000 UTC m=+108593.305697889 bisecting fixing commit since 55be6084c8e0e0ada9278c2ab60b7a584378efda building syzkaller on 67cb024cd1a3c95e311263a5c95e957f9abfd8ca ensuring issue is reproducible on original commit 55be6084c8e0e0ada9278c2ab60b7a584378efda testing commit 55be6084c8e0e0ada9278c2ab60b7a584378efda gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a03498dc755f28de45eba876e9f1a4fffbd722a2de95ed89bf3add39b9fbafcb run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM 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: crashed: general protection fault in hci_uart_tty_ioctl run #5: crashed: KASAN: use-after-free Read in hci_cmd_timeout run #6: crashed: general protection fault in hci_uart_tty_ioctl run #7: crashed: general protection fault in hci_uart_tty_ioctl run #8: crashed: general protection fault in hci_uart_tty_ioctl run #9: crashed: general protection fault in hci_uart_tty_ioctl run #10: crashed: general protection fault in hci_uart_tty_ioctl run #11: crashed: general protection fault in hci_uart_tty_ioctl run #12: crashed: general protection fault in hci_uart_tty_ioctl run #13: crashed: general protection fault in hci_uart_tty_ioctl run #14: crashed: general protection fault in hci_uart_tty_ioctl run #15: crashed: general protection fault in hci_uart_tty_ioctl run #16: crashed: general protection fault in hci_uart_tty_ioctl run #17: crashed: general protection fault in hci_uart_tty_ioctl run #18: crashed: general protection fault in hci_uart_tty_ioctl run #19: crashed: general protection fault in hci_uart_tty_ioctl testing current HEAD 5321d1b1afb9a17302c6cec79f0cbf823eb0d3fc testing commit 5321d1b1afb9a17302c6cec79f0cbf823eb0d3fc gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 38c2f0b0c66833418c2da2b93ae589a3e38d327b59f40e522d6326d419da4d22 all runs: crashed: general protection fault in hci_uart_tty_ioctl crash still not fixed/happens on the oldest tested release revisions tested: 2, total time: 26m40.175709143s (build: 15m51.537648325s, test: 9m48.974916833s) crash still not fixed on HEAD or HEAD had kernel test errors commit msg: Merge tag 'riscv-for-linus-6.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux 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: 1 PID: 5798 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+0x6f8/0x940 Code: 33 02 00 00 49 81 c7 b8 00 00 00 4c 89 f8 48 c1 e8 03 80 3c 28 00 74 08 4c 89 ff e8 e2 f8 16 fb 49 8b 1f 48 89 d8 48 c1 e8 03 <0f> b6 04 28 84 c0 0f 85 53 01 00 00 44 8b 2b e9 f9 01 00 00 4c 89 RSP: 0018:ffffc900055a7e50 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff86abda86 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88801b152c18 RBP: dffffc0000000000 R08: dffffc0000000000 R09: ffffed100362a584 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 00000000ffffffcf R14: ffff88802aba4000 R15: ffff88801b152cb8 FS: 00007f844113b700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556a18848 CR3: 000000007198f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tty_ioctl+0x93d/0xa70 __se_sys_ioctl+0xa7/0xf0 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f844008b5a9 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:00007f844113b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f84401ac050 RCX: 00007f844008b5a9 RDX: 0000000000000000 RSI: 00000000800455c9 RDI: 0000000000000003 RBP: 00007f84400e6580 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd6aa17cdf R14: 00007f844113b300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hci_uart_tty_ioctl+0x6f8/0x940 Code: 33 02 00 00 49 81 c7 b8 00 00 00 4c 89 f8 48 c1 e8 03 80 3c 28 00 74 08 4c 89 ff e8 e2 f8 16 fb 49 8b 1f 48 89 d8 48 c1 e8 03 <0f> b6 04 28 84 c0 0f 85 53 01 00 00 44 8b 2b e9 f9 01 00 00 4c 89 RSP: 0018:ffffc900055a7e50 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff86abda86 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88801b152c18 RBP: dffffc0000000000 R08: dffffc0000000000 R09: ffffed100362a584 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 00000000ffffffcf R14: ffff88802aba4000 R15: ffff88801b152cb8 FS: 00007f844113b700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000007198f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 33 02 xor (%rdx),%eax 2: 00 00 add %al,(%rax) 4: 49 81 c7 b8 00 00 00 add $0xb8,%r15 b: 4c 89 f8 mov %r15,%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: 4c 89 ff mov %r15,%rdi 1b: e8 e2 f8 16 fb callq 0xfb16f902 20: 49 8b 1f mov (%r15),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 0f b6 04 28 movzbl (%rax,%rbp,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 53 01 00 00 jne 0x189 36: 44 8b 2b mov (%rbx),%r13d 39: e9 f9 01 00 00 jmpq 0x237 3e: 4c rex.WR 3f: 89 .byte 0x89