bcachefs (loop2): insufficient writeable journal devices available: have 0, need 1 rw journal devs: bcachefs (loop2): done starting filesystem ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7613 at fs/bcachefs/fs-io.c:361 __bch2_truncate_folio+0x179c/0x1a30 fs/bcachefs/fs-io.c:361 Modules linked in: CPU: 1 UID: 0 PID: 7613 Comm: syz.2.350 Not tainted 6.16.0-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:__bch2_truncate_folio+0x179c/0x1a30 fs/bcachefs/fs-io.c:361 Code: 5f 5d e9 f2 98 d6 fc cc e8 c1 7e 86 fd 48 c7 c7 fe 7a a1 8d e8 05 62 e9 ff 89 05 ef a7 8b 15 e9 49 ea ff ff e8 a5 7e 86 fd 90 <0f> 0b 90 e9 26 f9 ff ff e8 a7 ff 33 07 e8 92 7e 86 fd be 00 10 00 RSP: 0018:ffffc9000deef9e0 EFLAGS: 00010287 RAX: ffffffff8439a83b RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc9000bebb000 RSI: 0000000000001299 RDI: 000000000000129a RBP: ffffc9000deefbb0 R08: ffffea00019e9207 R09: 1ffffd400033d240 R10: dffffc0000000000 R11: fffff9400033d241 R12: 1ffff1100af617a2 R13: dffffc0000000000 R14: ffff888057b0bd10 R15: 0000000000000000 FS: 00007f7ae564e6c0(0000) GS:ffff888125d23000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb065c97b4c CR3: 0000000062162000 CR4: 0000000000350ef0 Call Trace: bch2_truncate_folios fs/bcachefs/fs-io.c:400 [inline] bchfs_fallocate+0x233/0x680 fs/bcachefs/fs-io.c:777 bch2_fallocate_dispatch+0x28a/0x410 fs/bcachefs/fs-io.c:836 vfs_fallocate+0x6a3/0x830 fs/open.c:341 ksys_fallocate fs/open.c:365 [inline] __do_sys_fallocate fs/open.c:370 [inline] __se_sys_fallocate fs/open.c:368 [inline] __x64_sys_fallocate+0xc0/0x110 fs/open.c:368 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7ae478e9a9 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:00007f7ae564e038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f7ae49b5fa0 RCX: 00007f7ae478e9a9 RDX: 0000000000000800 RSI: 0000000000000010 RDI: 0000000000000004 RBP: 00007f7ae4810d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000008000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7ae49b5fa0 R15: 00007ffc0bc11d48