general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] CPU: 1 PID: 8059 Comm: syz.0.2632 Not tainted 5.10.224-syzkaller-00361-g50f1826c82c1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:vfs_rename+0x106/0xeb0 fs/namei.c:4371 Code: c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 42 04 f4 ff 48 8b 03 48 89 44 24 58 4c 89 74 24 38 4d 8d 7e 30 4d 89 fe 49 c1 ee 03 <43> 80 3c 26 00 74 08 4c 89 ff e8 1b 04 f4 ff 49 8b 07 48 89 44 24 RSP: 0018:ffffc90000d97b80 EFLAGS: 00010202 RAX: ffff888123f9f180 RBX: ffff888110762360 RCX: 0000000000040000 RDX: ffff888111cb8000 RSI: 0000000000400000 RDI: 0000000000200000 RBP: ffffc90000d97cd0 R08: ffffffff81b4453f R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888123e74480 R14: 0000000000000008 R15: 0000000000000040 FS: 00007fcf8d9216c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5c3d2a4710 CR3: 000000011a49b000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_renameat2+0xa56/0x1240 fs/namei.c:4619 __do_sys_renameat2 fs/namei.c:4657 [inline] __se_sys_renameat2 fs/namei.c:4654 [inline] __x64_sys_renameat2+0xdd/0xf0 fs/namei.c:4654 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fcf8eca7ef9 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:00007fcf8d921038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007fcf8ee5ff80 RCX: 00007fcf8eca7ef9 RDX: 0000000000000007 RSI: 0000000020000500 RDI: 0000000000000007 RBP: 00007fcf8ed1ab76 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000200001c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fcf8ee5ff80 R15: 00007ffdafa333d8 Modules linked in: ---[ end trace f170e1eab34446c3 ]--- RIP: 0010:vfs_rename+0x106/0xeb0 fs/namei.c:4371 Code: c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 42 04 f4 ff 48 8b 03 48 89 44 24 58 4c 89 74 24 38 4d 8d 7e 30 4d 89 fe 49 c1 ee 03 <43> 80 3c 26 00 74 08 4c 89 ff e8 1b 04 f4 ff 49 8b 07 48 89 44 24 RSP: 0018:ffffc90000d97b80 EFLAGS: 00010202 RAX: ffff888123f9f180 RBX: ffff888110762360 RCX: 0000000000040000 RDX: ffff888111cb8000 RSI: 0000000000400000 RDI: 0000000000200000 RBP: ffffc90000d97cd0 R08: ffffffff81b4453f R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888123e74480 R14: 0000000000000008 R15: 0000000000000040 FS: 00007fcf8d9216c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5c3c48fda0 CR3: 000000011a49b000 CR4: 00000000003506a0 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 20 00 cmpb $0x0,(%rax,%r12,1) 8: 74 08 je 0x12 a: 48 89 df mov %rbx,%rdi d: e8 42 04 f4 ff call 0xfff40454 12: 48 8b 03 mov (%rbx),%rax 15: 48 89 44 24 58 mov %rax,0x58(%rsp) 1a: 4c 89 74 24 38 mov %r14,0x38(%rsp) 1f: 4d 8d 7e 30 lea 0x30(%r14),%r15 23: 4d 89 fe mov %r15,%r14 26: 49 c1 ee 03 shr $0x3,%r14 * 2a: 43 80 3c 26 00 cmpb $0x0,(%r14,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ff mov %r15,%rdi 34: e8 1b 04 f4 ff call 0xfff40454 39: 49 8b 07 mov (%r15),%rax 3c: 48 rex.W 3d: 89 .byte 0x89 3e: 44 rex.R 3f: 24 .byte 0x24