ci starts bisection 2023-01-30 02:16:37.429605829 +0000 UTC m=+630311.375667906 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: 8275a5e4dbb8a662e007296f93d4c402b5dff4a316cb1a7910918b8ef275a984 all runs: crashed: general protection fault in __device_attach testing current HEAD 22b8077d0fcec86c6ed0e0fce9f7e7e5a4c2d56a testing commit 22b8077d0fcec86c6ed0e0fce9f7e7e5a4c2d56a gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d08cc4479817a79aa61dffb1a3dc1ebdfb28dc7944c6069fbaace61c5e73a368 all runs: crashed: general protection fault in __device_attach revisions tested: 2, total time: 36m51.489574403s (build: 21m16.014799727s, test: 14m19.68628389s) the crash still happens on HEAD commit msg: Merge tag 'fscache-fixes-20230130' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs crash: general protection fault in __device_attach RBP: 00007ffd8c128800 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: 1 PID: 9898 Comm: syz-executor147 Not tainted 6.2.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:__device_attach+0xa4/0x440 drivers/base/dd.c:984 Code: e8 03 42 80 3c 20 00 0f 85 3e 03 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 fa 02 00 00 41 f6 84 24 08 01 00 00 RSP: 0018:ffffc9000334fba0 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 1ffff92000669f74 RCX: 0000000000000000 RDX: 0000000000000021 RSI: ffffffff890bdde0 RDI: 0000000000000108 RBP: ffff888020c86030 R08: 0000000000000000 R09: ffffffff8cf18797 R10: fffffbfff19e30f2 R11: 0000000000080001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888020c860b0 R15: 00000000fffffff0 FS: 0000555555943300(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd8c1287c8 CR3: 00000000286c9000 CR4: 00000000003506e0 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:2356 proc_ioctl drivers/usb/core/devio.c:182 [inline] proc_ioctl_default drivers/usb/core/devio.c:2391 [inline] usbdev_do_ioctl drivers/usb/core/devio.c:2747 [inline] usbdev_ioctl+0x2238/0x2ec0 drivers/usb/core/devio.c:2807 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:0x7f022d7e4779 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:00007ffd8c1287e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f022d828184 RCX: 00007f022d7e4779 RDX: 0000000020000040 RSI: 00000000c0105512 RDI: 0000000000000006 RBP: 00007ffd8c128800 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/0x440 drivers/base/dd.c:984 Code: e8 03 42 80 3c 20 00 0f 85 3e 03 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 fa 02 00 00 41 f6 84 24 08 01 00 00 RSP: 0018:ffffc9000334fba0 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 1ffff92000669f74 RCX: 0000000000000000 RDX: 0000000000000021 RSI: ffffffff890bdde0 RDI: 0000000000000108 RBP: ffff888020c86030 R08: 0000000000000000 R09: ffffffff8cf18797 R10: fffffbfff19e30f2 R11: 0000000000080001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888020c860b0 R15: 00000000fffffff0 FS: 0000555555943300(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f022d8140b0 CR3: 00000000286c9000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e8 03 42 80 3c callq 0x3c804208 5: 20 00 and %al,(%rax) 7: 0f 85 3e 03 00 00 jne 0x34b d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 14: fc ff df 17: 4c 8b 65 48 mov 0x48(%rbp),%r12 1b: 49 8d bc 24 08 01 00 lea 0x108(%r12),%rdi 22: 00 23: 48 89 fa mov %rdi,%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 06 je 0x38 32: 0f 8e fa 02 00 00 jle 0x332 38: 41 rex.B 39: f6 .byte 0xf6 3a: 84 24 08 test %ah,(%rax,%rcx,1) 3d: 01 00 add %eax,(%rax)