general protection fault, probably for non-canonical address 0xdffffc0000000009: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000048-0x000000000000004f] CPU: 1 PID: 285 Comm: syz-executor371 Not tainted 5.10.238-syzkaller-00282-gd76d4cd0623a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:vfs_rename+0x106/0xef0 fs/namei.c:4371 Code: c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 b2 f8 f4 ff 48 8b 03 48 89 44 24 50 4c 89 74 24 40 4d 8d 6e 30 4c 89 eb 48 c1 eb 03 <42> 80 3c 3b 00 74 08 4c 89 ef e8 8b f8 f4 ff 49 8b 55 00 4c 89 64 RSP: 0018:ffffc90000ba7c20 EFLAGS: 00010206 RAX: ffff888121459200 RBX: 0000000000000009 RCX: 0000000000000000 RDX: ffff888120872780 RSI: 0000000000400000 RDI: 0000000000200000 RBP: ffffc90000ba7d70 R08: ffffc90000ba7e30 R09: 0000000000000000 R10: ffffed10238fceb6 R11: 1ffff110238fceb5 R12: ffff888121458900 R13: 0000000000000048 R14: 0000000000000018 R15: dffffc0000000000 FS: 00007f1d16ba46c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1d16ba4d58 CR3: 0000000106fdb000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_renameat2+0x6f8/0xe60 fs/namei.c:4619 __do_sys_rename fs/namei.c:4670 [inline] __se_sys_rename fs/namei.c:4668 [inline] __x64_sys_rename+0x86/0x90 fs/namei.c:4668 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f1d16c038b9 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:00007f1d16ba4218 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f1d16c92418 RCX: 00007f1d16c038b9 RDX: 00007f1d16c038b9 RSI: 00002000000000c0 RDI: 0000200000000100 RBP: 00007f1d16c92410 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1d16c5f0b4 R13: 000000000000006e R14: 0000200000000988 R15: 00007fffa14adf18 Modules linked in: ---[ end trace 71aeaf3433d4b062 ]--- RIP: 0010:vfs_rename+0x106/0xef0 fs/namei.c:4371 Code: c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 b2 f8 f4 ff 48 8b 03 48 89 44 24 50 4c 89 74 24 40 4d 8d 6e 30 4c 89 eb 48 c1 eb 03 <42> 80 3c 3b 00 74 08 4c 89 ef e8 8b f8 f4 ff 49 8b 55 00 4c 89 64 RSP: 0018:ffffc90000ba7c20 EFLAGS: 00010206 RAX: ffff888121459200 RBX: 0000000000000009 RCX: 0000000000000000 RDX: ffff888120872780 RSI: 0000000000400000 RDI: 0000000000200000 RBP: ffffc90000ba7d70 R08: ffffc90000ba7e30 R09: 0000000000000000 R10: ffffed10238fceb6 R11: 1ffff110238fceb5 R12: ffff888121458900 R13: 0000000000000048 R14: 0000000000000018 R15: dffffc0000000000 FS: 00007f1d16ba46c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000000b000 CR3: 0000000106fdb000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c1 e8 03 shr $0x3,%eax 3: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 8: 74 08 je 0x12 a: 48 89 df mov %rbx,%rdi d: e8 b2 f8 f4 ff call 0xfff4f8c4 12: 48 8b 03 mov (%rbx),%rax 15: 48 89 44 24 50 mov %rax,0x50(%rsp) 1a: 4c 89 74 24 40 mov %r14,0x40(%rsp) 1f: 4d 8d 6e 30 lea 0x30(%r14),%r13 23: 4c 89 eb mov %r13,%rbx 26: 48 c1 eb 03 shr $0x3,%rbx * 2a: 42 80 3c 3b 00 cmpb $0x0,(%rbx,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ef mov %r13,%rdi 34: e8 8b f8 f4 ff call 0xfff4f8c4 39: 49 8b 55 00 mov 0x0(%r13),%rdx 3d: 4c rex.WR 3e: 89 .byte 0x89 3f: 64 fs