EXT4-fs error (device loop2): ext4_check_all_de:655: inode #12: block 7: comm syz.2.2062: bad entry in directory: inode out of bounds - offset=0, inode=16777215, rec_len=16, size=124 fake=0 ------------[ cut here ]------------ bad length passed for symlink [/tmp/syz-imagegen2884317625/] (got 39, expected 29) WARNING: CPU: 1 PID: 13434 at ./include/linux/fs.h:802 inode_set_cached_link include/linux/fs.h:802 [inline] WARNING: CPU: 1 PID: 13434 at ./include/linux/fs.h:802 __ext4_iget+0x3aa2/0x4310 fs/ext4/inode.c:5012 Modules linked in: CPU: 1 UID: 0 PID: 13434 Comm: syz.2.2062 Not tainted 6.14.0-rc3-syzkaller-00012-g2408a807bfc3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:inode_set_cached_link include/linux/fs.h:802 [inline] RIP: 0010:__ext4_iget+0x3aa2/0x4310 fs/ext4/inode.c:5012 Code: e8 e3 14 49 ff c6 05 fb 29 da 0d 01 90 8b 95 10 ff ff ff 44 89 e1 48 c7 c7 00 4c 85 8b 48 8b b5 f8 fe ff ff e8 0f 47 09 ff 90 <0f> 0b 90 90 e9 2d fd ff ff e8 b0 55 ab ff e9 f6 e6 ff ff e8 86 54 RSP: 0018:ffffc9000c7e7b38 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff888057f402bc RCX: ffffc90015675000 RDX: 0000000000080000 RSI: ffffffff817a1236 RDI: 0000000000000001 RBP: ffffc9000c7e7c88 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000002 R12: 000000000000001d R13: 0000000000000000 R14: 0000000000002000 R15: ffff888057f402b0 FS: 00007fc61c8606c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f26a7c308e5 CR3: 0000000031516000 CR4: 0000000000350ef0 Call Trace: ext4_lookup+0x37e/0x730 fs/ext4/namei.c:1813 lookup_one_qstr_excl+0x120/0x190 fs/namei.c:1693 do_unlinkat+0x2a0/0x760 fs/namei.c:4577 __do_sys_unlink fs/namei.c:4637 [inline] __se_sys_unlink fs/namei.c:4635 [inline] __x64_sys_unlink+0xc5/0x110 fs/namei.c:4635 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc61b98cde9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc61c860038 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00007fc61bba5fa0 RCX: 00007fc61b98cde9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000400000000100 RBP: 00007fc61ba0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc61bba5fa0 R15: 00007fff8b162ae8