general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] CPU: 0 PID: 360 Comm: syz-executor.0 Not tainted 6.1.99-syzkaller-1151502-gd41d398db683 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:vfs_rename+0x1b2/0x10e0 fs/namei.c:4764 Code: c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 56 2d f3 ff 48 8b 03 48 89 44 24 50 48 8b 44 24 38 4c 8d 70 30 4d 89 f5 49 c1 ed 03 <43> 80 7c 3d 00 00 74 08 4c 89 f7 e8 2e 2d f3 ff 49 8b 06 48 89 44 RSP: 0018:ffffc900013c7aa0 EFLAGS: 00010202 RAX: 0000000000000010 RBX: ffff88811fde3ad0 RCX: ffff88810efb6540 RDX: ffff88810efb6540 RSI: 0000000000400000 RDI: 0000000000200000 RBP: ffffc900013c7c10 R08: ffffffff81c99a1b R09: fffff52000278f5d R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88811fe47740 R13: 0000000000000008 R14: 0000000000000040 R15: dffffc0000000000 FS: 00007fcf4ad1f6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020007000 CR3: 00000001238a7000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_renameat2+0xb28/0x1480 fs/namei.c:5028 __do_sys_rename fs/namei.c:5074 [inline] __se_sys_rename fs/namei.c:5072 [inline] __x64_sys_rename+0x86/0x90 fs/namei.c:5072 x64_sys_call+0x266/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:83 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fcf4a07cae9 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:00007fcf4ad1f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fcf4a19bf80 RCX: 00007fcf4a07cae9 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000020000100 RBP: 00007fcf4a0c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fcf4a19bf80 R15: 00007ffde57013d8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:vfs_rename+0x1b2/0x10e0 fs/namei.c:4764 Code: c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 56 2d f3 ff 48 8b 03 48 89 44 24 50 48 8b 44 24 38 4c 8d 70 30 4d 89 f5 49 c1 ed 03 <43> 80 7c 3d 00 00 74 08 4c 89 f7 e8 2e 2d f3 ff 49 8b 06 48 89 44 RSP: 0018:ffffc900013c7aa0 EFLAGS: 00010202 RAX: 0000000000000010 RBX: ffff88811fde3ad0 RCX: ffff88810efb6540 RDX: ffff88810efb6540 RSI: 0000000000400000 RDI: 0000000000200000 RBP: ffffc900013c7c10 R08: ffffffff81c99a1b R09: fffff52000278f5d R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88811fe47740 R13: 0000000000000008 R14: 0000000000000040 R15: dffffc0000000000 FS: 00007fcf4ad1f6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559527598078 CR3: 00000001238a7000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c1 e8 03 shr $0x3,%eax 3: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 8: 74 08 je 0x12 a: 48 89 df mov %rbx,%rdi d: e8 56 2d f3 ff call 0xfff32d68 12: 48 8b 03 mov (%rbx),%rax 15: 48 89 44 24 50 mov %rax,0x50(%rsp) 1a: 48 8b 44 24 38 mov 0x38(%rsp),%rax 1f: 4c 8d 70 30 lea 0x30(%rax),%r14 23: 4d 89 f5 mov %r14,%r13 26: 49 c1 ed 03 shr $0x3,%r13 * 2a: 43 80 7c 3d 00 00 cmpb $0x0,0x0(%r13,%r15,1) <-- trapping instruction 30: 74 08 je 0x3a 32: 4c 89 f7 mov %r14,%rdi 35: e8 2e 2d f3 ff call 0xfff32d68 3a: 49 8b 06 mov (%r14),%rax 3d: 48 rex.W 3e: 89 .byte 0x89 3f: 44 rex.R