ci starts bisection 2022-11-25 17:55:51.703210588 +0000 UTC m=+47557.819793831 bisecting fixing commit since 4da34b7d175dc99b8befebd69e96546c960d526c building syzkaller on c0b80a55c9c8cfe75e77c555ed0d4ae7aa373cc2 ensuring issue is reproducible on original commit 4da34b7d175dc99b8befebd69e96546c960d526c testing commit 4da34b7d175dc99b8befebd69e96546c960d526c gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 22d06ee99f37bcdcd038dc251522cd153ac0db38a46e1995dfb55054a9f12396 all runs: crashed: general protection fault in d_flags_for_inode testing current HEAD 08ad43d554bacb9769c6a69d5f771f02f5ba411c testing commit 08ad43d554bacb9769c6a69d5f771f02f5ba411c gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7e9039a8229e34cdadb1d58711ad06a550d10fc6d802b15631c649306ef94ac8 all runs: crashed: general protection fault in d_flags_for_inode revisions tested: 2, total time: 22m49.972072726s (build: 14m0.994261519s, test: 6m49.466001879s) the crash still happens on HEAD commit msg: Merge tag 'net-6.1-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net crash: general protection fault in d_flags_for_inode loop0: detected capacity change from 0 to 4096 ntfs3: loop0: Different NTFS' sector size (1024) and media sector size (512) ntfs3: loop0: Mark volume as dirty due to NTFS errors general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 4200 Comm: syz-executor.0 Not tainted 6.1.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:d_flags_for_inode+0x17f/0x200 fs/dcache.c:1980 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 8c 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 6b 20 49 8d 7d 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 66 49 83 7d 08 00 75 34 41 83 cc 04 66 44 89 63 02 RSP: 0018:ffffc90004def8c0 EFLAGS: 00010212 RAX: dffffc0000000000 RBX: ffff88806ec970f0 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000008 RBP: 0000000000000000 R08: ffff88806ec96df0 R09: ffffffff90369d67 R10: fffffbfff206d3ac R11: 0000000000000001 R12: 0000000000000008 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88806eeac5e0 FS: 00007f61197c1700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f61187ad0b0 CR3: 000000006c05a000 CR4: 0000000000350ef0 Call Trace: __d_add fs/dcache.c:2787 [inline] d_splice_alias+0x13c/0xbf0 fs/dcache.c:3182 lookup_open.isra.0+0x676/0x15d0 fs/namei.c:3391 open_last_lookups fs/namei.c:3481 [inline] path_openat+0x7b1/0x2410 fs/namei.c:3710 do_filp_open+0x1a5/0x3d0 fs/namei.c:3740 do_sys_openat2+0x11e/0x3f0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_open fs/open.c:1334 [inline] __se_sys_open fs/open.c:1330 [inline] __x64_sys_open+0xfd/0x1a0 fs/open.c:1330 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:0x7f611868b5f9 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:00007f61197c1168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f61187abf80 RCX: 00007f611868b5f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00007f61186e67b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd7faa3d1f R14: 00007f61197c1300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:d_flags_for_inode+0x17f/0x200 fs/dcache.c:1980 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 8c 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 6b 20 49 8d 7d 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 66 49 83 7d 08 00 75 34 41 83 cc 04 66 44 89 63 02 RSP: 0018:ffffc90004def8c0 EFLAGS: 00010212 RAX: dffffc0000000000 RBX: ffff88806ec970f0 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000008 RBP: 0000000000000000 R08: ffff88806ec96df0 R09: ffffffff90369d67 R10: fffffbfff206d3ac R11: 0000000000000001 R12: 0000000000000008 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88806eeac5e0 FS: 00007f61197c1700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f61187ad0b0 CR3: 000000006c05a000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: 48 89 fa mov %rdi,%rdx 3: 48 c1 ea 03 shr $0x3,%rdx 7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) b: 0f 85 8c 00 00 00 jne 0x9d 11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 18: fc ff df 1b: 4c 8b 6b 20 mov 0x20(%rbx),%r13 1f: 49 8d 7d 08 lea 0x8(%r13),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 75 66 jne 0x96 30: 49 83 7d 08 00 cmpq $0x0,0x8(%r13) 35: 75 34 jne 0x6b 37: 41 83 cc 04 or $0x4,%r12d 3b: 66 44 89 63 02 mov %r12w,0x2(%rbx)