bcachefs (loop0): check_subvol_children... done bcachefs (loop0): delete_dead_snapshots... done bcachefs (loop0): check_inodes... done bcachefs (loop0): check_extents... done bcachefs (loop0): check_indirect_extents... done bcachefs (loop0): check_dirents... done bcachefs (loop0): check_xattrs... done bcachefs (loop0): check_root... done bcachefs (loop0): check_unreachable_inodes... done bcachefs (loop0): check_subvolume_structure... done bcachefs (loop0): check_directory_structure... done bcachefs (loop0): check_nlinks... bcachefs (loop0): inode 536870914 type reg has wrong i_nlink (2780562353, should be 1), fixing done bcachefs (loop0): check_rebalance_work... done bcachefs (loop0): resume_logged_ops... done bcachefs (loop0): delete_dead_inodes... done bcachefs (loop0): set_fs_needs_rebalance... 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... bcachefs (loop0): scanning for missing backpointers in 1/128 buckets done bcachefs (loop0): check_alloc_to_lru_refs... done bcachefs (loop0): bucket_gens_init... done bcachefs (loop0): check_snapshot_trees... done bcachefs (loop0): check_snapshots... done bcachefs (loop0): check_subvols... done bcachefs (loop0): check_subvol_children... done bcachefs (loop0): delete_dead_snapshots... done bcachefs (loop0): check_inodes... done bcachefs (loop0): check_extents... done bcachefs (loop0): check_indirect_extents... done bcachefs (loop0): check_dirents... done bcachefs (loop0): check_xattrs... done bcachefs (loop0): check_root... done bcachefs (loop0): check_unreachable_inodes... done bcachefs (loop0): check_subvolume_structure... done bcachefs (loop0): check_directory_structure... done bcachefs (loop0): check_nlinks... done bcachefs (loop0): check_rebalance_work... done bcachefs (loop0): resume_logged_ops... done bcachefs (loop0): delete_dead_inodes... done bcachefs (loop0): set_fs_needs_rebalance... done bcachefs (loop0): done starting filesystem bcachefs (loop0): __bch2_resume_logged_op_finsert(): error EFBIG ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5363 at fs/bcachefs/fs-io.c:361 __bch2_truncate_folio+0x179c/0x1a30 fs/bcachefs/fs-io.c:361 Modules linked in: CPU: 0 UID: 0 PID: 5363 Comm: syz.0.0 Not tainted 6.16.0-syzkaller-12016-gbec077162bd0 #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+0x179c/0x1a30 fs/bcachefs/fs-io.c:361 Code: 5f 5d e9 57 cc 3c 07 cc e8 d1 fb 7e fd 48 c7 c7 44 89 a3 8d e8 85 61 e9 ff 89 05 5f 53 85 15 e9 49 ea ff ff e8 b5 fb 7e fd 90 <0f> 0b 90 e9 26 f9 ff ff e8 37 e7 39 07 e8 a2 fb 7e fd be 00 10 00 RSP: 0018:ffffc9000d4b79e0 EFLAGS: 00010287 RAX: ffffffff8440bfab RBX: 0000000000000000 RCX: 0000000000100000 RDX: ffffc9000dff2000 RSI: 0000000000000e4f RDI: 0000000000000e50 RBP: ffffc9000d4b7bb0 R08: ffffea0000cc47c7 R09: 1ffffd40001988f8 R10: dffffc0000000000 R11: fffff940001988f9 R12: 1ffff1100880c8fd R13: dffffc0000000000 R14: ffff8880440647e8 R15: 8000000006ffffff FS: 00007f4f965fd6c0(0000) GS:ffff88808d218000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6df1d5b000 CR3: 0000000042147000 CR4: 0000000000352ef0 Call Trace: bch2_truncate_folios fs/bcachefs/fs-io.c:400 [inline] bchfs_fallocate+0x233/0x680 fs/bcachefs/fs-io.c:777 bch2_fallocate_dispatch+0x28a/0x410 fs/bcachefs/fs-io.c:836 vfs_fallocate+0x666/0x7e0 fs/open.c:342 ksys_fallocate fs/open.c:366 [inline] __do_sys_fallocate fs/open.c:371 [inline] __se_sys_fallocate fs/open.c:369 [inline] __x64_sys_fallocate+0xc0/0x110 fs/open.c:369 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4f9578ebe9 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:00007f4f965fd038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f4f959b5fa0 RCX: 00007f4f9578ebe9 RDX: 0000000000000cf7 RSI: 0000000000000010 RDI: 0000000000000009 RBP: 00007f4f95811e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000002c03 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4f959b6038 R14: 00007f4f959b5fa0 R15: 00007ffca08239b8