(syz-executor,4256,1):ocfs2_check_dir_entry:325 ERROR: bad entry in directory #65: rec_len % 4 != 0 - offset=0, inode=18445850719492431871, rec_len=44453, name_len=59 ------------[ cut here ]------------ kernel BUG at fs/ocfs2/alloc.c:6012! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4256 Comm: syz-executor Not tainted 6.1.141-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__ocfs2_flush_truncate_log+0x1061/0x11d0 fs/ocfs2/alloc.c:6012 Code: 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c ea fb ff ff 4c 89 ef e8 80 2e 9c fe e9 dd fb ff ff e8 56 b5 4a fe 0f 0b e8 4f b5 4a fe <0f> 0b 65 44 8b 35 75 f8 cb 7c 48 c7 c0 b0 87 fe 8d 48 c1 e8 03 48 RSP: 0018:ffffc900044f7840 EFLAGS: 00010293 RAX: ffffffff83362121 RBX: ffff888049f07a00 RCX: ffff888030be3b80 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc900044f7a78 R08: dffffc0000000000 R09: fffff5200089eef1 R10: fffff5200089eef1 R11: 1ffff9200089eef0 R12: 00000000ffffffff R13: ffff888054a93338 R14: ffff888079ac0000 R15: ffff88805608fc00 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1b685b5000 CR3: 000000007710f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_flush_truncate_log+0x4b/0x60 fs/ocfs2/alloc.c:6077 ocfs2_sync_fs+0x113/0x310 fs/ocfs2/super.c:402 sync_filesystem+0x1be/0x220 fs/sync.c:66 generic_shutdown_super+0x6b/0x340 fs/super.c:474 kill_block_super+0x7c/0xe0 fs/super.c:1470 deactivate_locked_super+0x93/0xf0 fs/super.c:332 cleanup_mnt+0x463/0x4f0 fs/namespace.c:1182 task_work_run+0x1ca/0x250 kernel/task_work.c:203 exit_task_work include/linux/task_work.h:39 [inline] do_exit+0x936/0x2400 kernel/exit.c:871 do_group_exit+0x217/0x2d0 kernel/exit.c:1021 __do_sys_exit_group kernel/exit.c:1032 [inline] __se_sys_exit_group kernel/exit.c:1030 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1030 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fc24658e929 Code: Unable to access opcode bytes at 0x7fc24658e8ff. RSP: 002b:00007ffe34917b58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007fc246610997 RCX: 00007fc24658e929 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000010 R08: 00007ffe349158f6 R09: 00007ffe34918e10 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe34918e10 R13: 00007fc246610925 R14: 0000555568f714a8 R15: 00007ffe34919ee0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__ocfs2_flush_truncate_log+0x1061/0x11d0 fs/ocfs2/alloc.c:6012 Code: 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c ea fb ff ff 4c 89 ef e8 80 2e 9c fe e9 dd fb ff ff e8 56 b5 4a fe 0f 0b e8 4f b5 4a fe <0f> 0b 65 44 8b 35 75 f8 cb 7c 48 c7 c0 b0 87 fe 8d 48 c1 e8 03 48 RSP: 0018:ffffc900044f7840 EFLAGS: 00010293 RAX: ffffffff83362121 RBX: ffff888049f07a00 RCX: ffff888030be3b80 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc900044f7a78 R08: dffffc0000000000 R09: fffff5200089eef1 R10: fffff5200089eef1 R11: 1ffff9200089eef0 R12: 00000000ffffffff R13: ffff888054a93338 R14: ffff888079ac0000 R15: ffff88805608fc00 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe83ff71d60 CR3: 000000000c68e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400