ci starts bisection 2023-06-02 18:59:53.022645034 +0000 UTC m=+104346.520599586 bisecting fixing commit since d1dc87763f406d4e67caf16dbe438a5647692395 building syzkaller on 5783034f220fa03dd9407034a4804be5890c3377 ensuring issue is reproducible on original commit d1dc87763f406d4e67caf16dbe438a5647692395 testing commit d1dc87763f406d4e67caf16dbe438a5647692395 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3e34d7f47a5bd8b0cae45a2841ca15dde5637acf53bbaf17b17cafbcbc47eea9 run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #1: crashed: general protection fault in __device_attach run #2: crashed: general protection fault in __device_attach run #3: crashed: general protection fault in __device_attach run #4: crashed: general protection fault in __device_attach run #5: crashed: general protection fault in __device_attach run #6: crashed: general protection fault in __device_attach run #7: crashed: general protection fault in __device_attach run #8: crashed: general protection fault in __device_attach run #9: crashed: general protection fault in __device_attach run #10: crashed: general protection fault in __device_attach run #11: crashed: general protection fault in __device_attach run #12: crashed: general protection fault in __device_attach run #13: crashed: general protection fault in __device_attach run #14: crashed: general protection fault in __device_attach run #15: crashed: general protection fault in __device_attach run #16: crashed: general protection fault in __device_attach run #17: crashed: general protection fault in __device_attach run #18: crashed: general protection fault in __device_attach run #19: OK testing current HEAD 5321d1b1afb9a17302c6cec79f0cbf823eb0d3fc testing commit 5321d1b1afb9a17302c6cec79f0cbf823eb0d3fc gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b0eb6464e0fb84e2206916b791b89085741b903083b1d700bfabbc325e1f03a7 run #0: crashed: general protection fault in __device_attach run #1: crashed: general protection fault in __device_attach run #2: crashed: general protection fault in __device_attach run #3: crashed: general protection fault in __device_attach run #4: crashed: general protection fault in __device_attach run #5: crashed: general protection fault in __device_attach run #6: OK run #7: OK run #8: OK run #9: OK crash still not fixed/happens on the oldest tested release revisions tested: 2, total time: 38m4.644869678s (build: 13m52.443604582s, test: 22m52.859767158s) 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 __device_attach Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 14 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff04b57868 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f424ba55184 RCX: 00007f424ba11779 RDX: 0000000020000000 RSI: 0000000080045505 RDI: 0000000000000004 RBP: 00007fff04b57880 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 usb usb9: device_add((null)) --> -22 general protection fault, probably for non-canonical address 0xdffffc0000000021: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000108-0x000000000000010f] CPU: 0 PID: 9379 Comm: syz-executor265 Not tainted 6.4.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:__device_attach+0xa4/0x3d0 drivers/base/dd.c:1006 Code: e8 03 42 80 3c 20 00 0f 85 e1 02 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 65 48 49 8d bc 24 08 01 00 00 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 06 0f 8e 9d 02 00 00 41 f6 84 24 08 01 00 00 RSP: 0018:ffffc9000386fb98 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 1ffff9200070df73 RCX: 0000000000000000 RDX: 0000000000000021 RSI: ffffffff896629e0 RDI: 0000000000000108 RBP: ffff88801c160078 R08: 0000000000000000 R09: ffffffff8cf5bd17 R10: fffffbfff19eb7a2 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88801c1600f8 R15: 00000000fffffff0 FS: 0000555555b9c300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f424ba410b0 CR3: 000000007e456000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: proc_ioctl.part.0+0x36e/0x430 drivers/usb/core/devio.c:2355 proc_ioctl drivers/usb/core/devio.c:182 [inline] proc_ioctl_default drivers/usb/core/devio.c:2390 [inline] usbdev_do_ioctl drivers/usb/core/devio.c:2746 [inline] usbdev_ioctl+0x2434/0x3320 drivers/usb/core/devio.c:2806 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:0x7f424ba11779 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 14 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff04b57868 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f424ba55184 RCX: 00007f424ba11779 RDX: 0000000020000040 RSI: 00000000c0105512 RDI: 0000000000000006 RBP: 00007fff04b57880 R08: 0000000000000001 R09: 0000000000000001 R10: 000000000000ffff R11: 0000000000000246 R12: 0000000000000001 R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__device_attach+0xa4/0x3d0 drivers/base/dd.c:1006 Code: e8 03 42 80 3c 20 00 0f 85 e1 02 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 65 48 49 8d bc 24 08 01 00 00 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 06 0f 8e 9d 02 00 00 41 f6 84 24 08 01 00 00 RSP: 0018:ffffc9000386fb98 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 1ffff9200070df73 RCX: 0000000000000000 RDX: 0000000000000021 RSI: ffffffff896629e0 RDI: 0000000000000108 RBP: ffff88801c160078 R08: 0000000000000000 R09: ffffffff8cf5bd17 R10: fffffbfff19eb7a2 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88801c1600f8 R15: 00000000fffffff0 FS: 0000555555b9c300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f424ba410b0 CR3: 000000007e456000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 28 00 sub %al,(%rax) 2: 00 00 add %al,(%rax) 4: 75 05 jne 0xb 6: 48 83 c4 28 add $0x28,%rsp a: c3 retq b: e8 b1 14 00 00 callq 0x14c1 10: 90 nop 11: 48 89 f8 mov %rdi,%rax 14: 48 89 f7 mov %rsi,%rdi 17: 48 89 d6 mov %rdx,%rsi 1a: 48 89 ca mov %rcx,%rdx 1d: 4d 89 c2 mov %r8,%r10 20: 4d 89 c8 mov %r9,%r8 23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 28: 0f 05 syscall * 2a: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 retq 33: 48 c7 c1 c0 ff ff ff mov $0xffffffffffffffc0,%rcx 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W