------------[ cut here ]------------ WARNING: CPU: 0 PID: 7253 at fs/btrfs/extent-tree.c:836 lookup_inline_extent_backref+0x11ed/0x15c0 fs/btrfs/extent-tree.c:836 Modules linked in: CPU: 0 UID: 0 PID: 7253 Comm: syz-executor.4 Not tainted 6.16.0-rc2-syzkaller-ge04c78d86a96 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:lookup_inline_extent_backref+0x11ed/0x15c0 fs/btrfs/extent-tree.c:836 Code: 01 fe bb f5 ff ff ff e9 99 00 00 00 e8 3c 6b 01 fe eb 74 e8 35 6b 01 fe bb fe ff ff ff 4c 8b 6c 24 18 eb 68 e8 24 6b 01 fe 90 <0f> 0b 90 48 8b 44 24 70 42 80 3c 20 00 74 08 4c 89 ff e8 6c be 62 RSP: 0018:ffffc9000cd76960 EFLAGS: 00010293 RAX: ffffffff83bef01c RBX: 0000000000000001 RCX: ffff888030318000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000cd76b88 R08: 0000000000000000 R09: 1ffffd40003b37d8 R10: dffffc0000000000 R11: fffff940003b37d9 R12: dffffc0000000000 R13: 0000000000520000 R14: ffffc9000cd76ac0 R15: ffff888078b27790 FS: 00007fc2808a26c0(0000) GS:ffff888125c85000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0ac7301000 CR3: 000000007a2ec000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: insert_inline_extent_backref+0xa8/0x240 fs/btrfs/extent-tree.c:1205 __btrfs_inc_extent_ref+0x253/0x710 fs/btrfs/extent-tree.c:1503 run_delayed_tree_ref fs/btrfs/extent-tree.c:1745 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1773 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1970 [inline] __btrfs_run_delayed_refs+0xea2/0x3a50 fs/btrfs/extent-tree.c:2045 btrfs_run_delayed_refs+0x191/0x300 fs/btrfs/extent-tree.c:2157 qgroup_account_snapshot+0xb1/0x400 fs/btrfs/transaction.c:1571 create_pending_snapshot+0xd16/0x2720 fs/btrfs/transaction.c:1854 create_pending_snapshots+0x17c/0x1c0 fs/btrfs/transaction.c:1925 btrfs_commit_transaction+0xed7/0x37f0 fs/btrfs/transaction.c:2410 prepare_to_relocate+0x39f/0x490 fs/btrfs/relocation.c:3513 relocate_block_group+0x13f/0xd90 fs/btrfs/relocation.c:3538 btrfs_relocate_block_group+0x966/0xde0 fs/btrfs/relocation.c:4008 btrfs_relocate_chunk+0x12a/0x3b0 fs/btrfs/volumes.c:3431 __btrfs_balance+0x1870/0x21d0 fs/btrfs/volumes.c:4206 btrfs_balance+0xc94/0x11d0 fs/btrfs/volumes.c:4583 btrfs_ioctl_balance+0x3d3/0x610 fs/btrfs/ioctl.c:3583 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc27fa7cd29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc2808a20c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc27fbabf80 RCX: 00007fc27fa7cd29 RDX: 0000000020001a40 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007fc27fac947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc27fbabf80 R15: 00007ffd595d52e8