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: 24333 Comm: syz-executor.4 Not tainted 5.10.194-syzkaller-00508-ga27512601c2d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 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+0x5e6/0x1130 fs/namei.c:4563 Code: 89 de 8b 54 24 3c e8 09 31 ff ff 49 89 c5 48 3d 01 f0 ff ff 72 0d e8 49 a0 b6 ff 44 89 eb e9 d7 03 00 00 4d 89 ec 49 c1 ec 03 <43> 0f b6 04 3c 84 c0 0f 85 d6 05 00 00 41 8b 5d 00 be 00 00 70 00 RSP: 0018:ffffc9000bdf7d00 EFLAGS: 00010202 RAX: 0000000000000010 RBX: ffff88817fccc110 RCX: 0000000000040000 RDX: ffffc9000a97c000 RSI: 00000000000002cf RDI: 00000000000002d0 RBP: ffffc9000bdf7f08 R08: ffffffff81b62ffb R09: ffffed102ff9982e R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000002 R13: 0000000000000010 R14: 00000000ffffff01 R15: dffffc0000000000 FS: 00007fcbaface6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcbafaadd58 CR3: 000000016f433000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __do_sys_rename fs/namei.c:4656 [inline] __se_sys_rename fs/namei.c:4654 [inline] __x64_sys_rename+0x86/0x90 fs/namei.c:4654 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fcbb0d4bae9 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:00007fcbaface0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fcbb0e6af80 RCX: 00007fcbb0d4bae9 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000020000100 RBP: 00007fcbb0d9747a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fcbb0e6af80 R15: 00007ffef5652978 Modules linked in: ---[ end trace 2961dddf6f175c1b ]--- 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+0x5e6/0x1130 fs/namei.c:4563 Code: 89 de 8b 54 24 3c e8 09 31 ff ff 49 89 c5 48 3d 01 f0 ff ff 72 0d e8 49 a0 b6 ff 44 89 eb e9 d7 03 00 00 4d 89 ec 49 c1 ec 03 <43> 0f b6 04 3c 84 c0 0f 85 d6 05 00 00 41 8b 5d 00 be 00 00 70 00 RSP: 0018:ffffc9000bdf7d00 EFLAGS: 00010202 RAX: 0000000000000010 RBX: ffff88817fccc110 RCX: 0000000000040000 RDX: ffffc9000a97c000 RSI: 00000000000002cf RDI: 00000000000002d0 RBP: ffffc9000bdf7f08 R08: ffffffff81b62ffb R09: ffffed102ff9982e R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000002 R13: 0000000000000010 R14: 00000000ffffff01 R15: dffffc0000000000 FS: 00007fcbaface6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdcf593e988 CR3: 000000016f433000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 de mov %ebx,%esi 2: 8b 54 24 3c mov 0x3c(%rsp),%edx 6: e8 09 31 ff ff call 0xffff3114 b: 49 89 c5 mov %rax,%r13 e: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax 14: 72 0d jb 0x23 16: e8 49 a0 b6 ff call 0xffb6a064 1b: 44 89 eb mov %r13d,%ebx 1e: e9 d7 03 00 00 jmp 0x3fa 23: 4d 89 ec mov %r13,%r12 26: 49 c1 ec 03 shr $0x3,%r12 * 2a: 43 0f b6 04 3c movzbl (%r12,%r15,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 d6 05 00 00 jne 0x60d 37: 41 8b 5d 00 mov 0x0(%r13),%ebx 3b: be 00 00 70 00 mov $0x700000,%esi