general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 1 PID: 442 Comm: syz.0.15 Not tainted 6.1.134-syzkaller-1169287-g3c6d0251e1fb #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 e7 70 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:ffffc90000a77ce0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88811c2e1100 RCX: ffff88811a8d6540 RDX: 0000000000000010 RSI: 0000000000000005 RDI: ffff88811a8d6540 RBP: ffffc90000a77ec0 R08: dffffc0000000000 R09: fffff5200014ef79 R10: fffff5200014ef79 R11: 1ffff9200014ef78 R12: 0000000000000002 R13: 0000000000000000 R14: ffffc90000a77e01 R15: ffff888110ff6110 FS: 00007f9689d686c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9689d47d58 CR3: 000000012268c000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __do_sys_renameat2 fs/namei.c:5059 [inline] __se_sys_renameat2 fs/namei.c:5056 [inline] __x64_sys_renameat2+0xd8/0xf0 fs/namei.c:5056 x64_sys_call+0x6b8/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:317 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:0x7f9688f75bd9 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:00007f9689d68048 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007f9689103f60 RCX: 00007f9688f75bd9 RDX: 0000000000000004 RSI: 0000000020000500 RDI: 0000000000000004 RBP: 00007f9688fe4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000200001c0 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9689103f60 R15: 00007ffd56a56488 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 e7 70 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:ffffc90000a77ce0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88811c2e1100 RCX: ffff88811a8d6540 RDX: 0000000000000010 RSI: 0000000000000005 RDI: ffff88811a8d6540 RBP: ffffc90000a77ec0 R08: dffffc0000000000 R09: fffff5200014ef79 R10: fffff5200014ef79 R11: 1ffff9200014ef78 R12: 0000000000000002 R13: 0000000000000000 R14: ffffc90000a77e01 R15: ffff888110ff6110 FS: 00007f9689d686c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9689d46fa8 CR3: 000000012268c000 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 e7 70 af ff call 0xffaf70fa 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