general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 PID: 298 Comm: syz-executor287 Not tainted 5.15.148-syzkaller-00718-g993bed180178 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
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+0x677/0x1400 fs/namei.c:4919
Code: 89 f2 e8 dc f1 fe ff 48 89 c3 48 3d 01 f0 ff ff 72 11 e8 9c 0c b2 ff 41 89 de 48 8b 1c 24 e9 63 05 00 00 49 89 de 49 c1 ee 03 <43> 0f b6 04 26 84 c0 0f 85 6e 07 00 00 48 89 5c 24 30 8b 1b be 00
RSP: 0018:ffffc900009e7c40 EFLAGS: 00010246
RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffff88811e36a780
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000000
RBP: ffffc900009e7ef8 R08: ffffffff81c04f00 R09: ffffed10238272d8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881001c01e0 R14: 0000000000000000 R15: ffff88811c139690
FS: 00007f3698f3e6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2a51019308 CR3: 000000011e217000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__do_sys_rename fs/namei.c:5017 [inline]
__se_sys_rename fs/namei.c:5015 [inline]
__x64_sys_rename+0x86/0x90 fs/namei.c:5015
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:0x7f3698f9d479
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:00007f3698f3e218 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f369902a3f8 RCX: 00007f3698f9d479
RDX: 00007f3698f9d479 RSI: 0000000020000140 RDI: 0000000020000100
RBP: 00007f369902a3f0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3698ff701c
R13: 00007f3698ff7038 R14: 00007ffcdef6fa10 R15: 0030656c69662f30
</TASK>
Modules linked in:
---[ end trace 3cce31a358b5a5b1 ]---
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+0x677/0x1400 fs/namei.c:4919
Code: 89 f2 e8 dc f1 fe ff 48 89 c3 48 3d 01 f0 ff ff 72 11 e8 9c 0c b2 ff 41 89 de 48 8b 1c 24 e9 63 05 00 00 49 89 de 49 c1 ee 03 <43> 0f b6 04 26 84 c0 0f 85 6e 07 00 00 48 89 5c 24 30 8b 1b be 00
RSP: 0018:ffffc900009e7c40 EFLAGS: 00010246
RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffff88811e36a780
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000000
RBP: ffffc900009e7ef8 R08: ffffffff81c04f00 R09: ffffed10238272d8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881001c01e0 R14: 0000000000000000 R15: ffff88811c139690
FS: 00007f3698f3e6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcdef95020 CR3: 000000011e217000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 89 f2 mov %esi,%edx
2: e8 dc f1 fe ff call 0xfffef1e3
7: 48 89 c3 mov %rax,%rbx
a: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax
10: 72 11 jb 0x23
12: e8 9c 0c b2 ff call 0xffb20cb3
17: 41 89 de mov %ebx,%r14d
1a: 48 8b 1c 24 mov (%rsp),%rbx
1e: e9 63 05 00 00 jmp 0x586
23: 49 89 de mov %rbx,%r14
26: 49 c1 ee 03 shr $0x3,%r14
* 2a: 43 0f b6 04 26 movzbl (%r14,%r12,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 0f 85 6e 07 00 00 jne 0x7a5
37: 48 89 5c 24 30 mov %rbx,0x30(%rsp)
3c: 8b 1b mov (%rbx),%ebx
3e: be .byte 0xbe