ci starts bisection 2022-12-25 20:00:48.365243317 +0000 UTC m=+253656.688425489 bisecting fixing commit since 7ebfc85e2cd7b08f518b526173e9a33b56b3913b building syzkaller on 402cd70d5792ac0fd0d4eb2ec81963ce378bf5a5 ensuring issue is reproducible on original commit 7ebfc85e2cd7b08f518b526173e9a33b56b3913b testing commit 7ebfc85e2cd7b08f518b526173e9a33b56b3913b gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d7a974535287bbcf5bb592000c8f19ab74a9abe132de61dcc1a34e80de87c86f run #0: crashed: KASAN: use-after-free Read in hci_cmd_timeout run #1: crashed: KASAN: use-after-free Read in hci_cmd_timeout run #2: crashed: KASAN: use-after-free Read in hci_cmd_timeout run #3: crashed: KASAN: use-after-free Read in hci_cmd_timeout run #4: crashed: general protection fault in hci_uart_tty_ioctl run #5: crashed: general protection fault in hci_uart_tty_ioctl run #6: crashed: KASAN: use-after-free Read in hci_cmd_timeout run #7: crashed: general protection fault in hci_uart_tty_ioctl run #8: crashed: KASAN: use-after-free Read in hci_cmd_timeout run #9: crashed: KASAN: use-after-free Read in hci_cmd_timeout run #10: crashed: KASAN: use-after-free Read in hci_cmd_timeout run #11: crashed: KASAN: use-after-free Read in hci_cmd_timeout run #12: crashed: KASAN: use-after-free Read in hci_cmd_timeout run #13: crashed: KASAN: use-after-free Read in hci_cmd_timeout run #14: crashed: KASAN: use-after-free Read in hci_cmd_timeout run #15: OK run #16: crashed: KASAN: use-after-free Read in hci_cmd_timeout run #17: OK run #18: OK run #19: OK testing current HEAD 72a85e2b0a1e1e6fb4ee51ae902730212b2de25c testing commit 72a85e2b0a1e1e6fb4ee51ae902730212b2de25c gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: caf10870b3982101514e48e625b8d1ed4cafeb4a094f277ea64c8374d6b314eb run #0: crashed: general protection fault in hci_uart_tty_ioctl run #1: crashed: general protection fault in hci_uart_tty_ioctl run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK reproducer seems to be flaky Reproducer flagged being flaky revisions tested: 2, total time: 40m12.109246039s (build: 16m19.646214067s, test: 22m48.64721449s) the crash still happens on HEAD commit msg: Merge tag 'spi-fix-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi 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: 5799 Comm: syz-executor.0 Not tainted 6.1.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:hci_uart_tty_ioctl+0x1d6/0xaa0 drivers/bluetooth/hci_ldisc.c:774 Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 b0 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 4d 07 00 00 44 8b 23 e9 31 ff RSP: 0018:ffffc900057ffd28 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff861da8a5 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888029c6d4b8 RBP: ffff888029c6d418 R08: 0000000000000000 R09: ffff888029c6d41f R10: ffffed100538da83 R11: 0000000000080001 R12: ffff888029cbc000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffffffffffffea FS: 00007f123234a700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff86a1cf58 CR3: 000000001e4db000 CR4: 0000000000350ee0 Call Trace: tty_ioctl+0x4b9/0x11d0 drivers/tty/tty_io.c:2784 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:856 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+0x63/0xcd RIP: 0033:0x7f1231289279 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:00007f123234a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f123139c050 RCX: 00007f1231289279 RDX: 0000000000000000 RSI: 00000000800455c9 RDI: 0000000000000003 RBP: 00007f12312e3189 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff86a1d85f R14: 00007f123234a300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hci_uart_tty_ioctl+0x1d6/0xaa0 drivers/bluetooth/hci_ldisc.c:774 Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 b0 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 4d 07 00 00 44 8b 23 e9 31 ff RSP: 0018:ffffc900057ffd28 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff861da8a5 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888029c6d4b8 RBP: ffff888029c6d418 R08: 0000000000000000 R09: ffff888029c6d41f R10: ffffed100538da83 R11: 0000000000080001 R12: ffff888029cbc000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffffffffffffea FS: 00007f123234a700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff86a1cf58 CR3: 000000001e4db000 CR4: 0000000000350ee0 ---------------- 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 b0 07 00 00 jne 0x7c2 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 4d 07 00 00 jle 0x787 3a: 44 8b 23 mov (%rbx),%r12d 3d: e9 .byte 0xe9 3e: 31 ff xor %edi,%edi