EXT4-fs error (device loop6): 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:2962! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 2151 Comm: syz-executor Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 RIP: 0010:may_delete+0x727/0x730 fs/namei.c:2962 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 82 fe ff ff 48 89 df e8 ca d9 f3 ff e9 75 fe ff ff e8 20 3f ae ff 0f 0b e8 19 3f ae ff <0f> 0b 0f 1f 80 00 00 00 00 55 48 89 e5 41 56 53 48 89 fb e8 01 3f RSP: 0018:ffffc9000bb6fc58 EFLAGS: 00010293 RAX: ffffffff81c33307 RBX: ffff888137ac0220 RCX: ffff88813dc66540 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffffc9000bb6fcb0 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff5200176df68 R12: 1ffff11026f58044 R13: 0000000000000001 R14: ffff888137988030 R15: dffffc0000000000 FS: 000055555f938500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000871030 CR3: 000000011c532000 CR4: 00000000003506a0 DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000002 DR3: ffffffffefffff15 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: vfs_rmdir+0x2f/0x4f0 fs/namei.c:4178 incfs_kill_sb+0xfe/0x210 fs/incfs/vfs.c:1997 deactivate_locked_super+0xb5/0x120 fs/super.c:336 deactivate_super+0xaf/0xe0 fs/super.c:367 cleanup_mnt+0x45e/0x4e0 fs/namespace.c:1192 __cleanup_mnt+0x19/0x20 fs/namespace.c:1199 task_work_run+0x1e1/0x250 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x9b/0xb0 kernel/entry/common.c:177 exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f7628baa747 Code: a2 c7 05 ac 2f 25 00 00 00 00 00 eb 96 e8 b1 13 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:00007ffe3b6ba6c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f7628baa747 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe3b6ba780 RBP: 00007ffe3b6ba780 R08: 00007ffe3b6bb780 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe3b6bb870 R13: 00007f7628c37433 R14: 0000000000021eb9 R15: 00007ffe3b6bc940 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:may_delete+0x727/0x730 fs/namei.c:2962 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 82 fe ff ff 48 89 df e8 ca d9 f3 ff e9 75 fe ff ff e8 20 3f ae ff 0f 0b e8 19 3f ae ff <0f> 0b 0f 1f 80 00 00 00 00 55 48 89 e5 41 56 53 48 89 fb e8 01 3f RSP: 0018:ffffc9000bb6fc58 EFLAGS: 00010293 RAX: ffffffff81c33307 RBX: ffff888137ac0220 RCX: ffff88813dc66540 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffffc9000bb6fcb0 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff5200176df68 R12: 1ffff11026f58044 R13: 0000000000000001 R14: ffff888137988030 R15: dffffc0000000000 FS: 000055555f938500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000871030 CR3: 000000011c532000 CR4: 00000000003506a0 DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000002 DR3: ffffffffefffff15 DR6: 00000000ffff0ff0 DR7: 0000000000000400