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: 459 Comm: syz.0.15 Not tainted 5.10.237-syzkaller-1007464-g7e2543346ff7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__d_entry_type include/linux/dcache.h:400 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:405 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:451 [inline] RIP: 0010:do_renameat2+0x471/0xe60 fs/namei.c:4577 Code: 89 c5 48 3d 01 f0 ff ff 72 0f e8 fa f3 ba ff 4c 8b 64 24 20 e9 6a 03 00 00 4d 89 ec 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 04 84 c0 0f 85 2f 05 00 00 41 8b 5d 00 be 00 00 70 00 RSP: 0018:ffffc90000ce7d60 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000004 RCX: ffff888115f7a780 RDX: 0000000000000000 RSI: 0000000000000005 RDI: ffff888115f7a780 RBP: ffffc90000ce7ef0 R08: dffffc0000000000 R09: ffffed10241f9960 R10: ffffed10241f9960 R11: 1ffff110241f995f R12: 0000000000000002 R13: 0000000000000010 R14: ffff888116a7b300 R15: 0000000000000001 FS: 00007f45ea22c6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f45ea20af98 CR3: 00000001167e7000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __do_sys_renameat2 fs/namei.c:4657 [inline] __se_sys_renameat2 fs/namei.c:4654 [inline] __x64_sys_renameat2+0xd8/0xf0 fs/namei.c:4654 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f45ea7aaef9 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:00007f45ea22c038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007f45ea962f80 RCX: 00007f45ea7aaef9 RDX: 0000000000000004 RSI: 0000000020000500 RDI: 0000000000000004 RBP: 00007f45ea81db76 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000200001c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f45ea962f80 R15: 00007ffc18d8b708 Modules linked in: ---[ end trace a60da7a623406ad7 ]--- RIP: 0010:__d_entry_type include/linux/dcache.h:400 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:405 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:451 [inline] RIP: 0010:do_renameat2+0x471/0xe60 fs/namei.c:4577 Code: 89 c5 48 3d 01 f0 ff ff 72 0f e8 fa f3 ba ff 4c 8b 64 24 20 e9 6a 03 00 00 4d 89 ec 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 04 84 c0 0f 85 2f 05 00 00 41 8b 5d 00 be 00 00 70 00 RSP: 0018:ffffc90000ce7d60 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000004 RCX: ffff888115f7a780 RDX: 0000000000000000 RSI: 0000000000000005 RDI: ffff888115f7a780 RBP: ffffc90000ce7ef0 R08: dffffc0000000000 R09: ffffed10241f9960 R10: ffffed10241f9960 R11: 1ffff110241f995f R12: 0000000000000002 R13: 0000000000000010 R14: ffff888116a7b300 R15: 0000000000000001 FS: 00007f45ea22c6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f45ea20bd58 CR3: 00000001167e7000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 c5 mov %eax,%ebp 2: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax 8: 72 0f jb 0x19 a: e8 fa f3 ba ff call 0xffbaf409 f: 4c 8b 64 24 20 mov 0x20(%rsp),%r12 14: e9 6a 03 00 00 jmp 0x383 19: 4d 89 ec mov %r13,%r12 1c: 49 c1 ec 03 shr $0x3,%r12 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 41 0f b6 04 04 movzbl (%r12,%rax,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 2f 05 00 00 jne 0x566 37: 41 8b 5d 00 mov 0x0(%r13),%ebx 3b: be 00 00 70 00 mov $0x700000,%esi