kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 417 Comm: syz-executor.0 Not tainted 5.4.278-syzkaller-04928-gf076c16c9840 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:vfs_link+0x3b/0x8a0 fs/namei.c:4346 Code: 24 30 49 89 d6 49 89 f5 48 89 fb 48 bd 00 00 00 00 00 fc ff df e8 e5 03 c6 ff 48 89 5c 24 28 48 83 c3 30 48 89 d8 48 c1 e8 03 <80> 3c 28 00 74 08 48 89 df e8 07 ea f5 ff 48 8b 2b 4d 8d 7d 28 4d RSP: 0018:ffff8881ef397bb0 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 0000000000000030 RCX: ffff8881f32f0000 RDX: 0000000000000000 RSI: ffff8881e93a3490 RDI: 0000000000000000 RBP: dffffc0000000000 R08: dffffc0000000000 R09: ffffed103d2746a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881dad02770 R13: ffff8881e93a3490 R14: ffff8881dad02770 R15: ffff8881e93a3490 FS: 00007ff7f3cdc6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000208a6000 CR3: 00000001d977f000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: incfs_link fs/incfs/vfs.c:603 [inline] dir_link+0x37f/0x510 fs/incfs/vfs.c:1278 vfs_link+0x69b/0x8a0 fs/namei.c:4390 do_linkat+0x46c/0x8b0 fs/namei.c:4458 __do_sys_linkat fs/namei.c:4482 [inline] __se_sys_linkat fs/namei.c:4479 [inline] __x64_sys_linkat+0xb1/0xc0 fs/namei.c:4479 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff7f417bda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff7f3cdc0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000109 RAX: ffffffffffffffda RBX: 00007ff7f42aa050 RCX: 00007ff7f417bda9 RDX: 0000000000000004 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007ff7f41c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007ff7f42aa050 R15: 00007ffeedcc7a88 Modules linked in: ---[ end trace 9b7da305385341b0 ]--- RIP: 0010:vfs_link+0x3b/0x8a0 fs/namei.c:4346 Code: 24 30 49 89 d6 49 89 f5 48 89 fb 48 bd 00 00 00 00 00 fc ff df e8 e5 03 c6 ff 48 89 5c 24 28 48 83 c3 30 48 89 d8 48 c1 e8 03 <80> 3c 28 00 74 08 48 89 df e8 07 ea f5 ff 48 8b 2b 4d 8d 7d 28 4d RSP: 0018:ffff8881ef397bb0 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 0000000000000030 RCX: ffff8881f32f0000 RDX: 0000000000000000 RSI: ffff8881e93a3490 RDI: 0000000000000000 RBP: dffffc0000000000 R08: dffffc0000000000 R09: ffffed103d2746a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881dad02770 R13: ffff8881e93a3490 R14: ffff8881dad02770 R15: ffff8881e93a3490 FS: 00007ff7f3cdc6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000208a6000 CR3: 00000001d977f000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 24 30 and $0x30,%al 2: 49 89 d6 mov %rdx,%r14 5: 49 89 f5 mov %rsi,%r13 8: 48 89 fb mov %rdi,%rbx b: 48 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%rbp 12: fc ff df 15: e8 e5 03 c6 ff call 0xffc603ff 1a: 48 89 5c 24 28 mov %rbx,0x28(%rsp) 1f: 48 83 c3 30 add $0x30,%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 48 89 df mov %rbx,%rdi 33: e8 07 ea f5 ff call 0xfff5ea3f 38: 48 8b 2b mov (%rbx),%rbp 3b: 4d 8d 7d 28 lea 0x28(%r13),%r15 3f: 4d rex.WRB