------------[ cut here ]------------ WARNING: CPU: 1 PID: 6366 at fs/btrfs/volumes.c:3253 btrfs_remove_chunk+0x1575/0x1aa0 fs/btrfs/volumes.c:3253 Modules linked in: CPU: 1 PID: 6366 Comm: syz.6.439 Not tainted 5.15.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:btrfs_remove_chunk+0x1575/0x1aa0 fs/btrfs/volumes.c:3253 Code: ff e8 8f 84 0a fe 4c 8b 24 24 0f 1f 44 00 00 e8 81 84 0a fe eb 16 e8 7a 84 0a fe 48 c7 c7 c0 c2 eb 8a 44 89 f6 e8 7b 19 d6 fd <0f> 0b 4c 89 e7 48 c7 c6 20 c6 eb 8a ba b5 0c 00 00 e9 90 fa ff ff RSP: 0018:ffffc900015af8c0 EFLAGS: 00010246 RAX: 23e531e4cb46d500 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc9000fca9000 RSI: 000000000004ce34 RDI: 000000000004ce35 RBP: ffffc900015afa68 R08: ffffffff8166be4c R09: ffffed10171e4f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888060bbdbb0 R13: dffffc0000000000 R14: ffffffffffffffe4 R15: ffff888063ce4001 FS: 00007f544a7846c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb2428d45a0 CR3: 00000000690ea000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000097 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_delete_unused_bgs+0x7dc/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:0x7f544c95d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f544a784038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f544cb76160 RCX: 00007f544c95d169 RDX: 0000000000000000 RSI: 0000200000000100 RDI: 0000000000000000 RBP: 00007f544c9de2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000021 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f544cb76160 R15: 00007ffe5855b7e8