------------[ cut here ]------------ WARNING: CPU: 0 PID: 8037 at fs/btrfs/volumes.c:3253 btrfs_remove_chunk+0x1575/0x1aa0 fs/btrfs/volumes.c:3253 Modules linked in: CPU: 0 PID: 8037 Comm: btrfs-cleaner 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:ffffc90003dcfc00 EFLAGS: 00010246 RAX: e926b3469efd8400 RBX: 0000000000000000 RCX: ffff888079755940 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90003dcfdc0 R08: ffffffff8166aa8c R09: ffffed10171c4f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888074bb14d0 R13: dffffc0000000000 R14: ffffffffffffffe4 R15: ffff888068310001 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7c7a677d60 CR3: 000000007e044000 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 cleaner_kthread+0x20d/0x390 fs/btrfs/disk-io.c:1839 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287