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: 3375 Comm: syz.1.855 Not tainted 6.1.90-syzkaller-00004-g79436849ef1d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:__d_entry_type include/linux/dcache.h:394 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:399 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:445 [inline] RIP: 0010:d_is_positive include/linux/dcache.h:455 [inline] RIP: 0010:do_renameat2+0x79a/0x1480 fs/namei.c:4984 Code: 24 ac 00 00 00 00 48 89 44 24 30 75 16 e8 1e f6 ab ff 83 7c 24 58 00 75 5d e8 12 f6 ab ff e9 74 01 00 00 48 89 c1 48 c1 e9 03 <42> 0f b6 14 21 84 d2 0f 85 0a 07 00 00 8b 18 be 00 00 70 00 21 de RSP: 0018:ffffc90006ec7c00 EFLAGS: 00010202 RAX: 0000000000000010 RBX: ffff88811c804220 RCX: 0000000000000002 RDX: ffffc9000c4b2000 RSI: 0000000000001b54 RDI: 0000000000001b55 RBP: ffffc90006ec7ed0 R08: ffffffff81cbde98 R09: fffff52000dd8f59 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffc90006ec7de8 R14: 1ffff1103ee339e6 R15: ffff88811c804250 FS: 00007f472cd526c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31814ff8 CR3: 000000012cf73000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 00000000872c9164 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __do_sys_renameat2 fs/namei.c:5061 [inline] __se_sys_renameat2 fs/namei.c:5058 [inline] __x64_sys_renameat2+0xdd/0xf0 fs/namei.c:5058 x64_sys_call+0x85c/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:317 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f472bf799f9 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:00007f472cd52038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007f472c116130 RCX: 00007f472bf799f9 RDX: 0000000000000004 RSI: 0000000020000500 RDI: 0000000000000004 RBP: 00007f472bfe78ee R08: 0000000000000005 R09: 0000000000000000 R10: 00000000200001c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f472c116130 R15: 00007ffce3a1ea68 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__d_entry_type include/linux/dcache.h:394 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:399 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:445 [inline] RIP: 0010:d_is_positive include/linux/dcache.h:455 [inline] RIP: 0010:do_renameat2+0x79a/0x1480 fs/namei.c:4984 Code: 24 ac 00 00 00 00 48 89 44 24 30 75 16 e8 1e f6 ab ff 83 7c 24 58 00 75 5d e8 12 f6 ab ff e9 74 01 00 00 48 89 c1 48 c1 e9 03 <42> 0f b6 14 21 84 d2 0f 85 0a 07 00 00 8b 18 be 00 00 70 00 21 de RSP: 0018:ffffc90006ec7c00 EFLAGS: 00010202 RAX: 0000000000000010 RBX: ffff88811c804220 RCX: 0000000000000002 RDX: ffffc9000c4b2000 RSI: 0000000000001b54 RDI: 0000000000001b55 RBP: ffffc90006ec7ed0 R08: ffffffff81cbde98 R09: fffff52000dd8f59 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffc90006ec7de8 R14: 1ffff1103ee339e6 R15: ffff88811c804250 FS: 00007f472cd526c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000008200000085 CR3: 000000012cf73000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 24 ac and $0xac,%al 2: 00 00 add %al,(%rax) 4: 00 00 add %al,(%rax) 6: 48 89 44 24 30 mov %rax,0x30(%rsp) b: 75 16 jne 0x23 d: e8 1e f6 ab ff call 0xffabf630 12: 83 7c 24 58 00 cmpl $0x0,0x58(%rsp) 17: 75 5d jne 0x76 19: e8 12 f6 ab ff call 0xffabf630 1e: e9 74 01 00 00 jmp 0x197 23: 48 89 c1 mov %rax,%rcx 26: 48 c1 e9 03 shr $0x3,%rcx * 2a: 42 0f b6 14 21 movzbl (%rcx,%r12,1),%edx <-- trapping instruction 2f: 84 d2 test %dl,%dl 31: 0f 85 0a 07 00 00 jne 0x741 37: 8b 18 mov (%rax),%ebx 39: be 00 00 70 00 mov $0x700000,%esi 3e: 21 de and %ebx,%esi