bcachefs (loop2): insufficient writeable journal devices available: have 0, need 1 rw journal devs: bcachefs (loop2): done starting filesystem ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8219 at fs/bcachefs/fs-io.c:359 __bch2_truncate_folio+0x173a/0x19d0 fs/bcachefs/fs-io.c:359 Modules linked in: CPU: 0 UID: 0 PID: 8219 Comm: syz.2.216 Not tainted 6.15.0-rc7-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__bch2_truncate_folio+0x173a/0x19d0 fs/bcachefs/fs-io.c:359 Code: 5f 5d e9 89 7c 20 07 cc e8 03 26 8e fd 48 c7 c7 90 a9 7b 8d e8 47 27 ea ff 89 05 d1 40 66 15 e9 ab ea ff ff e8 e7 25 8e fd 90 <0f> 0b 90 e9 88 f9 ff ff e8 59 ab 1d 07 e8 d4 25 8e fd be 00 10 00 RSP: 0018:ffffc9000410f4c0 EFLAGS: 00010287 RAX: ffffffff8431caf9 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc9000cc0c000 RSI: 0000000000001355 RDI: 0000000000001356 RBP: ffffc9000410f690 R08: ffffea0000a216c7 R09: 1ffffd40001442d8 R10: dffffc0000000000 R11: fffff940001442d9 R12: 1ffff1100a9a6a7b R13: dffffc0000000000 R14: ffff888054d353d8 R15: 0000000000000000 FS: 00007f2b66d536c0(0000) GS:ffff8881260f6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005647ebd88278 CR3: 000000006bfc2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_truncate_folios fs/bcachefs/fs-io.c:398 [inline] bchfs_fpunch+0x10f/0x520 fs/bcachefs/fs-io.c:564 bch2_fallocate_dispatch+0x379/0x4e0 fs/bcachefs/fs-io.c:838 vfs_fallocate+0x6a0/0x830 fs/open.c:338 ioctl_preallocate fs/ioctl.c:290 [inline] file_ioctl fs/ioctl.c:-1 [inline] do_vfs_ioctl+0x1b8f/0x1eb0 fs/ioctl.c:885 __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl+0x82/0x170 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2b65f8e969 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:00007f2b66d53038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f2b661b5fa0 RCX: 00007f2b65f8e969 RDX: 00002000000000c0 RSI: 0000000040305829 RDI: 0000000000000004 RBP: 00007f2b66010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2b661b5fa0 R15: 00007ffe62bb3e48