general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 1 PID: 355 Comm: syz-executor.0 Not tainted 5.15.148-syzkaller-1069047-g993bed180178 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:vfs_link+0x40/0x7f0 fs/namei.c:4519 Code: 89 cd 49 89 d6 48 89 75 c0 48 89 fb 49 bc 00 00 00 00 00 fc ff df e8 cf 51 b2 ff 48 89 5d a0 48 83 c3 30 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 81 4e f4 ff 48 8b 03 48 89 45 d0 RSP: 0018:ffffc90000b47ba8 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 0000000000000030 RCX: ffff88810cb72780 RDX: 0000000000000000 RSI: ffffffff862f33c0 RDI: 0000000000000000 RBP: ffffc90000b47c10 R08: 0000000000000000 R09: ffffed102203f1b7 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881250a3880 R14: ffff8881101f8d08 R15: ffff8881101f8d08 FS: 00007fce31e266c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 0000000122a14000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: incfs_link fs/incfs/vfs.c:610 [inline] dir_link+0x347/0x4c0 fs/incfs/vfs.c:1285 vfs_link+0x645/0x7f0 fs/namei.c:4563 do_linkat+0x34d/0x9f0 fs/namei.c:4634 __do_sys_linkat fs/namei.c:4662 [inline] __se_sys_linkat fs/namei.c:4659 [inline] __x64_sys_linkat+0xe9/0x100 fs/namei.c:4659 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fce322c5da9 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:00007fce31e260c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000109 RAX: ffffffffffffffda RBX: 00007fce323f4050 RCX: 00007fce322c5da9 RDX: 0000000000000004 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007fce3231247a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fce323f4050 R15: 00007ffe99a3b628 Modules linked in: ---[ end trace 4ad1db6b2cb5b3ae ]--- RIP: 0010:vfs_link+0x40/0x7f0 fs/namei.c:4519 Code: 89 cd 49 89 d6 48 89 75 c0 48 89 fb 49 bc 00 00 00 00 00 fc ff df e8 cf 51 b2 ff 48 89 5d a0 48 83 c3 30 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 81 4e f4 ff 48 8b 03 48 89 45 d0 RSP: 0018:ffffc90000b47ba8 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 0000000000000030 RCX: ffff88810cb72780 RDX: 0000000000000000 RSI: ffffffff862f33c0 RDI: 0000000000000000 RBP: ffffc90000b47c10 R08: 0000000000000000 R09: ffffed102203f1b7 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881250a3880 R14: ffff8881101f8d08 R15: ffff8881101f8d08 FS: 00007fce31e266c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000021000000 CR3: 0000000122a14000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 cd mov %ecx,%ebp 2: 49 89 d6 mov %rdx,%r14 5: 48 89 75 c0 mov %rsi,-0x40(%rbp) 9: 48 89 fb mov %rdi,%rbx c: 49 bc 00 00 00 00 00 movabs $0xdffffc0000000000,%r12 13: fc ff df 16: e8 cf 51 b2 ff call 0xffb251ea 1b: 48 89 5d a0 mov %rbx,-0x60(%rbp) 1f: 48 83 c3 30 add $0x30,%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 81 4e f4 ff call 0xfff44eba 39: 48 8b 03 mov (%rbx),%rax 3c: 48 89 45 d0 mov %rax,-0x30(%rbp)