BTRFS info (device loop0 state EA): last unmount of filesystem 395ef67a-297e-477c-816d-cd80a5b93e5d ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5833 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: 1 UID: 0 PID: 5833 Comm: syz-executor410 Tainted: G W 6.17.0-rc1-syzkaller-00214-g99bade344cfa #0 PREEMPT_{RT,(full)} Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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 04 70 3d fe 4d 8b 27 4c 89 e7 48 8b 6c 24 18 48 89 ee e8 71 3f de fd 49 39 ec 73 1c e8 c7 3c de 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:ffffc9000493f910 EFLAGS: 00010293 RAX: ffffffff83e01e79 RBX: ffffffffffea1000 RCX: ffff88802d1d0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 000000000015f000 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1e3a787 R12: 000000000015e000 R13: 1ffff11004973018 R14: dffffc0000000000 R15: ffff888024b980c0 FS: 0000555587b19380(0000) GS:ffff8881269c5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056285f5ac420 CR3: 0000000036326000 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+0x4c5/0x5f0 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:4567 close_ctree+0x7bc/0x1380 fs/btrfs/disk-io.c:4424 generic_shutdown_super+0x132/0x2c0 fs/super.c:643 kill_anon_super+0x3b/0x70 fs/super.c:1282 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2114 deactivate_locked_super+0xbc/0x130 fs/super.c:474 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1378 task_work_run+0x1d1/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/syscall-common.c:111 syscall_exit_to_user_mode_work include/linux/entry-common.h:173 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x2ad/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6bcc3a91b7 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:00007ffca25581b8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 000000000001cfa8 RCX: 00007f6bcc3a91b7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffca2558270 RBP: 00007ffca2558270 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffca25592f0 R13: 0000555587b1a6c0 R14: 431bde82d7b634db R15: 00007ffca2559310