RBP: 00007ffe2f37d510 R08: 0000000000000002 R09: 0000000000003531 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffe2f37d568 R14: 00007ffe2f37d5b0 R15: 0000000000000003 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4994 at fs/btrfs/space-info.h:198 btrfs_space_info_update_bytes_may_use+0x452/0x590 fs/btrfs/space-info.h:198 Modules linked in: CPU: 0 PID: 4994 Comm: syz-executor395 Not tainted 6.4.0-rc4-syzkaller-00371-g6f64a5ebe1dc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:btrfs_space_info_update_bytes_may_use+0x452/0x590 fs/btrfs/space-info.h:198 Code: fd e9 40 fc ff ff e8 3d 2f fb fd 49 89 ed 4c 89 e6 49 f7 dd 4c 89 ef e8 ec 2a fb fd 4d 39 e5 0f 86 2a fd ff ff e8 1e 2f fb fd <0f> 0b 31 ed e9 24 fd ff ff e8 10 2f fb fd 48 8d 7b 18 be ff ff ff RSP: 0018:ffffc90003c5f9e0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888145ed3000 RCX: 0000000000000000 RDX: ffff88807955d940 RSI: ffffffff83891722 RDI: 0000000000000006 RBP: fffffffffff00000 R08: 0000000000000006 R09: 0000000000100000 R10: 00000000000ff000 R11: 1ffffffff21930f5 R12: 00000000000ff000 R13: 0000000000100000 R14: ffff888145ed3060 R15: ffff888145ed3000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005627150c21e8 CR3: 000000000c571000 CR4: 0000000000350ef0 Call Trace: btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:230 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:154 [inline] btrfs_block_rsv_release+0x4af/0x5e0 fs/btrfs/block-rsv.c:293 btrfs_release_global_block_rsv+0x26/0x2e0 fs/btrfs/block-rsv.c:438 btrfs_free_block_groups+0xa0c/0x11d0 fs/btrfs/block-group.c:4274 close_ctree+0x552/0xf60 fs/btrfs/disk-io.c:4645 generic_shutdown_super+0x158/0x480 fs/super.c:500 kill_anon_super+0x3a/0x60 fs/super.c:1107 btrfs_kill_super+0x3c/0x50 fs/btrfs/super.c:2138 deactivate_locked_super+0x98/0x160 fs/super.c:331 deactivate_super+0xb1/0xd0 fs/super.c:362 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1177 task_work_run+0x16f/0x270 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xaa3/0x29b0 kernel/exit.c:874 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 __do_sys_exit_group kernel/exit.c:1035 [inline] __se_sys_exit_group kernel/exit.c:1033 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1033 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f214576b0a9 Code: Unable to access opcode bytes at 0x7f214576b07f. RSP: 002b:00007ffe2f37d4e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f21457e13d0 RCX: 00007f214576b0a9 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 0000000000003531 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f21457e13d0 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001