bcachefs (loop4): done starting filesystem ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7629 at fs/bcachefs/fs-io.c:361 __bch2_truncate_folio+0x15dc/0x1850 fs/bcachefs/fs-io.c:361 Modules linked in: CPU: 0 UID: 0 PID: 7629 Comm: syz.4.168 Not tainted 6.16.0-rc7-syzkaller-g82af5ea7c611 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __bch2_truncate_folio+0x15dc/0x1850 fs/bcachefs/fs-io.c:361 lr : __bch2_truncate_folio+0x15dc/0x1850 fs/bcachefs/fs-io.c:361 sp : ffff8000a18f7840 x29: ffff8000a18f7a00 x28: dfff800000000000 x27: ffff8000a18f78c0 x26: 0000000000000001 x25: 1fffe0001e1d00d4 x24: 1fffe0001ee840fd x23: ffff70001431ef18 x22: 0000000000000800 x21: 0000000000000000 x20: ffff0000f74207e8 x19: 0000000000000000 x18: 0000000000000000 x17: ffff0001fea8b870 x16: ffff80008051f01c x15: 0000000000000001 x14: 1fffffbff87b8648 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000001ba6 x9 : ffff8000a6414000 x8 : 0000000000001ba7 x7 : ffff80008022bba8 x6 : ffff80008022bda4 x5 : ffff0000f7d9d500 x4 : 0000000000000001 x3 : ffff8000a18f79b0 x2 : 0000000020000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: __bch2_truncate_folio+0x15dc/0x1850 fs/bcachefs/fs-io.c:361 (P) bch2_truncate_folios fs/bcachefs/fs-io.c:400 [inline] bchfs_fallocate+0x1c4/0x538 fs/bcachefs/fs-io.c:777 bch2_fallocate_dispatch+0x2a0/0x434 fs/bcachefs/fs-io.c:836 vfs_fallocate+0x5cc/0x73c 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] __arm64_sys_fallocate+0xbc/0x10c fs/open.c:368 __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 irq event stamp: 62610 hardirqs last enabled at (62609): [] __call_rcu_common kernel/rcu/tree.c:3119 [inline] hardirqs last enabled at (62609): [] call_rcu+0x65c/0x978 kernel/rcu/tree.c:3214 hardirqs last disabled at (62610): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (62560): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (62558): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---