BTRFS info (device loop0 state EA): last unmount of filesystem 14d642db-7b15-43e4-81e6-4b8fac6a25f8 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5823 at fs/btrfs/space-info.h:265 btrfs_space_info_update_bytes_may_use+0x35a/0x640 fs/btrfs/space-info.h:265 Modules linked in: CPU: 0 UID: 0 PID: 5823 Comm: syz-executor136 Not tainted 6.16.0-rc4-syzkaller-00013-g66701750d556 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:btrfs_space_info_update_bytes_may_use+0x35a/0x640 fs/btrfs/space-info.h:265 Code: 00 00 74 08 4c 89 ff e8 f4 5b 3d fe 4d 8b 27 4c 89 e7 48 8b 6c 24 18 48 89 ee e8 31 06 dc fd 49 39 ec 73 1c e8 c7 03 dc 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:ffffc900040ff910 EFLAGS: 00010293 RAX: ffffffff83e449c9 RBX: ffffffffffea0000 RCX: ffff888078315a00 RDX: 0000000000000000 RSI: 0000000000160000 RDI: 000000000015f000 RBP: 0000000000160000 R08: ffffffff8f9fdaf7 R09: 1ffffffff1f3fb5e R10: dffffc0000000000 R11: fffffbfff1f3fb5f R12: 000000000015f000 R13: 1ffff1100ac16410 R14: dffffc0000000000 R15: ffff8880560b2080 FS: 00005555663f8380(0000) GS:ffff888125c84000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b926323168 CR3: 000000005691c000 CR4: 00000000003526f0 Call Trace: btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:297 [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:457 btrfs_free_block_groups+0xc2c/0xf40 fs/btrfs/block-group.c:4557 close_ctree+0x7f0/0xd60 fs/btrfs/disk-io.c:4426 generic_shutdown_super+0x135/0x2c0 fs/super.c:643 kill_anon_super+0x3b/0x70 fs/super.c:1282 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2095 deactivate_locked_super+0xb9/0x130 fs/super.c:474 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1417 task_work_run+0x1d4/0x260 kernel/task_work.c:227 ptrace_notify+0x281/0x2c0 kernel/signal.c:2520 ptrace_report_syscall include/linux/ptrace.h:415 [inline] ptrace_report_syscall_exit include/linux/ptrace.h:477 [inline] syscall_exit_work+0xc6/0x1d0 kernel/entry/common.c:173 syscall_exit_to_user_mode_work include/linux/entry-common.h:412 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x2ad/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdbcba7f137 Code: 07 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffe4525d4b8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000016cc1 RCX: 00007fdbcba7f137 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe4525d570 RBP: 00007ffe4525d570 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffe4525e5f0 R13: 00005555663f96c0 R14: 431bde82d7b634db R15: 00007ffe4525e610