NILFS error (device loop3): nilfs_check_page: bad entry in directory #2: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 11898 at fs/buffer.c:1081 mark_buffer_dirty+0x394/0x7d0 Modules linked in: CPU: 1 PID: 11898 Comm: syz-executor.3 Not tainted 6.1.28-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:mark_buffer_dirty+0x394/0x7d0 fs/buffer.c:1081 Code: 1d e1 ff 48 8b 7d 00 be 04 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d e9 2b 72 fc ff e8 c6 d8 8a ff e9 42 ff ff ff e8 bc d8 8a ff <0f> 0b e9 b3 fc ff ff e8 b0 d8 8a ff 0f 0b e9 f6 fc ff ff e8 a4 d8 RSP: 0018:ffffc90003617540 EFLAGS: 00010246 RAX: ffffffff81fef704 RBX: ffff88803cf06001 RCX: 0000000000040000 RDX: ffffc9000b599000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000000 R08: ffffffff81fef3b1 R09: ffffed10072e6fd1 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88803f44a7c8 R13: ffff888034778000 R14: ffff88803cf06400 R15: ffff888039737e80 FS: 00007f60c7157700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd727f831b8 CR3: 0000000018703000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_palloc_commit_free_entry+0x45c/0x610 fs/nilfs2/alloc.c:626 nilfs_ifile_delete_inode+0x2cf/0x3e0 fs/nilfs2/ifile.c:127 nilfs_evict_inode+0x20c/0x420 fs/nilfs2/inode.c:937 evict+0x2a4/0x620 fs/inode.c:664 nilfs_add_nondir fs/nilfs2/namei.c:45 [inline] nilfs_create+0x213/0x2c0 fs/nilfs2/namei.c:92 lookup_open fs/namei.c:3413 [inline] open_last_lookups fs/namei.c:3481 [inline] path_openat+0x12f1/0x2e60 fs/namei.c:3711 do_filp_open+0x230/0x480 fs/namei.c:3741 do_sys_openat2+0x13b/0x500 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f60c648c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f60c7157168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f60c65abf80 RCX: 00007f60c648c169 RDX: 000000000000275a RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f60c64e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffffbadaaaf R14: 00007f60c7157300 R15: 0000000000022000