bcachefs (loop3): done starting filesystem ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7321 at fs/bcachefs/fs-io.c:327 __bch2_truncate_folio+0x1064/0x1220 fs/bcachefs/fs-io.c:327 Modules linked in: CPU: 0 PID: 7321 Comm: syz-executor.3 Not tainted 6.9.0-syzkaller-10323-g8f6a15f095a6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:__bch2_truncate_folio+0x1064/0x1220 fs/bcachefs/fs-io.c:327 Code: e8 91 4b 8b fd 90 0f 0b e8 f9 31 e7 fd e9 80 f5 ff ff e8 1f 32 e7 fd e9 da f4 ff ff e8 75 4b 8b fd 90 0f 0b e8 6d 4b 8b fd 90 <0f> 0b 90 e9 33 f7 ff ff e8 5f 4b 8b fd 90 0f 0b e8 97 31 e7 fd e9 RSP: 0018:ffffc900031bfc58 EFLAGS: 00010283 RAX: 0000000000012673 RBX: ffffea0001ebc340 RCX: ffffc90004b79000 RDX: 0000000000040000 RSI: ffffffff8402a0e3 RDI: 0000000000000006 RBP: ffffc900031bfd50 R08: 0000000000000006 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000002 R12: ffff8881497e2980 R13: ffff88804e241638 R14: 0000000000000000 R15: ffff88804e241688 FS: 00007f0f6ed256c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3282a000 CR3: 000000004f3f2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_truncate_folios+0x30/0xa0 fs/bcachefs/fs-io.c:366 bchfs_fpunch fs/bcachefs/fs-io.c:520 [inline] bch2_fallocate_dispatch+0xa33/0xf70 fs/bcachefs/fs-io.c:785 vfs_fallocate+0x4b8/0xfb0 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] __x64_sys_fallocate+0xd5/0x140 fs/open.c:359 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0f6e07cee9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0f6ed250c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f0f6e1abf80 RCX: 00007f0f6e07cee9 RDX: 0000000000000002 RSI: 0000000000000003 RDI: 0000000000000005 RBP: 00007f0f6e0c949e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000010000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0f6e1abf80 R15: 00007ffef1409aa8