BTRFS warning (device loop1): qgroup 0/5 has unreleased space, type 0 rsv 40960 BTRFS error (device loop1): qgroup reserved space leaked assertion failed: list_empty(&fs_info->delalloc_roots) :: 0, in fs/btrfs/disk-io.c:4373 ------------[ cut here ]------------ kernel BUG at fs/btrfs/disk-io.c:4373! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 6576 Comm: syz-executor Tainted: G L syzkaller #0 PREEMPT Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : close_ctree+0xd64/0x1138 fs/btrfs/disk-io.c:4373 lr : close_ctree+0xd64/0x1138 fs/btrfs/disk-io.c:4373 sp : ffff8000b12679c0 x29: ffff8000b1267b10 x28: 1fffe0001efcc291 x27: ffff70001624cf40 x26: ffff0000f7e60010 x25: 1fffe0001efcc205 x24: dfff800000000000 x23: 0000000000000000 x22: 1fffe0001efcc1f7 x21: ffff0000f7e60fb8 x20: ffff8000b1267a00 x19: ffff0000f7e60000 x18: 1fffe0003377d090 x17: 206e69202c30203a x16: ffff800082e5e68c x15: 0000000000000001 x14: 1fffe0003377d0fa x13: 0000000000000000 x12: 0000000000000000 x11: ffff60003377d0fb x10: 0000000000ff0100 x9 : 6fbfda70a88fba00 x8 : 6fbfda70a88fba00 x7 : ffff8000805761f8 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807f1034 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000057 Call trace: close_ctree+0xd64/0x1138 fs/btrfs/disk-io.c:4373 (P) btrfs_put_super+0x1ac/0x1c0 fs/btrfs/super.c:74 generic_shutdown_super+0x12c/0x2b8 fs/super.c:643 kill_anon_super+0x4c/0x7c fs/super.c:1289 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2129 deactivate_locked_super+0xc4/0x12c fs/super.c:474 deactivate_super+0xe0/0x100 fs/super.c:507 cleanup_mnt+0x31c/0x3ac fs/namespace.c:1318 __cleanup_mnt+0x20/0x30 fs/namespace.c:1325 task_work_run+0x1dc/0x260 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:44 [inline] exit_to_user_mode_loop+0x10c/0x18c kernel/entry/common.c:75 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] exit_to_user_mode_prepare_legacy include/linux/irq-entry-common.h:242 [inline] arm64_exit_to_user_mode arch/arm64/kernel/entry-common.c:81 [inline] el0_svc+0x17c/0x26c arch/arm64/kernel/entry-common.c:725 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: eb15011f 528222a4 1a9f17e2 97ff7e4c (d4210000) ---[ end trace 0000000000000000 ]---