EXT4-fs error (device loop4): htree_dirblock_to_tree:1092: inode #2: block 13: comm syz-executor: bad entry in directory: rec_len is smaller than minimal - offset=76, inode=0, rec_len=0, size=1024 fake=0 ------------[ cut here ]------------ kernel BUG at fs/namei.c:2786! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5919 Comm: syz-executor Not tainted 5.10.226-syzkaller-00709-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:may_delete+0x755/0x760 fs/namei.c:2786 Code: 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c db fd ff ff 4c 89 ef e8 0c 32 f4 ff e9 ce fd ff ff e8 42 98 b6 ff 0f 0b e8 3b 98 b6 ff <0f> 0b 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 56 53 48 89 fb e8 RSP: 0018:ffffc90000b57c90 EFLAGS: 00010293 RAX: ffffffff81b414b5 RBX: ffff888110aeb7a0 RCX: ffff888131213b40 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffffc90000b57d10 R08: ffffffff81b40dd3 R09: 0000000000000003 R10: fffff5200016af78 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff888123ef1330 R14: ffff888123e28780 R15: dffffc0000000000 FS: 000055555a095500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555a0c0528 CR3: 000000011ebf5000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: