general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 0 PID: 3053 Comm: syz.1.814 Not tainted 6.1.138-syzkaller-00046-gdb710ea87c32 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__d_entry_type include/linux/dcache.h:394 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:399 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:445 [inline] RIP: 0010:do_renameat2+0x49f/0xf60 fs/namei.c:4974 Code: ff 48 89 c2 48 3d 01 f0 ff ff 72 0d 49 89 d5 e8 d7 69 af ff e9 36 04 00 00 49 89 d4 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 04 84 c0 48 89 54 24 10 0f 85 e7 05 00 00 8b 1a be 00 RSP: 0018:ffffc90001217d00 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88812fc4a200 RCX: 0000000000080000 RDX: 0000000000000011 RSI: 00000000000002e3 RDI: 00000000000002e4 RBP: ffffc90001217ed8 R08: dffffc0000000000 R09: fffff52000242f7d R10: fffff52000242f7d R11: 1ffff92000242f7c R12: 0000000000000002 R13: 0000000000000000 R14: ffffc90001217e01 R15: ffff88810fdcdcc0 FS: 00007fe2909ff6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe2909fef98 CR3: 0000000127cbb000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __do_sys_rename fs/namei.c:5072 [inline] __se_sys_rename fs/namei.c:5070 [inline] __x64_sys_rename+0x86/0x90 fs/namei.c:5070 x64_sys_call+0x300/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:83 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fe290b8e969 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe2909ff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fe290db6240 RCX: 00007fe290b8e969 RDX: 0000000000000000 RSI: 00002000000000c0 RDI: 0000200000000100 RBP: 00007fe290c10ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fe290db6240 R15: 00007ffe6aa0ba48 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__d_entry_type include/linux/dcache.h:394 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:399 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:445 [inline] RIP: 0010:do_renameat2+0x49f/0xf60 fs/namei.c:4974 Code: ff 48 89 c2 48 3d 01 f0 ff ff 72 0d 49 89 d5 e8 d7 69 af ff e9 36 04 00 00 49 89 d4 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 04 84 c0 48 89 54 24 10 0f 85 e7 05 00 00 8b 1a be 00 RSP: 0018:ffffc90001217d00 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88812fc4a200 RCX: 0000000000080000 RDX: 0000000000000011 RSI: 00000000000002e3 RDI: 00000000000002e4 RBP: ffffc90001217ed8 R08: dffffc0000000000 R09: fffff52000242f7d R10: fffff52000242f7d R11: 1ffff92000242f7c R12: 0000000000000002 R13: 0000000000000000 R14: ffffc90001217e01 R15: ffff88810fdcdcc0 FS: 00007fe2909ff6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe2909fef98 CR3: 0000000127cbb000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 48 89 c2 mov %rax,%rdx 3: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax 9: 72 0d jb 0x18 b: 49 89 d5 mov %rdx,%r13 e: e8 d7 69 af ff call 0xffaf69ea 13: e9 36 04 00 00 jmp 0x44e 18: 49 89 d4 mov %rdx,%r12 1b: 49 c1 ec 03 shr $0x3,%r12 1f: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 26: fc ff df * 29: 41 0f b6 04 04 movzbl (%r12,%rax,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 48 89 54 24 10 mov %rdx,0x10(%rsp) 35: 0f 85 e7 05 00 00 jne 0x622 3b: 8b 1a mov (%rdx),%ebx 3d: be .byte 0xbe