R13: 00007ffc45c7aba0 R14: 0000000000000003 R15: 00007ffc45c7ab90 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5031 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: 1 PID: 5031 Comm: syz-executor284 Not tainted 6.4.0-next-20230707-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/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 50 f9 fd 49 89 ed 4c 89 e6 49 f7 dd 4c 89 ef e8 6c 4c f9 fd 4d 39 e5 0f 86 2a fd ff ff e8 1e 50 f9 fd <0f> 0b 31 ed e9 24 fd ff ff e8 10 50 f9 fd 48 8d 7b 18 be ff ff ff RSP: 0018:ffffc9000396f9e0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88801b543000 RCX: 0000000000000000 RDX: ffff888028d23b80 RSI: ffffffff838b9872 RDI: 0000000000000006 RBP: fffffffffff00000 R08: 0000000000000006 R09: 0000000000100000 R10: 00000000000ff000 R11: 1ffffffff21efade R12: 00000000000ff000 R13: 0000000000100000 R14: ffff88801b543060 R15: ffff88801b543000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560ab1dc86f8 CR3: 000000000c775000 CR4: 00000000003506e0 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: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+0xa24/0x11e0 fs/btrfs/block-group.c:4307 close_ctree+0x552/0xf70 fs/btrfs/disk-io.c:4401 generic_shutdown_super+0x158/0x480 fs/super.c:499 kill_anon_super+0x3a/0x60 fs/super.c:1110 btrfs_kill_super+0x3c/0x50 fs/btrfs/super.c:2138 deactivate_locked_super+0x98/0x160 fs/super.c:330 deactivate_super+0xb1/0xd0 fs/super.c:361 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1254 task_work_run+0x16f/0x270 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa9a/0x29a0 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:0x7efca54ab1d9 Code: Unable to access opcode bytes at 0x7efca54ab1af. RSP: 002b:00007ffc45c7aaf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007efca5531450 RCX: 00007efca54ab1d9 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffffffffffb8 R09: 0000000800000015 R10: 0000000000000000 R11: 0000000000000246 R12: 00007efca5531450 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001