EXT4-fs error (device loop0): htree_dirblock_to_tree:1092: inode #2: block 13: comm syz-executor345: 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:2836! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 298 Comm: syz-executor345 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 RIP: 0010:may_delete+0x7a5/0x7b0 fs/namei.c:2836 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c cb fd ff ff 48 89 df e8 bc 02 f5 ff e9 be fd ff ff e8 f2 74 ba ff 0f 0b e8 eb 74 ba 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:ffffc9000097fbe8 EFLAGS: 00010293 RAX: ffffffff81aa41d5 RBX: ffff88811aecf660 RCX: ffff888107589400 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffffc9000097fc60 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff5200012ff60 R12: ffff8881103cc290 R13: 1ffff110235d9ecc R14: ffff88811aeaecf0 R15: dffffc0000000000 FS: 000055557b24b3c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557b25c798 CR3: 0000000105ff7000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_rmdir+0x29/0x3c0 fs/namei.c:3883 incfs_kill_sb+0xf7/0x200 fs/incfs/vfs.c:1975 deactivate_locked_super+0xa0/0x100 fs/super.c:335 deactivate_super+0xaf/0xe0 fs/super.c:366 cleanup_mnt+0x44f/0x500 fs/namespace.c:1123 __cleanup_mnt+0x19/0x20 fs/namespace.c:1130 task_work_run+0x127/0x190 kernel/task_work.c:189 ptrace_notify+0x230/0x270 kernel/signal.c:2293 ptrace_report_syscall include/linux/tracehook.h:66 [inline] tracehook_report_syscall_exit include/linux/tracehook.h:129 [inline] arch_syscall_exit_tracehook include/linux/entry-common.h:285 [inline] syscall_exit_work+0x6e/0x140 kernel/entry/common.c:242 syscall_exit_to_user_mode_prepare kernel/entry/common.c:269 [inline] syscall_exit_to_user_mode+0x2f/0x40 kernel/entry/common.c:275 do_syscall_64+0x3d/0x40 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f44160987a7 Code: bf 41 4d 56 53 b8 9d 00 00 00 0f 05 83 f8 ea 75 a2 c7 05 e4 12 09 00 00 00 00 00 eb 96 e8 b1 05 00 00 90 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 d8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffdbd209608 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f44160987a7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffdbd2096c0 RBP: 00007ffdbd2096c0 R08: 00007ffdbd20a6c0 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffdbd20a7b0 R13: 000055557b254760 R14: 0000000000000001 R15: 431bde82d7b634db Modules linked in: ---[ end trace 1ddb58a8588c992a ]--- RIP: 0010:may_delete+0x7a5/0x7b0 fs/namei.c:2836 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c cb fd ff ff 48 89 df e8 bc 02 f5 ff e9 be fd ff ff e8 f2 74 ba ff 0f 0b e8 eb 74 ba 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:ffffc9000097fbe8 EFLAGS: 00010293 RAX: ffffffff81aa41d5 RBX: ffff88811aecf660 RCX: ffff888107589400 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffffc9000097fc60 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff5200012ff60 R12: ffff8881103cc290 R13: 1ffff110235d9ecc R14: ffff88811aeaecf0 R15: dffffc0000000000 FS: 000055557b24b3c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4a70665492 CR3: 0000000105ff7000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400