------------[ cut here ]------------ WARNING: CPU: 0 PID: 9363 at fs/btrfs/volumes.c:3253 btrfs_remove_chunk+0x1575/0x1aa0 fs/btrfs/volumes.c:3253 Modules linked in: CPU: 0 PID: 9363 Comm: syz-executor245 Not tainted 5.15.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:btrfs_remove_chunk+0x1575/0x1aa0 fs/btrfs/volumes.c:3253 Code: ff e8 df a9 0a fe 4c 8b 24 24 0f 1f 44 00 00 e8 d1 a9 0a fe eb 16 e8 ca a9 0a fe 48 c7 c7 00 bc eb 8a 44 89 f6 e8 5b 43 d6 fd <0f> 0b 4c 89 e7 48 c7 c6 60 bf eb 8a ba b5 0c 00 00 e9 90 fa ff ff RSP: 0018:ffffc9000f9b78c0 EFLAGS: 00010246 RAX: 40d2bfe6b9b0d000 RBX: 0000000000000000 RCX: ffff88802777d940 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000f9b7a68 R08: ffffffff8166aa8c R09: ffffed10171c4f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888072214f20 R13: dffffc0000000000 R14: ffffffffffffffe4 R15: ffff88807910c001 FS: 00007fcce87bc6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcce07ad000 CR3: 0000000023729000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_delete_unused_bgs+0x892/0x940 fs/btrfs/block-group.c:1432 btrfs_remount+0xe2a/0x1640 fs/btrfs/super.c:2001 reconfigure_super+0x43a/0x870 fs/super.c:938 do_remount fs/namespace.c:2668 [inline] path_mount+0xceb/0x10a0 fs/namespace.c:3334 do_mount fs/namespace.c:3355 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3540 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fcce8821ac9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcce87bc168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fcce88ae6d8 RCX: 00007fcce8821ac9 RDX: 0000000000000000 RSI: 0000400000000100 RDI: 0000000000000000 RBP: 00007fcce88ae6d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000021 R11: 0000000000000246 R12: 00007fcce88ae6dc R13: 000000000000006e R14: 00007ffff21e2410 R15: 00007ffff21e24f8