------------[ cut here ]------------ WARNING: CPU: 0 PID: 7457 at fs/btrfs/block-rsv.c:458 btrfs_release_global_block_rsv+0x218/0x22c fs/btrfs/block-rsv.c:458 Modules linked in: CPU: 0 UID: 0 PID: 7457 Comm: syz.4.160 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_release_global_block_rsv+0x218/0x22c fs/btrfs/block-rsv.c:458 lr : btrfs_release_global_block_rsv+0x218/0x22c fs/btrfs/block-rsv.c:458 sp : ffff80009e8c7370 x29: ffff80009e8c7370 x28: dead000000000100 x27: 0000000000000002 x26: 0000000000000001 x25: ffff0000ca0b4000 x24: 0000000000000000 x23: 1fffe00019416833 x22: ffff0000cea30180 x21: dfff800000000000 x20: 0000000000008000 x19: ffff0000cea30400 x18: 1fffe0001941640e x17: ffff80008f8cd000 x16: ffff8000802a7fe0 x15: 0000000000000001 x14: 1fffe00019416401 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000001 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d94f9e40 x7 : ffff800082546558 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008036f2b8 x2 : 0000000000000001 x1 : 0000000000008000 x0 : 0000000000000000 Call trace: btrfs_release_global_block_rsv+0x218/0x22c fs/btrfs/block-rsv.c:458 (P) btrfs_release_global_block_rsv+0x218/0x22c fs/btrfs/block-rsv.c:458 (L) btrfs_free_block_groups+0xa88/0xe4c fs/btrfs/block-group.c:4472 close_ctree+0x61c/0xb3c fs/btrfs/disk-io.c:4378 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:75 generic_shutdown_super+0x12c/0x2bc fs/super.c:642 kill_anon_super+0x4c/0x7c fs/super.c:1237 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2114 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1373 __cleanup_mnt+0x20/0x30 fs/namespace.c:1380 task_work_run+0x230/0x2e0 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0x4ec/0x1ad0 kernel/exit.c:939 do_group_exit+0x194/0x22c kernel/exit.c:1088 get_signal+0x1410/0x152c kernel/signal.c:2918 do_signal+0x1b0/0x391c arch/arm64/kernel/signal.c:1645 do_notify_resume+0x74/0x1f4 arch/arm64/kernel/entry-common.c:148 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_da+0xbc/0x178 arch/arm64/kernel/entry-common.c:605 el0t_64_sync_handler+0xcc/0x108 arch/arm64/kernel/entry-common.c:765 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 134792 hardirqs last enabled at (134791): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (134792): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (133430): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (133430): [] handle_softirqs+0xa38/0xbf8 kernel/softirq.c:582 softirqs last disabled at (133369): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7457 at fs/btrfs/block-rsv.c:459 btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:459 Modules linked in: CPU: 0 UID: 0 PID: 7457 Comm: syz.4.160 Tainted: G W 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:459 lr : btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:459 sp : ffff80009e8c7370 x29: ffff80009e8c7370 x28: dead000000000100 x27: 0000000000000002 x26: 0000000000000001 x25: ffff0000ca0b4000 x24: 0000000000000000 x23: 1fffe00019416833 x22: ffff0000cea30180 x21: dfff800000000000 x20: 0000000000008000 x19: fffffffffffe0000 x18: 1fffe0001941640e x17: ffff80008f8cd000 x16: ffff8000802a7fe0 x15: 0000000000000001 x14: 1fffe00019416401 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000001 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d94f9e40 x7 : ffff800082546558 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008036f2b8 x2 : 0000000000000001 x1 : fffffffffffe0000 x0 : 0000000000000000 Call trace: btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:459 (P) btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:459 (L) btrfs_free_block_groups+0xa88/0xe4c fs/btrfs/block-group.c:4472 close_ctree+0x61c/0xb3c fs/btrfs/disk-io.c:4378 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:75 generic_shutdown_super+0x12c/0x2bc fs/super.c:642 kill_anon_super+0x4c/0x7c fs/super.c:1237 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2114 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1373 __cleanup_mnt+0x20/0x30 fs/namespace.c:1380 task_work_run+0x230/0x2e0 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0x4ec/0x1ad0 kernel/exit.c:939 do_group_exit+0x194/0x22c kernel/exit.c:1088 get_signal+0x1410/0x152c kernel/signal.c:2918 do_signal+0x1b0/0x391c arch/arm64/kernel/signal.c:1645 do_notify_resume+0x74/0x1f4 arch/arm64/kernel/entry-common.c:148 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_da+0xbc/0x178 arch/arm64/kernel/entry-common.c:605 el0t_64_sync_handler+0xcc/0x108 arch/arm64/kernel/entry-common.c:765 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 134826 hardirqs last enabled at (134825): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:85 [inline] hardirqs last enabled at (134825): [] exit_to_kernel_mode+0xdc/0x10c arch/arm64/kernel/entry-common.c:95 hardirqs last disabled at (134826): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (134820): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (134820): [] handle_softirqs+0xa38/0xbf8 kernel/softirq.c:582 softirqs last disabled at (134795): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7457 at fs/btrfs/block-group.c:4484 btrfs_free_block_groups+0xaf8/0xe4c fs/btrfs/block-group.c:4483 Modules linked in: CPU: 0 UID: 0 PID: 7457 Comm: syz.4.160 Tainted: G W 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_free_block_groups+0xaf8/0xe4c fs/btrfs/block-group.c:4483 lr : btrfs_free_block_groups+0xd24/0xe4c fs/btrfs/block-group.c:4483 sp : ffff80009e8c73a0 x29: ffff80009e8c73c0 x28: dead000000000100 x27: 0000000000000002 x26: 1fffe00019d46237 x25: ffff0000ca0b4000 x24: 0000000000008000 x23: ffff0000ca0b2000 x22: ffff0000ca0b20b8 x21: ffff0000cea31a80 x20: ffff0000cea311b8 x19: dfff800000000000 x18: 1fffe0001941640e x17: ffff80008f8cd000 x16: ffff8000802a7fe0 x15: 0000000000000001 x14: 1fffe00019416401 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000001 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d94f9e40 x7 : ffff800082546558 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008036f2b8 x2 : 0000000000000001 x1 : 0000000000008000 x0 : 0000000000000000 Call trace: btrfs_free_block_groups+0xaf8/0xe4c fs/btrfs/block-group.c:4483 (P) btrfs_free_block_groups+0xd24/0xe4c fs/btrfs/block-group.c:4483 (L) close_ctree+0x61c/0xb3c fs/btrfs/disk-io.c:4378 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:75 generic_shutdown_super+0x12c/0x2bc fs/super.c:642 kill_anon_super+0x4c/0x7c fs/super.c:1237 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2114 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1373 __cleanup_mnt+0x20/0x30 fs/namespace.c:1380 task_work_run+0x230/0x2e0 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0x4ec/0x1ad0 kernel/exit.c:939 do_group_exit+0x194/0x22c kernel/exit.c:1088 get_signal+0x1410/0x152c kernel/signal.c:2918 do_signal+0x1b0/0x391c arch/arm64/kernel/signal.c:1645 do_notify_resume+0x74/0x1f4 arch/arm64/kernel/entry-common.c:148 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_da+0xbc/0x178 arch/arm64/kernel/entry-common.c:605 el0t_64_sync_handler+0xcc/0x108 arch/arm64/kernel/entry-common.c:765 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 135052 hardirqs last enabled at (135051): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:85 [inline] hardirqs last enabled at (135051): [] exit_to_kernel_mode+0xdc/0x10c arch/arm64/kernel/entry-common.c:95 hardirqs last disabled at (135052): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (135046): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (135046): [] handle_softirqs+0xa38/0xbf8 kernel/softirq.c:582 softirqs last disabled at (134829): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop4): space_info DATA+METADATA has 11468800 free, is not full BTRFS info (device loop4): space_info total=11534336, used=32768, pinned=0, reserved=0, may_use=32768, readonly=0 zone_unusable=0 BTRFS info (device loop4): global_block_rsv: size 0 reserved 0 BTRFS info (device loop4): trans_block_rsv: size 0 reserved 0 BTRFS info (device loop4): chunk_block_rsv: size 0 reserved 0 BTRFS info (device loop4): delayed_block_rsv: size 0 reserved 0 BTRFS info (device loop4): delayed_refs_rsv: size 18446744073709420544 reserved 32768