bcachefs (loop0): inode journal seq in future (currently at 15) inum: 1073741824:4294967295 mode=100755 flags=(15300000) journal_seq=36028797018963972 hash_seed=905a6979b4722d63 hash_type=siphash bi_size=10 bi_sectors=8 bi_version=0 bi_atime=2740995251 bi_ctime=2740995251 bi_mtime=2740995251 bi_otime=2740995251 bi_uid=0 bi_gid=0 bi_nlink=0 bi_generation=0 bi_dev=0 bi_data_checksum=0 bi_compression=0 bi_project=0 bi_background_compression=0 bi_data_replicas=0 bi_promote_target=0 bi_foreground_target=0 bi_background_target=0 bi_erasure_code=0 bi_fields_set=0 bi_dir=4096 bi_dir_offset=8276054212886994144 bi_subvol=0 bi_parent_subvol=0 bi_nocow=0 bi_depth=0 bi_inodes_32bit=0, fixing done bcachefs (loop0): resume_logged_ops... done bcachefs (loop0): delete_dead_inodes... done bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean bcachefs (loop0): check_alloc_info... done bcachefs (loop0): check_lrus... done bcachefs (loop0): check_btree_backpointers... done bcachefs (loop0): check_backpointers_to_extents... done bcachefs (loop0): check_extents_to_backpointers... done bcachefs (loop0): check_inodes... done bcachefs (loop0): resume_logged_ops... done bcachefs (loop0): delete_dead_inodes... done bcachefs (loop0): done starting filesystem ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5329 at fs/bcachefs/fs-io.c:344 __bch2_truncate_folio+0x186c/0x1b30 fs/bcachefs/fs-io.c:344 Modules linked in: CPU: 0 UID: 0 PID: 5329 Comm: syz.0.0 Not tainted 6.15.0-rc3-syzkaller-00076-ge72e9e693307 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__bch2_truncate_folio+0x186c/0x1b30 fs/bcachefs/fs-io.c:344 Code: 5f 5d c3 cc cc cc cc cc e8 51 81 8c fd 48 c7 c7 26 72 9d 8d e8 f5 4a ea ff 89 05 3f ef 89 15 e9 79 e9 ff ff e8 35 81 8c fd 90 <0f> 0b 90 e9 82 f9 ff ff e8 07 1a 29 07 e8 22 81 8c fd be 00 10 00 RSP: 0018:ffffc9000d53f9e0 EFLAGS: 00010293 RAX: ffffffff84334c4b RBX: ffff888054875718 RCX: ffff88801ede4880 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000d53fbb0 R08: ffffea000156b7c7 R09: 1ffffd40002ad6f8 R10: dffffc0000000000 R11: fffff940002ad6f9 R12: 1ffff1100a90eae3 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f8902b7e6c0(0000) GS:ffff88808d2a3000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000003060 CR3: 00000000418d2000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_truncate_folios fs/bcachefs/fs-io.c:383 [inline] bchfs_fpunch+0x111/0x660 fs/bcachefs/fs-io.c:538 bch2_fallocate_dispatch+0x379/0x4e0 fs/bcachefs/fs-io.c:812 vfs_fallocate+0x6a0/0x830 fs/open.c:338 ksys_fallocate fs/open.c:362 [inline] __do_sys_fallocate fs/open.c:367 [inline] __se_sys_fallocate fs/open.c:365 [inline] __x64_sys_fallocate+0xc0/0x110 fs/open.c:365 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:0x7f8901d8e969 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:00007f8902b7e038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f8901fb5fa0 RCX: 00007f8901d8e969 RDX: 0000000000000002 RSI: 0000000000000003 RDI: 0000000000000009 RBP: 00007f8901e10ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000010000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8901fb5fa0 R15: 00007fff5d43b1e8