syzbot


WARNING in bch2_recovery_pass_want_ratelimit

Status: upstream: reported C repro on 2025/09/04 11:24
Subsystems: bcachefs
[Documentation on labels]
Reported-by: syzbot+3bf8b0169d7fcc0ebcd5@syzkaller.appspotmail.com
First crash: 78d, last: 30d
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly bcachefs report (Oct 2025) 0 (1) 2025/10/27 12:50
[syzbot] [bcachefs?] WARNING in bch2_recovery_pass_want_ratelimit 0 (2) 2025/10/19 00:33
Last patch testing requests (1)
Created Duration User Patch Repo Result
2025/11/02 01:25 26m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5367 at fs/bcachefs/recovery_passes.c:174 bch2_recovery_pass_want_ratelimit+0x1d8/0x290 fs/bcachefs/recovery_passes.c:174
Modules linked in:
CPU: 0 UID: 0 PID: 5367 Comm: bch-copygc/loop Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:bch2_recovery_pass_want_ratelimit+0x1d8/0x290 fs/bcachefs/recovery_passes.c:174
Code: fd 40 20 eb eb 0e e8 47 ba 6a fd eb 05 e8 40 ba 6a fd 31 db 89 d8 5b 41 5c 41 5e 41 5f 5d e9 3f 19 2a 07 cc e8 29 ba 6a fd 90 <0f> 0b 90 e9 d1 fe ff ff e8 1b ba 6a fd 48 c7 c7 a0 ca 99 8e 48 89
RSP: 0018:ffffc9000d516cb0 EFLAGS: 00010293
RAX: ffffffff845512e7 RBX: 000000000000000e RCX: ffff888033884880
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff88805680205c R09: 0000000000000003
R10: ffff88805680205b R11: ffffed100ad0040c R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff888052e00000 R15: 1ffff92001aa2da5
FS:  0000000000000000(0000) GS:ffff88808d00a000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001000 CR3: 0000000040713000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 recovery_pass_needs_set+0x9a/0x510 fs/bcachefs/recovery_passes.c:302
 bch2_run_explicit_recovery_pass+0x3f/0xd0 fs/bcachefs/recovery_passes.c:416
 bch2_check_bucket_backpointer_mismatch+0x634/0x690 fs/bcachefs/backpointers.c:1220
 __bch2_move_data_phys+0x17a7/0x1c50 fs/bcachefs/move.c:922
 bch2_evacuate_bucket+0x228/0x3a0 fs/bcachefs/move.c:1082
 bch2_copygc+0x3be3/0x4510 fs/bcachefs/movinggc.c:234
 bch2_copygc_thread+0x97a/0xe00 fs/bcachefs/movinggc.c:409
 kthread+0x70e/0x8a0 kernel/kthread.c:463
 ret_from_fork+0x436/0x7d0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/16 09:14 upstream 46a51f4f5eda e2beed91 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in bch2_recovery_pass_want_ratelimit
2025/09/10 13:29 upstream 9dd1835ecda5 fdeaa69b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in bch2_recovery_pass_want_ratelimit
2025/08/31 11:18 upstream c8bc81a52d5a 807a3b61 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in bch2_recovery_pass_want_ratelimit
2025/10/19 00:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc 1c8c8cd8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in bch2_recovery_pass_want_ratelimit
2025/10/18 23:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc 1c8c8cd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in bch2_recovery_pass_want_ratelimit
2025/10/17 18:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc 7adf5298 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in bch2_recovery_pass_want_ratelimit
2025/10/15 07:14 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc b6605ba8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in bch2_recovery_pass_want_ratelimit
* Struck through repros no longer work on HEAD.