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: 287 Comm: syz-executor375 Not tainted 5.10.216-syzkaller-00510-ga4a2b7a82ee4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 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+0x790/0x1240 fs/namei.c:4577 Code: ff ff 48 89 c3 48 3d 01 f0 ff ff 72 16 e8 58 5a b6 ff 41 89 dc 48 8b 1c 24 4c 8b 6c 24 58 e9 60 03 00 00 49 89 dc 49 c1 ec 03 <43> 0f b6 04 3c 84 c0 4c 8b 6c 24 58 0f 85 18 06 00 00 48 89 5c 24 RSP: 0018:ffffc90000b17ce0 EFLAGS: 00010202 RAX: 0000000000000010 RBX: 0000000000000010 RCX: ffff88811ef662c0 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000000 RBP: ffffc90000b17ef0 R08: ffffffff81b68098 R09: ffffed102389e4fa R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000002 R13: 0000000000000000 R14: ffffc90000b17e01 R15: dffffc0000000000 FS: 00007fa393f686c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020003000 CR3: 0000000117c67000 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+0xdd/0xf0 fs/namei.c:4654 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fa393fa6679 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 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:00007fa393f68218 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007fa3940353e8 RCX: 00007fa393fa6679 RDX: 0000000000000004 RSI: 0000000020000500 RDI: 0000000000000004 RBP: 00007fa3940353e0 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000200001c0 R11: 0000000000000246 R12: 00007fa39400209c R13: 0030656c69662f2e R14: 00007fa3940020ca R15: 0000002000000000 Modules linked in: ---[ end trace 7b5e8843b6c9a4a0 ]--- 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+0x790/0x1240 fs/namei.c:4577 Code: ff ff 48 89 c3 48 3d 01 f0 ff ff 72 16 e8 58 5a b6 ff 41 89 dc 48 8b 1c 24 4c 8b 6c 24 58 e9 60 03 00 00 49 89 dc 49 c1 ec 03 <43> 0f b6 04 3c 84 c0 4c 8b 6c 24 58 0f 85 18 06 00 00 48 89 5c 24 RSP: 0018:ffffc90000b17ce0 EFLAGS: 00010202 RAX: 0000000000000010 RBX: 0000000000000010 RCX: ffff88811ef662c0 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000000 RBP: ffffc90000b17ef0 R08: ffffffff81b68098 R09: ffffed102389e4fa R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000002 R13: 0000000000000000 R14: ffffc90000b17e01 R15: dffffc0000000000 FS: 00007fa393f686c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020003000 CR3: 0000000117c67000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: ff 48 89 decl -0x77(%rax) 3: c3 ret 4: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax a: 72 16 jb 0x22 c: e8 58 5a b6 ff call 0xffb65a69 11: 41 89 dc mov %ebx,%r12d 14: 48 8b 1c 24 mov (%rsp),%rbx 18: 4c 8b 6c 24 58 mov 0x58(%rsp),%r13 1d: e9 60 03 00 00 jmp 0x382 22: 49 89 dc mov %rbx,%r12 25: 49 c1 ec 03 shr $0x3,%r12 * 29: 43 0f b6 04 3c movzbl (%r12,%r15,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 4c 8b 6c 24 58 mov 0x58(%rsp),%r13 35: 0f 85 18 06 00 00 jne 0x653 3b: 48 rex.W 3c: 89 .byte 0x89 3d: 5c pop %rsp 3e: 24 .byte 0x24