------------[ cut here ]------------ btrfs_abort_should_print_stack(__error) WARNING: fs/btrfs/inode.c:8736 at btrfs_rename fs/btrfs/inode.c:8736 [inline], CPU#1: syz.4.2352/16617 WARNING: fs/btrfs/inode.c:8736 at btrfs_rename2+0x2e84/0x3050 fs/btrfs/inode.c:8836, CPU#1: syz.4.2352/16617 Modules linked in: CPU: 1 UID: 0 PID: 16617 Comm: syz.4.2352 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 RIP: 0010:btrfs_rename fs/btrfs/inode.c:8736 [inline] RIP: 0010:btrfs_rename2+0x2e84/0x3050 fs/btrfs/inode.c:8836 Code: 00 83 7c 24 10 f4 0f 85 d9 00 00 00 e8 05 b1 8c fd e9 d8 00 00 00 e8 fb b0 8c fd eb 10 e8 f4 b0 8c fd eb 09 e8 ed b0 8c fd 90 <0f> 0b 90 48 8b 44 24 10 89 c1 f7 d9 e9 5a f6 ff ff e8 d6 b0 8c fd RSP: 0018:ffffc900046cf7e0 EFLAGS: 00010283 RAX: ffffffff843cfc03 RBX: 00000000ffffffe4 RCX: ffffc90010a07000 RDX: 0000000000002245 RSI: 0000000000002246 RDI: 00000000ffffffe4 RBP: ffffc900046cfb90 R08: ffff88802a873e80 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000002 R12: 1ffff110070922ae R13: 1ffff1100709a9a3 R14: 00000000ffffffe4 R15: ffff888030c00001 FS: 00007f49044086c0(0000) GS:ffff8881232a6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000043000 CR3: 0000000078644000 CR4: 00000000003526f0 Call Trace: vfs_rename+0xbd9/0xef0 fs/namei.c:6316 filename_renameat2+0x54e/0x9f0 fs/namei.c:6434 __do_sys_rename fs/namei.c:6478 [inline] __se_sys_rename+0x55/0x2c0 fs/namei.c:6474 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x00007f49035a9b59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4904408028 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f4903836190 RCX: 00007f49035a9b59 RDX: 0000000000000000 RSI: 0000200000007140 RDI: 0000200000007100 RBP: 00007f490363a18b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4903836228 R14: 00007f4903836190 R15: 00007fff1c70bf88