------------[ cut here ]------------ WARNING: CPU: 1 PID: 8217 at fs/bcachefs/recovery_passes.c:174 bch2_recovery_pass_want_ratelimit+0x1c0/0x270 fs/bcachefs/recovery_passes.c:174 Modules linked in: CPU: 1 UID: 0 PID: 8217 Comm: bch-copygc/loop Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : bch2_recovery_pass_want_ratelimit+0x1c0/0x270 fs/bcachefs/recovery_passes.c:174 lr : bch2_recovery_pass_want_ratelimit+0x1c0/0x270 fs/bcachefs/recovery_passes.c:174 sp : ffff80009df76af0 x29: ffff80009df76af0 x28: ffff0000d4e53a28 x27: ffff0000c7ff6198 x26: 1ffff00013beed70 x25: dfff800000000000 x24: 0000000000000001 x23: ffff80009df76c00 x22: dfff800000000000 x21: 0000000000000000 x20: ffff000119900000 x19: 000000000000000e x18: 00000000ffffffff x17: ffff80008280dad8 x16: ffff80008052b264 x15: 0000000000000001 x14: 1fffe0001bbe28ab x13: 0000000000000000 x12: 0000000000000000 x11: 1ffff00013beed95 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000ccce3d00 x7 : 2020202020202020 x6 : 696d206874697720 x5 : ffff0000ddf1455d x4 : ffff0000ddf1455b x3 : 0000000000000002 x2 : ffff80009df76b84 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: bch2_recovery_pass_want_ratelimit+0x1c0/0x270 fs/bcachefs/recovery_passes.c:174 (P) recovery_pass_needs_set+0xa0/0x468 fs/bcachefs/recovery_passes.c:302 bch2_run_explicit_recovery_pass+0x4c/0xec fs/bcachefs/recovery_passes.c:416 bch2_check_bucket_backpointer_mismatch+0x34c/0x3a0 fs/bcachefs/backpointers.c:1220 __bch2_move_data_phys+0x684/0x144c fs/bcachefs/move.c:1011 bch2_evacuate_bucket+0x220/0x34c fs/bcachefs/move.c:1082 bch2_copygc+0x2d80/0x3570 fs/bcachefs/movinggc.c:234 bch2_copygc_thread+0x898/0xd8c fs/bcachefs/movinggc.c:409 kthread+0x5fc/0x75c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 irq event stamp: 302 hardirqs last enabled at (301): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (302): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:434 softirqs last enabled at (266): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (266): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (241): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- bcachefs (loop2): Detected missing backpointers in bucket 101, now have 1/512 with missing