------------[ cut here ]------------ WARNING: CPU: 1 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 1 PID: 3959 Comm: syz-executor106 Not tainted 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe0001aceb40c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000002 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000d675a060 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 44652 hardirqs last enabled at (44651): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (44652): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (43822): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (43822): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (43813): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (43813): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (43813): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38dd ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 0 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe0001a90ce0c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000001 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000d4867060 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 84652 hardirqs last enabled at (84651): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (84652): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (81944): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (81944): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (81905): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (81905): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (81905): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38de ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 1 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe00018245a0c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000002 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000c122d060 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 113654 hardirqs last enabled at (113653): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (113654): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (110686): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (110686): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (110633): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (110633): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (110633): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38df ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 1 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe0001b5cba0c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000002 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000dae5d060 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 143974 hardirqs last enabled at (143973): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (143974): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (141930): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (141930): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (141697): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (141697): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (141697): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38e0 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 0 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe0001821900c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000001 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000c10c8060 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 183782 hardirqs last enabled at (183781): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (183782): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (180660): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (180660): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (180649): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (180649): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (180649): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38e1 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 1 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe0001b792a0c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000002 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000dbc95060 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 213684 hardirqs last enabled at (213683): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (213684): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (210980): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (210980): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (210931): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (210931): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (210931): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38e2 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 0 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe0001ac7240c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000001 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000d6392060 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 242526 hardirqs last enabled at (242525): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (242526): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (240200): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (240200): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (240163): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (240163): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (240163): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38e3 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 1 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe0001ae5990c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000002 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000d72cc860 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 271608 hardirqs last enabled at (271607): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (271608): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (271136): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (271136): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (271119): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (271119): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (271119): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38e4 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 1 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe000185d380c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000002 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000c2e9c060 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 299894 hardirqs last enabled at (299893): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (299894): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (299196): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (299196): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (299185): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (299185): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (299185): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38e5 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 1 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe0001b18200c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000002 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000d8c10060 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 329364 hardirqs last enabled at (329363): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (329364): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (327516): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (327516): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (327507): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (327507): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (327507): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38e6 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 0 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe0001822040c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000001 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000c1102060 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 369572 hardirqs last enabled at (369571): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (369572): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (366770): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (366770): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (366661): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (366661): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (366661): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38e7 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 1 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe0001839c50c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000002 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000c1ce2860 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 398714 hardirqs last enabled at (398713): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (398714): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (398134): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (398134): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (398127): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (398127): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (398127): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38e8 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 1 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe0001b54c60c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000002 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000daa63060 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 450118 hardirqs last enabled at (450117): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (450118): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (449848): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (449848): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (449707): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (449707): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (449707): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38e9 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 0 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe0001936d80c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000001 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000c9b6c060 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 478886 hardirqs last enabled at (478885): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (478886): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (478370): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (478370): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (478353): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (478353): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (478353): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38ea ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 1 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe00018abb00c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000002 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000c55d8060 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 508230 hardirqs last enabled at (508229): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (508230): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (505738): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (505738): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (505727): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (505727): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (505727): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38eb ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 1 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe000185a7e0c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000002 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000c2d3f060 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 536640 hardirqs last enabled at (536639): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (536640): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (534294): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (534294): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (534285): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (534285): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (534285): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38ec ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 1 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe0001b23de0c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000002 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000d91ef060 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 565582 hardirqs last enabled at (565581): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (565582): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (563328): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (563328): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (563319): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (563319): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (563319): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38ed ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 0 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe0001b9eb90c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000001 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000dcf5c860 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 594456 hardirqs last enabled at (594455): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (594456): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (593680): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (593680): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (593613): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (593613): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (593613): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38ee ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 0 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe00019413b0c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000001 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000ca09d860 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 623278 hardirqs last enabled at (623277): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (623278): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (621610): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (621610): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (621601): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (621601): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (621601): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38ef ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3959 at fs/btrfs/space-info.h:110 btrfs_space_info_update_bytes_may_use+0x2c0/0x704 Modules linked in: CPU: 0 PID: 3959 Comm: syz-executor106 Tainted: G W 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800018ea7660 x29: ffff800018ea7670 x28: 0000000000000000 x27: 1fffe00019b6af0c x26: dfff800000000000 x25: ffff8000148ed310 x24: 0000000000000001 x23: 0000000000000005 x22: 00000000000cf000 x21: 00000000000d0000 x20: ffff0000cdb57860 x19: 0000000000000000 x18: 0000000000000000 x17: ff8080000a208790 x16: ffff8000119534fc x15: ffff80000a208790 x14: 1ffff0000291e06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a1efd48 x10: 0000000000000000 x9 : ffff80000a1efd48 x8 : ffff0000d9e5b680 x7 : ffff80000a1eefe4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083031cc x2 : fffffffffff30000 x1 : 00000000000d0000 x0 : 00000000000cf000 Call trace: btrfs_space_info_update_bytes_may_use+0x2c0/0x704 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:142 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:151 [inline] btrfs_block_rsv_release+0x3dc/0x4b8 fs/btrfs/block-rsv.c:295 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:451 btrfs_free_block_groups+0x7e0/0xb54 fs/btrfs/block-group.c:3922 close_ctree+0x61c/0x860 fs/btrfs/disk-io.c:4498 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:340 generic_shutdown_super+0x130/0x29c fs/super.c:475 kill_anon_super+0x4c/0x74 fs/super.c:1067 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2391 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 652510 hardirqs last enabled at (652509): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (652510): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (650948): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (650948): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (650939): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (650939): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (650939): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace 79c2701b0d3c38f0 ]---