------------[ cut here ]------------ WARNING: CPU: 1 PID: 7550 at fs/btrfs/space-info.h:199 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 1 PID: 7550 Comm: syz-executor.1 Not tainted 6.8.0-rc7-syzkaller-g707081b61156 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_space_info_update_bytes_may_use+0x2c0/0x704 lr : btrfs_space_info_update_bytes_may_use+0x2bc/0x704 sp : ffff800099527820 x29: ffff800099527830 x28: 0000000000000000 x27: 1fffe0001a02190c x26: dfff800000000000 x25: ffff80008ec9d3a0 x24: 0000000000000002 x23: 0000000000000005 x22: 000000000015f000 x21: 0000000000160000 x20: ffff0000d010c860 x19: 0000000000000000 x18: 1fffe00036804396 x17: ffff80008ec9d000 x16: ffff80008ad6b09c x15: ffff7000132a4ef8 x14: 1ffff000132a4ef8 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff7000132a4ef8 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d606da00 x7 : ffff80008243a93c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800080339fe4 x2 : ffffffffffea0000 x1 : 0000000000160000 x0 : 000000000015f000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:231 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:154 [inline] btrfs_block_rsv_release+0x414/0x4ec fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0xa88/0xe4c fs/btrfs/block-group.c:4414 close_ctree+0x5f4/0xdec fs/btrfs/disk-io.c:4384 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:75 generic_shutdown_super+0x128/0x2b8 fs/super.c:641 kill_anon_super+0x4c/0x7c fs/super.c:1225 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2093 deactivate_locked_super+0xc4/0x12c fs/super.c:472 deactivate_super+0xe0/0x100 fs/super.c:505 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1267 __cleanup_mnt+0x20/0x30 fs/namespace.c:1274 task_work_run+0x230/0x2e0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 6134512 hardirqs last enabled at (6134511): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (6134512): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (6133710): [] softirq_handle_end kernel/softirq.c:399 [inline] softirqs last enabled at (6133710): [] __do_softirq+0xac8/0xce4 kernel/softirq.c:582 softirqs last disabled at (6133563): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop1: state EA): last unmount of filesystem 395ef67a-297e-477c-816d-cd80a5b93e5d ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7550 at fs/btrfs/space-info.h:199 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 1 PID: 7550 Comm: syz-executor.1 Tainted: G W 6.8.0-rc7-syzkaller-g707081b61156 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_space_info_update_bytes_may_use+0x2c0/0x704 lr : btrfs_space_info_update_bytes_may_use+0x2bc/0x704 sp : ffff800099527820 x29: ffff800099527830 x28: 0000000000000000 x27: 1fffe00019fd370c x26: dfff800000000000 x25: ffff80008ec9d3a0 x24: 0000000000000002 x23: 0000000000000005 x22: 000000000015f000 x21: 0000000000160000 x20: ffff0000cfe9b860 x19: 0000000000000000 x18: 0000000000000001 x17: ffff800125436000 x16: ffff80008ad6b09c x15: ffff7000132a4ef8 x14: 1ffff000132a4ef8 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff7000132a4ef8 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d606da00 x7 : ffff80008243a93c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800080339fe4 x2 : ffffffffffea0000 x1 : 0000000000160000 x0 : 000000000015f000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:231 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:154 [inline] btrfs_block_rsv_release+0x414/0x4ec fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0xa88/0xe4c fs/btrfs/block-group.c:4414 close_ctree+0x5f4/0xdec fs/btrfs/disk-io.c:4384 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:75 generic_shutdown_super+0x128/0x2b8 fs/super.c:641 kill_anon_super+0x4c/0x7c fs/super.c:1225 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2093 deactivate_locked_super+0xc4/0x12c fs/super.c:472 deactivate_super+0xe0/0x100 fs/super.c:505 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1267 __cleanup_mnt+0x20/0x30 fs/namespace.c:1274 task_work_run+0x230/0x2e0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 6150186 hardirqs last enabled at (6150185): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (6150186): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (6150146): [] softirq_handle_end kernel/softirq.c:399 [inline] softirqs last enabled at (6150146): [] __do_softirq+0xac8/0xce4 kernel/softirq.c:582 softirqs last disabled at (6149603): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop1: state EA): last unmount of filesystem 395ef67a-297e-477c-816d-cd80a5b93e5d ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7550 at fs/btrfs/space-info.h:199 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 1 PID: 7550 Comm: syz-executor.1 Tainted: G W 6.8.0-rc7-syzkaller-g707081b61156 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_space_info_update_bytes_may_use+0x2c0/0x704 lr : btrfs_space_info_update_bytes_may_use+0x2bc/0x704 sp : ffff800099527820 x29: ffff800099527830 x28: 0000000000000000 x27: 1fffe000256d570c x26: dfff800000000000 x25: ffff80008ec9d3a0 x24: 0000000000000002 x23: 0000000000000005 x22: 000000000015f000 x21: 0000000000160000 x20: ffff00012b6ab860 x19: 0000000000000000 x18: 0000000000000000 x17: ffff800125436000 x16: ffff80008ad6b09c x15: ffff7000132a4ef8 x14: 1ffff000132a4ef8 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff7000132a4ef8 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d606da00 x7 : ffff80008243a93c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800080339fe4 x2 : ffffffffffea0000 x1 : 0000000000160000 x0 : 000000000015f000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:231 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:154 [inline] btrfs_block_rsv_release+0x414/0x4ec fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0xa88/0xe4c fs/btrfs/block-group.c:4414 close_ctree+0x5f4/0xdec fs/btrfs/disk-io.c:4384 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:75 generic_shutdown_super+0x128/0x2b8 fs/super.c:641 kill_anon_super+0x4c/0x7c fs/super.c:1225 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2093 deactivate_locked_super+0xc4/0x12c fs/super.c:472 deactivate_super+0xe0/0x100 fs/super.c:505 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1267 __cleanup_mnt+0x20/0x30 fs/namespace.c:1274 task_work_run+0x230/0x2e0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 6184670 hardirqs last enabled at (6184669): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (6184670): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (6184126): [] softirq_handle_end kernel/softirq.c:399 [inline] softirqs last enabled at (6184126): [] __do_softirq+0xac8/0xce4 kernel/softirq.c:582 softirqs last disabled at (6184033): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]---