bcachefs (loop1): going read-write bcachefs (loop1): done starting filesystem ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7482 at fs/bcachefs/fs-io.c:327 __bch2_truncate_folio+0x1600/0x1904 fs/bcachefs/fs-io.c:327 Modules linked in: CPU: 0 PID: 7482 Comm: syz-executor.1 Tainted: G W 6.10.0-rc3-syzkaller-gac2193b4b460 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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 : ffff80009d297460 x29: ffff80009d2976c0 x28: ffff700013a52ea0 x27: ffff80009d297630 x26: 1fffe0001ee000eb x25: dfff800000000000 x24: 1fffe0001be6e685 x23: ffff0000df3733d8 x22: 0000000000000000 x21: 0000000000000000 x20: ffff0000df373428 x19: 1ffff00013a52ec6 x18: ffff80009d296540 x17: 0000000000038de9 x16: ffff80008afa5980 x15: 000000000000000d x14: 1ffff00013a52e60 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000040000 x10: 0000000000005246 x9 : ffff8000a112b000 x8 : 0000000000005247 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000001 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_fallocate fs/bcachefs/fs-io.c:724 [inline] bch2_fallocate_dispatch+0x914/0x2d50 fs/bcachefs/fs-io.c:783 vfs_fallocate+0x480/0x5bc fs/open.c:330 ksys_fallocate fs/open.c:353 [inline] __do_sys_fallocate fs/open.c:361 [inline] __se_sys_fallocate fs/open.c:359 [inline] __arm64_sys_fallocate+0xc0/0x110 fs/open.c:359 __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:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 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: 80174 hardirqs last enabled at (80173): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (80174): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (80090): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (80088): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---