------------[ 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#1: kworker/u8:6/168 Modules linked in: CPU: 1 UID: 0 PID: 168 Comm: kworker/u8:6 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP 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 4f b6 9d fd 8d 43 1e 83 f8 19 77 0f ba 01 00 04 02 48 0f a3 c2 0f 82 21 29 be fc e8 63 bb 9d fd 90 <0f> 0b 90 e9 13 29 be fc e8 55 bb 9d fd 48 8d 7b 60 48 b8 00 00 00 RSP: 0018:ffffc90003017598 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffffffffffffe4 RCX: 0000000000000000 RDX: ffff888022b48000 RSI: ffffffff8470d39d RDI: 0000000000000005 RBP: 0000000000503000 R08: fffffffffffffffb R09: ffffffffffffffe4 R10: ffff888066345c2f R11: 0000000000000000 R12: ffff88806a350630 R13: ffff8880525b7250 R14: ffff888066344000 R15: 00000000ffffffe4 FS: 0000000000000000(0000) GS:ffff888122559000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555c57637048 CR3: 000000000fd98000 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