------------[ cut here ]------------ BTRFS: Transaction aborted (error -2) WARNING: CPU: 1 PID: 6659 at fs/btrfs/extent-tree.c:2984 do_free_extent_accounting fs/btrfs/extent-tree.c:2984 [inline] WARNING: CPU: 1 PID: 6659 at fs/btrfs/extent-tree.c:2984 __btrfs_free_extent+0x28d8/0x31f8 fs/btrfs/extent-tree.c:3358 Modules linked in: CPU: 1 PID: 6659 Comm: syz-executor Not tainted 6.10.0-rc7-syzkaller-gc912bf709078 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : do_free_extent_accounting fs/btrfs/extent-tree.c:2984 [inline] pc : __btrfs_free_extent+0x28d8/0x31f8 fs/btrfs/extent-tree.c:3358 lr : do_free_extent_accounting fs/btrfs/extent-tree.c:2984 [inline] lr : __btrfs_free_extent+0x28d8/0x31f8 fs/btrfs/extent-tree.c:3358 sp : ffff800099de7180 x29: ffff800099de7320 x28: ffff0000db9022b0 x27: 00000000fffffffe x26: ffff0000db902250 x25: ffff800099de72c0 x24: ffff7000133bce48 x23: dfff800000000000 x22: dfff800000000000 x21: ffff0000d388b0b0 x20: 0000000000000000 x19: 0000000000000000 x18: 1fffe000367b11de x17: ffff80008f0fd000 x16: ffff80008032d32c x15: 0000000000000001 x14: 1fffe0001a11ee00 x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001a11ee01 x10: 1fffe0001a11ee00 x9 : bb1336c2bd4ea700 x8 : bb1336c2bd4ea700 x7 : ffff8000802a3bb0 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff8000802900f4 x2 : 0000000000000001 x1 : 0000000000000004 x0 : 0000000000000001 Call trace: do_free_extent_accounting fs/btrfs/extent-tree.c:2984 [inline] __btrfs_free_extent+0x28d8/0x31f8 fs/btrfs/extent-tree.c:3358 run_delayed_tree_ref fs/btrfs/extent-tree.c:1736 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1762 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2027 [inline] __btrfs_run_delayed_refs+0xd0c/0x3cbc fs/btrfs/extent-tree.c:2097 btrfs_run_delayed_refs+0xc4/0x2bc fs/btrfs/extent-tree.c:2209 btrfs_commit_transaction+0x220/0x2ba8 fs/btrfs/transaction.c:2179 btrfs_sync_fs+0x534/0xad8 fs/btrfs/super.c:1014 sync_filesystem+0x1a0/0x218 fs/sync.c:66 generic_shutdown_super+0x70/0x2b8 fs/super.c:621 kill_anon_super+0x4c/0x7c fs/super.c:1226 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2096 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1267 __cleanup_mnt+0x20/0x30 fs/namespace.c:1274 task_work_run+0x230/0x2e0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 481662 hardirqs last enabled at (481661): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1418 [inline] hardirqs last enabled at (481661): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5162 hardirqs last disabled at (481662): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (480776): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (480774): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- BTRFS: error (device loop1 state A) in do_free_extent_accounting:2984: errno=-2 No such entry BTRFS info (device loop1 state EA): forced readonly BTRFS error (device loop1 state EA): failed to run delayed ref for logical 5353472 num_bytes 4096 type 176 action 2 ref_mod 1: -2 BTRFS: error (device loop1 state EA) in btrfs_run_delayed_refs:2211: errno=-2 No such entry BTRFS info (device loop1 state EA): last unmount of filesystem 395ef67a-297e-477c-816d-cd80a5b93e5d EXT4-fs (loop1): unmounting filesystem 00000000-0000-0000-0000-000000000000.