bcachefs (loop0): journal_replay... done bcachefs (loop0): resume_logged_ops... done bcachefs (loop0): going read-write bcachefs (loop0): done starting filesystem ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6372 at fs/bcachefs/fs-io.c:327 __bch2_truncate_folio+0x1600/0x1904 fs/bcachefs/fs-io.c:327 Modules linked in: CPU: 0 PID: 6372 Comm: syz-executor349 Not tainted 6.10.0-rc7-syzkaller-gc912bf709078 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __bch2_truncate_folio+0x1600/0x1904 fs/bcachefs/fs-io.c:327 lr : __bch2_truncate_folio+0x1600/0x1904 fs/bcachefs/fs-io.c:327 sp : ffff8000a12b6f00 x29: ffff8000a12b7160 x28: ffff700014256df4 x27: ffff8000a12b70d0 x26: 1fffe0001ba700eb x25: dfff800000000000 x24: 1fffe0001be550f7 x23: ffff0000df2a8768 x22: 0000000000000000 x21: 0000000000000000 x20: ffff0000df2a87b8 x19: 1ffff00014256e1a x18: ffff8000a12b67a0 x17: 000000000000d29d x16: ffff80008b07c280 x15: 000000000000000d x14: 1ffff00014256db4 x13: 0000000000000000 x12: 0000000000000000 x11: ffff700014256dc1 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000daebdac0 x7 : 0000000000000000 x6 : 000000000000003f x5 : 0000000000000040 x4 : 0000000000000000 x3 : 0000000000000020 x2 : 0000000000000008 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: __bch2_truncate_folio+0x1600/0x1904 fs/bcachefs/fs-io.c:327 bch2_truncate_folios fs/bcachefs/fs-io.c:366 [inline] bchfs_fpunch fs/bcachefs/fs-io.c:520 [inline] bch2_fallocate_dispatch+0x6dc/0x2d50 fs/bcachefs/fs-io.c:785 vfs_fallocate+0x480/0x5bc fs/open.c:330 ioctl_preallocate+0x21c/0x2a0 fs/ioctl.c:291 do_vfs_ioctl+0x1b88/0x2404 fs/ioctl.c:886 __do_sys_ioctl fs/ioctl.c:905 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __arm64_sys_ioctl+0xe4/0x1c8 fs/ioctl.c:893 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:131 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:150 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 67824 hardirqs last enabled at (67823): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (67824): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (67200): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (67198): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---