BTRFS info (device loop0): balance: start -d -m -s BTRFS info (device loop0): relocating block group 6881280 flags data|metadata ------------[ cut here ]------------ ret WARNING: fs/btrfs/extent-tree.c:837 at lookup_inline_extent_backref+0x143e/0x1980 fs/btrfs/extent-tree.c:837, CPU#1: syz.0.19/6533 Modules linked in: CPU: 1 UID: 0 PID: 6533 Comm: syz.0.19 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:lookup_inline_extent_backref+0x143e/0x1980 fs/btrfs/extent-tree.c:837 Code: d8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 d8 99 4a 07 cc e8 02 cb e8 fd bb fe ff ff ff 4c 8b 74 24 50 e9 af fe ff ff 90 <0f> 0b 90 48 8b 84 24 88 00 00 00 48 b9 00 00 00 00 00 fc ff df 80 RSP: 0018:ffffc90003aa69c0 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffff888026331e80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90003aa6be8 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff940000898a1 R12: 0000000000510000 R13: ffff8880346bcd10 R14: 0000000000000009 R15: ffff888044e80000 FS: 00007fd7780ae6c0(0000) GS:ffff88812643f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000002000 CR3: 0000000032b4e000 CR4: 00000000003526f0 Call Trace: insert_inline_extent_backref+0xa8/0x300 fs/btrfs/extent-tree.c:1206 __btrfs_inc_extent_ref+0x271/0xa00 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+0xf93/0x4240 fs/btrfs/extent-tree.c:2078 btrfs_run_delayed_refs+0x191/0x3b0 fs/btrfs/extent-tree.c:2190 qgroup_account_snapshot fs/btrfs/transaction.c:1589 [inline] create_pending_snapshot+0x1141/0x3ac0 fs/btrfs/transaction.c:1872 create_pending_snapshots+0x17c/0x1c0 fs/btrfs/transaction.c:1942 btrfs_commit_transaction+0xf75/0x31a0 fs/btrfs/transaction.c:2439 prepare_to_relocate+0x3a1/0x490 fs/btrfs/relocation.c:3479 relocate_block_group+0x149/0xe90 fs/btrfs/relocation.c:3504 do_nonremap_reloc+0xa7/0x5b0 fs/btrfs/relocation.c:5251 btrfs_relocate_block_group+0x5fe/0x980 fs/btrfs/relocation.c:5410 btrfs_relocate_chunk+0x10f/0x820 fs/btrfs/volumes.c:3590 __btrfs_balance+0x1dba/0x2af0 fs/btrfs/volumes.c:4492 btrfs_balance+0xafa/0x11f0 fs/btrfs/volumes.c:4879 btrfs_ioctl_balance+0x3d6/0x610 fs/btrfs/ioctl.c:3445 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xff/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd778a4c629 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:00007fd7780ae028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd778cc5fa0 RCX: 00007fd778a4c629 RDX: 0000200000000180 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007fd778ae2b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd778cc6038 R14: 00007fd778cc5fa0 R15: 00007fffa02b2158