EXT4-fs error (device loop5): htree_dirblock_to_tree:1112: 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:2941! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 824 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:may_delete+0x727/0x730 fs/namei.c:2941 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 82 fe ff ff 48 89 df e8 6a 2c f5 ff e9 75 fe ff ff e8 10 bd b5 ff 0f 0b e8 09 bd b5 ff <0f> 0b 0f 1f 80 00 00 00 00 55 48 89 e5 41 56 53 48 89 fb e8 f1 bc RSP: 0018:ffffc9000120fb48 EFLAGS: 00010293 RAX: ffffffff81b3f9d7 RBX: ffff88812f23f220 RCX: ffff88810fb94f00 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffffc9000120fba0 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52000241f48 R12: 1ffff11025e47e44 R13: 0000000000000001 R14: ffff88812f23d140 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000005fff8 CR3: 000000012712f000 CR4: 00000000003526b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_rmdir+0x2f/0x450 fs/namei.c:4138 incfs_kill_sb+0xfe/0x210 fs/incfs/vfs.c:1989 deactivate_locked_super+0xa0/0x100 fs/super.c:335 deactivate_super+0xaf/0xe0 fs/super.c:366 cleanup_mnt+0x44f/0x500 fs/namespace.c:1149 __cleanup_mnt+0x19/0x20 fs/namespace.c:1156 task_work_run+0x127/0x190 kernel/task_work.c:188 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0xb70/0x29a0 kernel/exit.c:890 do_group_exit+0x149/0x310 kernel/exit.c:1004 __do_sys_exit_group kernel/exit.c:1015 [inline] __se_sys_exit_group kernel/exit.c:1013 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1013 x64_sys_call+0x832/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f8b91507019 Code: Unable to access opcode bytes at RIP 0x7f8b91506fef. RSP: 002b:00007ffd182b17a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f8b9159d4bc RCX: 00007f8b91507019 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000009 R08: 0000000000000000 R09: 00007f8b9159d45c R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd182b2a60 R13: 00007f8b9159d45c R14: 0000555575a184e8 R15: 00007ffd182b4c20 Modules linked in: ---[ end trace 1578be052e0a3f7d ]--- RIP: 0010:may_delete+0x727/0x730 fs/namei.c:2941 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 82 fe ff ff 48 89 df e8 6a 2c f5 ff e9 75 fe ff ff e8 10 bd b5 ff 0f 0b e8 09 bd b5 ff <0f> 0b 0f 1f 80 00 00 00 00 55 48 89 e5 41 56 53 48 89 fb e8 f1 bc RSP: 0018:ffffc9000120fb48 EFLAGS: 00010293 RAX: ffffffff81b3f9d7 RBX: ffff88812f23f220 RCX: ffff88810fb94f00 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffffc9000120fba0 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52000241f48 R12: 1ffff11025e47e44 R13: 0000000000000001 R14: ffff88812f23d140 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f44f3b9d000 CR3: 000000010d6ca000 CR4: 00000000003526a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400