kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 569 Comm: syz-executor.0 Not tainted 5.4.274-syzkaller-04909-gdd432c37afcd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:dir_rename fs/incfs/vfs.c:1374 [inline] RIP: 0010:dir_rename_wrap+0x1a5/0x4f0 fs/incfs/vfs.c:84 Code: 7a ff eb 05 e8 1c 72 7a ff bb f0 ff ff ff 48 8b 6c 24 18 e9 02 03 00 00 e8 08 72 7a ff 31 db 48 83 c3 08 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 6c 56 aa ff 48 8b 1b 48 8b 44 24 RSP: 0018:ffff8881e8aefaa0 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff8881e9160fc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff8881e8a9e818 R08: ffffffff81e9c911 R09: ffffed103d15df45 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881e8a9e828 R14: ffff8881ede54bb0 R15: 1ffff1103d153d03 FS: 00007fd8812246c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd881203d58 CR3: 00000001ec62d000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_rename+0x9fb/0xeb0 fs/namei.c:4651 do_renameat2+0x941/0x1250 fs/namei.c:4801 __do_sys_renameat2 fs/namei.c:4836 [inline] __se_sys_renameat2 fs/namei.c:4833 [inline] __x64_sys_renameat2+0xb1/0xc0 fs/namei.c:4833 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7fd8816a1ee9 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:00007fd8812240c8 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007fd8817d0f80 RCX: 00007fd8816a1ee9 RDX: 0000000000000004 RSI: 0000000020000040 RDI: 0000000000000004 RBP: 00007fd8816ee49e R08: 0000000000000002 R09: 0000000000000000 R10: 0000000020000080 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd8817d0f80 R15: 00007ffdd6120958 Modules linked in: ---[ end trace d16adffb7b9b983b ]--- RIP: 0010:dir_rename fs/incfs/vfs.c:1374 [inline] RIP: 0010:dir_rename_wrap+0x1a5/0x4f0 fs/incfs/vfs.c:84 Code: 7a ff eb 05 e8 1c 72 7a ff bb f0 ff ff ff 48 8b 6c 24 18 e9 02 03 00 00 e8 08 72 7a ff 31 db 48 83 c3 08 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 6c 56 aa ff 48 8b 1b 48 8b 44 24 RSP: 0018:ffff8881e8aefaa0 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff8881e9160fc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff8881e8a9e818 R08: ffffffff81e9c911 R09: ffffed103d15df45 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881e8a9e828 R14: ffff8881ede54bb0 R15: 1ffff1103d153d03 FS: 00007fd8812246c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd881203d58 CR3: 00000001ec62d000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 7a ff jp 0x1 2: eb 05 jmp 0x9 4: e8 1c 72 7a ff call 0xff7a7225 9: bb f0 ff ff ff mov $0xfffffff0,%ebx e: 48 8b 6c 24 18 mov 0x18(%rsp),%rbp 13: e9 02 03 00 00 jmp 0x31a 18: e8 08 72 7a ff call 0xff7a7225 1d: 31 db xor %ebx,%ebx 1f: 48 83 c3 08 add $0x8,%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 6c 56 aa ff call 0xffaa56a5 39: 48 8b 1b mov (%rbx),%rbx 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 44 rex.R 3f: 24 .byte 0x24