------------[ cut here ]------------ btrfs_abort_should_print_stack(__error) WARNING: fs/btrfs/extent-tree.c:3425 at __btrfs_free_extent.isra.0+0x82e/0x21b0 fs/btrfs/extent-tree.c:3425, CPU#0: kworker/u8:2/22498 Modules linked in: CPU: 0 UID: 0 PID: 22498 Comm: kworker/u8:2 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Workqueue: btrfs-qgroup-rescan btrfs_work_helper RIP: 0010:__btrfs_free_extent.isra.0+0x82e/0x21b0 fs/btrfs/extent-tree.c:3425 Code: c6 20 05 6a 8c 48 89 fb e8 7f b9 9d fd 8d 43 1e 83 f8 19 77 0f ba 01 00 04 02 48 0f a3 c2 0f 82 51 1c be fc e8 93 be 9d fd 90 <0f> 0b 90 e9 43 1c be fc e8 85 be 9d fd 48 8d 7b 60 48 b8 00 00 00 RSP: 0018:ffffc90005dcf598 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffffffffffffe4 RCX: 0000000000000000 RDX: ffff888037931f40 RSI: ffffffff8470e06d RDI: 0000000000000005 RBP: 0000000000101000 R08: fffffffffffffffb R09: ffffffffffffffe4 R10: ffff88804accdc2f R11: 0000000000000000 R12: ffff88804584c6e0 R13: ffff88803347ab40 R14: ffff88804accc000 R15: 00000000ffffffe4 FS: 0000000000000000(0000) GS:ffff888122457000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f02bf1d3ff8 CR3: 00000000597e2000 CR4: 0000000000350ef0 Call Trace: run_delayed_data_ref fs/btrfs/extent-tree.c:1665 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1855 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2058 [inline] __btrfs_run_delayed_refs+0x9b6/0x3990 fs/btrfs/extent-tree.c:2134 btrfs_run_delayed_refs+0x1a0/0x2c0 fs/btrfs/extent-tree.c:2246 btrfs_commit_transaction+0x1f3b/0x3690 fs/btrfs/transaction.c:2278 btrfs_qgroup_rescan_worker+0x243/0xb20 fs/btrfs/qgroup.c:3932 btrfs_work_helper+0x214/0xc70 fs/btrfs/async-thread.c:312 process_one_work+0xaeb/0x1b40 kernel/workqueue.c:3497 process_scheduled_works kernel/workqueue.c:3580 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3661 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245