syzbot


kernel panic: bcachefs (loop0): panic after error (2)

Status: upstream: reported syz repro on 2025/09/03 16:19
Subsystems: bcachefs
[Documentation on labels]
Reported-by: syzbot+36450b3c8ace3bd1a55a@syzkaller.appspotmail.com
First crash: 5d11h, last: 5d11h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [bcachefs?] kernel panic: bcachefs (loop0): panic after error (2) 0 (1) 2025/09/03 16:19
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel panic: bcachefs (loop0): panic after error bcachefs 2 C 5 84d 308d 0/29 closed as invalid on 2025/08/08 05:46

Sample crash report:
bcachefs (loop0): superblock marked clean but clean section not present, shutting down
  error not marked as autofix and not in fsck
  run fsck, and forward to devs so error can be marked for self-healing
Kernel panic - not syncing: bcachefs (loop0): panic after error
CPU: 1 UID: 0 PID: 6771 Comm: syz.0.17 Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025
Call trace:
 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C)
 __dump_stack+0x30/0x40 lib/dump_stack.c:94
 dump_stack_lvl+0x30/0x12c lib/dump_stack.c:120
 dump_stack+0x1c/0x28 lib/dump_stack.c:129
 vpanic+0x280/0x780 kernel/panic.c:430
 vpanic+0x0/0x780 kernel/panic.c:566
 __bch2_inconsistent_error+0x124/0x14c fs/bcachefs/error.c:36
 __bch2_fsck_err+0x82c/0xeb0 fs/bcachefs/error.c:603
 bch2_read_superblock_clean+0x150/0x238 fs/bcachefs/sb-clean.c:156
 bch2_fs_recovery+0x134/0x2fb4 fs/bcachefs/recovery.c:738
 bch2_fs_start+0x940/0xbec fs/bcachefs/super.c:1213
 bch2_fs_get_tree+0x880/0x107c fs/bcachefs/fs.c:2488
 vfs_get_tree+0x90/0x28c fs/super.c:1815
 do_new_mount+0x278/0x7f4 fs/namespace.c:3805
 path_mount+0x5b4/0xde0 fs/namespace.c:4120
 do_mount fs/namespace.c:4133 [inline]
 __do_sys_mount fs/namespace.c:4344 [inline]
 __se_sys_mount fs/namespace.c:4321 [inline]
 __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4321
 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151
 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879
 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596
SMP: stopping secondary CPUs
Kernel Offset: disabled
CPU features: 0x40000,00007800,109c1141,5427fea7
Memory Limit: none
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/02 15:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8f5ae30d69d7 807a3b61 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel panic: bcachefs (loop0): panic after error
* Struck through repros no longer work on HEAD.