EXT4-fs error (device loop7): 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:2794! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 795 Comm: syz-executor Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RAX: ffffffff81aa2f71 RBX: ffff888132d29770 RCX: ffff8881116313c0 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffffc90000e07d20 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff520001c0f78 R12: ffff888131d69f20 R13: 1ffff110265a52ee R14: ffff888132d29788 R15: ffff888131d1c250 FS: 0000555556b15500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556b40988 CR3: 0000000125211000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_rmdir+0x2c/0x3e0 fs/namei.c:3841 incfs_kill_sb+0xfe/0x210 fs/incfs/vfs.c:1973 deactivate_locked_super+0xa0/0x100 fs/super.c:335 deactivate_super+0xaf/0xe0 fs/super.c:366 cleanup_mnt+0x45b/0x510 fs/namespace.c:1123 __cleanup_mnt+0x19/0x20 fs/namespace.c:1130 task_work_run+0x127/0x190 kernel/task_work.c:189 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop+0xcb/0xe0 kernel/entry/common.c:172 exit_to_user_mode_prepare+0x76/0xa0 kernel/entry/common.c:199 syscall_exit_to_user_mode+0x1d/0x40 kernel/entry/common.c:274 do_syscall_64+0x3d/0x40 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fc9be55ff17 Code: a2 c7 05 7c 96 24 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffcc8570b28 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fc9be55ff17 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffcc8570be0 RBP: 00007ffcc8570be0 R08: 00007ffcc8571be0 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffcc8571cd0 R13: 00007fc9be5c871f R14: 0000000000014e75 R15: 00007ffcc8572da0 Modules linked in: ---[ end trace dc5c4beeb755ec75 ]--- RIP: 0010:may_delete+0x7b1/0x7c0 fs/namei.c:2794 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c dd fd ff ff 48 89 df e8 30 01 f5 ff e9 d0 fd ff ff e8 e6 84 ba ff 0f 0b e8 df 84 ba ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 48 89 e5 41 56 53 RSP: 0018:ffffc90000e07ca0 EFLAGS: 00010293 RAX: ffffffff81aa2f71 RBX: ffff888132d29770 RCX: ffff8881116313c0 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffffc90000e07d20 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff520001c0f78 R12: ffff888131d69f20 R13: 1ffff110265a52ee R14: ffff888132d29788 R15: ffff888131d1c250 FS: 0000555556b15500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbfb9a43000 CR3: 0000000125211000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400