option from the mount to silence this warning. ======================================================= JBD2: Ignoring recovery information on journal ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. (syz.0.17,5955,1):ocfs2_truncate_log_append:5875 ERROR: bug expression: tl_count > ocfs2_truncate_recs_per_inode(osb->sb) || tl_count == 0 (syz.0.17,5955,0):ocfs2_truncate_log_append:5875 ERROR: Truncate record count on #77 invalid wanted 39, actual 40 ------------[ cut here ]------------ kernel BUG at fs/ocfs2/alloc.c:5875! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5955 Comm: syz.0.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:ocfs2_truncate_log_append+0x92e/0x940 fs/ocfs2/alloc.c:5869 Code: 0f b7 04 24 4c 89 ef 48 c7 c6 35 36 67 8c ba f3 16 00 00 48 c7 c1 00 77 e9 8a 4d 89 f0 41 89 d9 50 e8 46 d6 1c 00 48 83 c4 08 <0f> 0b e8 1b 25 3c fe 0f 0b e8 14 25 3c fe 0f 0b 66 90 55 41 57 41 RSP: 0018:ffffc900032c6be0 EFLAGS: 00010292 RAX: 5b6885bc35ecb200 RBX: 0000000000000027 RCX: 5b6885bc35ecb200 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc900032c6d10 R08: ffffc900032c6787 R09: 1ffff92000658cf0 R10: dffffc0000000000 R11: fffff52000658cf1 R12: ffff88806df8bac0 R13: ffffc900032c6c80 R14: 000000000000004d R15: 1ffff1100dbf1758 FS: 000055557ab92500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fba10620000 CR3: 00000000252dd000 CR4: 00000000003506f0 Call Trace: ocfs2_remove_btree_range+0x102c/0x1480 fs/ocfs2/alloc.c:5790 ocfs2_commit_truncate+0xb4b/0x21a0 fs/ocfs2/alloc.c:7354 ocfs2_truncate_file+0xc86/0x13a0 fs/ocfs2/file.c:509 ocfs2_setattr+0x150d/0x1b20 fs/ocfs2/file.c:1211 notify_change+0xb0d/0xe10 fs/attr.c:499 do_truncate+0x19b/0x220 fs/open.c:66 handle_truncate fs/namei.c:3291 [inline] do_open fs/namei.c:3636 [inline] path_openat+0x298c/0x3190 fs/namei.c:3789 do_filp_open+0x1c5/0x3d0 fs/namei.c:3816 do_sys_openat2+0x12c/0x1c0 fs/open.c:1419 do_sys_open fs/open.c:1434 [inline] __do_sys_openat fs/open.c:1450 [inline] __se_sys_openat fs/open.c:1445 [inline] __x64_sys_openat+0x139/0x160 fs/open.c:1445 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f3ebdb8ebe9 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:00007ffe81be4758 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f3ebddc5fa0 RCX: 00007f3ebdb8ebe9 RDX: 0000000000181242 RSI: 0000200000000180 RDI: ffffffffffffff9c RBP: 00007f3ebdc11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000148 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3ebddc5fa0 R14: 00007f3ebddc5fa0 R15: 0000000000000004 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_truncate_log_append+0x92e/0x940 fs/ocfs2/alloc.c:5869 Code: 0f b7 04 24 4c 89 ef 48 c7 c6 35 36 67 8c ba f3 16 00 00 48 c7 c1 00 77 e9 8a 4d 89 f0 41 89 d9 50 e8 46 d6 1c 00 48 83 c4 08 <0f> 0b e8 1b 25 3c fe 0f 0b e8 14 25 3c fe 0f 0b 66 90 55 41 57 41 RSP: 0018:ffffc900032c6be0 EFLAGS: 00010292 RAX: 5b6885bc35ecb200 RBX: 0000000000000027 RCX: 5b6885bc35ecb200 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc900032c6d10 R08: ffffc900032c6787 R09: 1ffff92000658cf0 R10: dffffc0000000000 R11: fffff52000658cf1 R12: ffff88806df8bac0 R13: ffffc900032c6c80 R14: 000000000000004d R15: 1ffff1100dbf1758 FS: 000055557ab92500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fba10620000 CR3: 00000000252dd000 CR4: 00000000003506f0