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: 897 Comm: syz.4.205 Not tainted 5.15.156-syzkaller-00821-g29d153aabd54 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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+0x6fd/0x1480 fs/namei.c:4933 Code: f2 e8 67 f0 fe ff 48 89 c3 48 3d 01 f0 ff ff 72 12 e8 f7 d3 b1 ff 41 89 de 48 8b 5c 24 18 e9 6f 05 00 00 49 89 de 49 c1 ee 03 <43> 0f b6 04 26 84 c0 0f 85 8a 07 00 00 48 89 5c 24 40 8b 1b be 00 RSP: 0018:ffffc900009f7c00 EFLAGS: 00010202 RAX: 0000000000000010 RBX: 0000000000000010 RCX: 0000000000040000 RDX: ffffc90002915000 RSI: 00000000000001bd RDI: 00000000000001be RBP: ffffc900009f7ed0 R08: ffffffff81c0d0d8 R09: ffffed1021b90182 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffc900009f7de8 R14: 0000000000000002 R15: ffff88810dc80be0 FS: 00007fdff8c276c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555a6f4a8 CR3: 000000010bd51000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __do_sys_renameat2 fs/namei.c:5018 [inline] __se_sys_renameat2 fs/namei.c:5015 [inline] __x64_sys_renameat2+0xdd/0xf0 fs/namei.c:5015 x64_sys_call+0x85c/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:317 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fdff9fa9e79 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:00007fdff8c27038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007fdffa145f80 RCX: 00007fdff9fa9e79 RDX: 0000000000000005 RSI: 0000000020000500 RDI: 0000000000000005 RBP: 00007fdffa017916 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000200001c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdffa145f80 R15: 00007ffdc27f5af8 Modules linked in: ---[ end trace 51566c0cb5ddb234 ]--- 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+0x6fd/0x1480 fs/namei.c:4933 Code: f2 e8 67 f0 fe ff 48 89 c3 48 3d 01 f0 ff ff 72 12 e8 f7 d3 b1 ff 41 89 de 48 8b 5c 24 18 e9 6f 05 00 00 49 89 de 49 c1 ee 03 <43> 0f b6 04 26 84 c0 0f 85 8a 07 00 00 48 89 5c 24 40 8b 1b be 00 RSP: 0018:ffffc900009f7c00 EFLAGS: 00010202 RAX: 0000000000000010 RBX: 0000000000000010 RCX: 0000000000040000 RDX: ffffc90002915000 RSI: 00000000000001bd RDI: 00000000000001be RBP: ffffc900009f7ed0 R08: ffffffff81c0d0d8 R09: ffffed1021b90182 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffc900009f7de8 R14: 0000000000000002 R15: ffff88810dc80be0 FS: 00007fdff8c276c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555556184a8 CR3: 000000010bd51000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: f2 e8 67 f0 fe ff bnd call 0xfffef06d 6: 48 89 c3 mov %rax,%rbx 9: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax f: 72 12 jb 0x23 11: e8 f7 d3 b1 ff call 0xffb1d40d 16: 41 89 de mov %ebx,%r14d 19: 48 8b 5c 24 18 mov 0x18(%rsp),%rbx 1e: e9 6f 05 00 00 jmp 0x592 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 8a 07 00 00 jne 0x7c1 37: 48 89 5c 24 40 mov %rbx,0x40(%rsp) 3c: 8b 1b mov (%rbx),%ebx 3e: be .byte 0xbe