------------[ cut here ]------------ WARNING: CPU: 0 PID: 4568 at fs/btrfs/volumes.c:3253 btrfs_remove_chunk+0x1575/0x1aa0 fs/btrfs/volumes.c:3253 Modules linked in: CPU: 0 PID: 4568 Comm: syz.4.77 Not tainted 5.15.177-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 1f aa 0a fe 4c 8b 24 24 0f 1f 44 00 00 e8 11 aa 0a fe eb 16 e8 0a aa 0a fe 48 c7 c7 00 bc eb 8a 44 89 f6 e8 9b 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:ffffc90003f4f8c0 EFLAGS: 00010246 RAX: 130be50c6ae70100 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc9000eeae000 RSI: 0000000000039f18 RDI: 0000000000039f19 RBP: ffffc90003f4fa68 R08: ffffffff8166aa8c R09: ffffed10171c4f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88805981a840 R13: dffffc0000000000 R14: ffffffffffffffe4 R15: ffff8880794d4001 FS: 00007ff52ca026c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b306f2ff8 CR3: 000000002c037000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 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:0x7ff52ebb9d29 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:00007ff52ca02038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ff52edd3080 RCX: 00007ff52ebb9d29 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000000 RBP: 00007ff52ec3b2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000021 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007ff52edd3080 R15: 00007ffd664df738