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: 292 Comm: syz-executor166 Not tainted 5.15.131-syzkaller-00653-gea586874d2f9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:__d_entry_type include/linux/dcache.h:404 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:409 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:455 [inline] RIP: 0010:do_renameat2+0x62e/0x1480 fs/namei.c:4841 Code: 08 3c b2 ff 41 89 de 4c 8b 64 24 40 e9 0f 06 00 00 4c 89 b4 24 f0 00 00 00 49 89 de 49 c1 ee 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 06 84 c0 4c 8b 64 24 40 0f 85 2d 08 00 00 48 89 1c 24 RSP: 0018:ffffc900007d7c40 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000010 RCX: ffff88811e98cf00 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000000 RBP: ffffc900007d7ef8 R08: ffffffff81bff470 R09: ffffed1023929072 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff88811c948330 R14: 0000000000000002 R15: ffff8881001c1520 FS: 00007ff35cb9e6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005621ec0cc318 CR3: 000000011e641000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __do_sys_rename fs/namei.c:4938 [inline] __se_sys_rename fs/namei.c:4936 [inline] __x64_sys_rename+0x86/0x90 fs/namei.c:4936 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7ff35cbdc2b9 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:00007ff35cb9e218 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007ff35cc65408 RCX: 00007ff35cbdc2b9 RDX: 00007ff35cbdc2b9 RSI: 0000000020000140 RDI: 0000000020000100 RBP: 00007ff35cc65400 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff35cc33018 R13: 0030656c69662f2e R14: 0030656c69662f30 R15: 00007ff35cc3300e Modules linked in: ---[ end trace a020432d5589457c ]--- RIP: 0010:__d_entry_type include/linux/dcache.h:404 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:409 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:455 [inline] RIP: 0010:do_renameat2+0x62e/0x1480 fs/namei.c:4841 Code: 08 3c b2 ff 41 89 de 4c 8b 64 24 40 e9 0f 06 00 00 4c 89 b4 24 f0 00 00 00 49 89 de 49 c1 ee 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 06 84 c0 4c 8b 64 24 40 0f 85 2d 08 00 00 48 89 1c 24 RSP: 0018:ffffc900007d7c40 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000010 RCX: ffff88811e98cf00 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000000 RBP: ffffc900007d7ef8 R08: ffffffff81bff470 R09: ffffed1023929072 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff88811c948330 R14: 0000000000000002 R15: ffff8881001c1520 FS: 00007ff35cb9e6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005621ec0cc318 CR3: 000000011e641000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 08 3c b2 or %bh,(%rdx,%rsi,4) 3: ff 41 89 incl -0x77(%rcx) 6: de 4c 8b 64 fimuls 0x64(%rbx,%rcx,4) a: 24 40 and $0x40,%al c: e9 0f 06 00 00 jmp 0x620 11: 4c 89 b4 24 f0 00 00 mov %r14,0xf0(%rsp) 18: 00 19: 49 89 de mov %rbx,%r14 1c: 49 c1 ee 03 shr $0x3,%r14 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 41 0f b6 04 06 movzbl (%r14,%rax,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 4c 8b 64 24 40 mov 0x40(%rsp),%r12 36: 0f 85 2d 08 00 00 jne 0x869 3c: 48 89 1c 24 mov %rbx,(%rsp)