RAX: ffffffffffffffda RBX: 00007f65a70e5f80 RCX: 00007f65a6fc6169 RDX: 0000000000000000 RSI: 0000000020000340 RDI: 00000000200002c0 RBP: 00007f65a55381d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffdfce0f84f R14: 00007f65a5538300 R15: 0000000000022000 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 19495 at fs/btrfs/inode.c:9870 btrfs_rename fs/btrfs/inode.c:9870 [inline] WARNING: CPU: 1 PID: 19495 at fs/btrfs/inode.c:9870 btrfs_rename2+0x38e0/0x4b00 fs/btrfs/inode.c:9966 Modules linked in: CPU: 1 PID: 19495 Comm: syz-executor.0 Not tainted 5.15.107-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:btrfs_rename fs/btrfs/inode.c:9870 [inline] RIP: 0010:btrfs_rename2+0x38e0/0x4b00 fs/btrfs/inode.c:9966 Code: c1 01 00 00 e8 21 a0 1e fe 0f 1f 44 00 00 e8 17 a0 1e fe eb 17 e8 10 a0 1e fe 48 c7 c7 00 94 c9 8a 8b 74 24 10 e8 10 82 ea fd <0f> 0b 48 8b 7c 24 18 48 c7 c6 00 bc c9 8a ba 8e 26 00 00 e9 94 01 RSP: 0018:ffffc9000464f8a0 EFLAGS: 00010246 RAX: e9e82540ac15cc00 RBX: 00000000fffffff4 RCX: 0000000000040000 RDX: ffffc900032c1000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000464fad0 R08: ffffffff816612ec R09: fffff520008c9e55 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100e68d2bb R13: ffff88807c8c8001 R14: ffff8880734695d8 R15: ffff8880736a3110 FS: 00007f65a5538700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a583cae9f0 CR3: 0000000074d51000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_rename+0xd8f/0x1190 fs/namei.c:4736 do_renameat2+0xb97/0x13b0 fs/namei.c:4887 __do_sys_rename fs/namei.c:4933 [inline] __se_sys_rename fs/namei.c:4931 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:4931 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:0x7f65a6fc6169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f65a5538168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f65a70e5f80 RCX: 00007f65a6fc6169 RDX: 0000000000000000 RSI: 0000000020000340 RDI: 00000000200002c0 RBP: 00007f65a55381d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffdfce0f84f R14: 00007f65a5538300 R15: 0000000000022000