BTRFS warning (device loop8 state EA): qgroup 0/5 has unreleased space, type 0 rsv 12288 BTRFS error (device loop8 state EA): qgroup reserved space leaked ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6513 at fs/btrfs/space-info.h:255 btrfs_space_info_update_bytes_may_use+0x357/0x640 fs/btrfs/space-info.h:255 Modules linked in: CPU: 1 UID: 0 PID: 6513 Comm: syz-executor Not tainted 6.15.0-rc4-syzkaller-00319-g14c55b7bb0a8 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025 RIP: 0010:btrfs_space_info_update_bytes_may_use+0x357/0x640 fs/btrfs/space-info.h:255 Code: 00 00 74 08 4c 89 ff e8 57 3f 41 fe 4d 8b 27 4c 89 e7 48 8b 6c 24 18 48 89 ee e8 b4 72 e1 fd 49 39 ec 73 1c e8 4a 70 e1 fd 90 <0f> 0b 90 31 db 43 80 7c 35 00 00 0f 85 2e ff ff ff e9 31 ff ff ff RSP: 0018:ffffc9000a957a10 EFLAGS: 00010293 RAX: ffffffff83de5f16 RBX: ffffffffffea0000 RCX: ffff88807e5d0000 RDX: 0000000000000000 RSI: 0000000000160000 RDI: 000000000015f000 RBP: 0000000000160000 R08: ffffffff8f7daf77 R09: 1ffffffff1efb5ee R10: dffffc0000000000 R11: fffffbfff1efb5ef R12: 000000000015f000 R13: 1ffff1100b2f9a0d R14: dffffc0000000000 R15: ffff8880597cd068 FS: 00005555594c4500(0000) GS:ffff8881261fd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555581adc608 CR3: 0000000069c5c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:287 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:153 [inline] btrfs_block_rsv_release+0x4b3/0x5e0 fs/btrfs/block-rsv.c:292 btrfs_release_global_block_rsv+0x33/0x270 fs/btrfs/block-rsv.c:446 btrfs_free_block_groups+0xc31/0x1080 fs/btrfs/block-group.c:4499 close_ctree+0x7be/0xcb0 fs/btrfs/disk-io.c:4486 generic_shutdown_super+0x132/0x2c0 fs/super.c:642 kill_anon_super+0x3b/0x70 fs/super.c:1237 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2099 deactivate_locked_super+0xb9/0x130 fs/super.c:473 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1435 task_work_run+0x1d1/0x260 kernel/task_work.c:227 resume_user_mode_work+0x5e/0x80 include/linux/resume_user_mode.h:50 exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x9a/0x120 kernel/entry/common.c:218 do_syscall_64+0x103/0x210 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa6e958fc97 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffd4c701de8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fa6e961089d RCX: 00007fa6e958fc97 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd4c701ea0 RBP: 00007ffd4c701ea0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd4c702f30 R13: 00007fa6e961089d R14: 0000000000026428 R15: 00007ffd4c702f70