BTRFS info (device loop5): relocating block group 6881280 flags data|metadata BTRFS info (device loop5): relocating block group 5242880 flags data|metadata ------------[ cut here ]------------ ret WARNING: fs/btrfs/extent-tree.c:837 at lookup_inline_extent_backref+0x178c/0x1a60 fs/btrfs/extent-tree.c:837, CPU#0: syz.5.776/9384 Modules linked in: CPU: 0 UID: 0 PID: 9384 Comm: syz.5.776 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026 RIP: 0010:lookup_inline_extent_backref+0x178c/0x1a60 fs/btrfs/extent-tree.c:837 Code: 8a 04 4f fe e9 a5 e9 ff ff 48 8b 3c 24 e8 7c 04 4f fe e9 db f7 ff ff 4c 89 e7 e8 cf 04 4f fe e9 74 eb ff ff e8 65 96 e4 fd 90 <0f> 0b 90 48 8b 14 24 b8 ff ff 37 00 48 c1 e0 2a 48 c1 ea 03 80 3c RSP: 0018:ffffc9000ab66a80 EFLAGS: 00010287 RAX: 0000000000063f41 RBX: 0000000000000000 RCX: ffffc90015b9e000 RDX: 0000000000080000 RSI: ffffffff84228d9b RDI: ffff88802e510000 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88802edfbc1a R13: 00000000000000b6 R14: 0000000000510000 R15: 00000000000000b6 FS: 00007f1c8a69c6c0(0000) GS:ffff8881245b6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f21bff6 CR3: 000000003a130000 CR4: 0000000000350ef0 Call Trace: insert_inline_extent_backref+0xc1/0x2b0 fs/btrfs/extent-tree.c:1206 __btrfs_inc_extent_ref+0x216/0x7e0 fs/btrfs/extent-tree.c:1505 run_delayed_tree_ref fs/btrfs/extent-tree.c:1771 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1803 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2003 [inline] __btrfs_run_delayed_refs+0xdc9/0x3870 fs/btrfs/extent-tree.c:2078 btrfs_run_delayed_refs+0x1a4/0x3c0 fs/btrfs/extent-tree.c:2190 qgroup_account_snapshot fs/btrfs/transaction.c:1589 [inline] create_pending_snapshot+0x150b/0x3770 fs/btrfs/transaction.c:1872 create_pending_snapshots+0x17d/0x2d0 fs/btrfs/transaction.c:1942 btrfs_commit_transaction+0x963/0x3860 fs/btrfs/transaction.c:2439 prepare_to_relocate+0x413/0x6b0 fs/btrfs/relocation.c:3479 relocate_block_group+0x146/0x10e0 fs/btrfs/relocation.c:3504 do_nonremap_reloc fs/btrfs/relocation.c:5248 [inline] btrfs_relocate_block_group+0x159c/0x57c0 fs/btrfs/relocation.c:5407 btrfs_relocate_chunk+0x129/0x700 fs/btrfs/volumes.c:3590 __btrfs_balance fs/btrfs/volumes.c:4486 [inline] btrfs_balance+0x27e4/0x54a0 fs/btrfs/volumes.c:4873 btrfs_ioctl_balance fs/btrfs/ioctl.c:3446 [inline] btrfs_ioctl+0x3ebb/0x64e0 fs/btrfs/ioctl.c:5197 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1c8979bf79 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:00007f1c8a69c028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1c89a15fa0 RCX: 00007f1c8979bf79 RDX: 0000200000000180 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007f1c898327e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1c89a16038 R14: 00007f1c89a15fa0 R15: 00007ffe869320c8