EXT4-fs error (device loop2): htree_dirblock_to_tree:1109: inode #2: block 13: comm syz-executor: bad entry in directory: rec_len % 4 != 0 - offset=108, inode=4294901777, rec_len=65535, size=1024 fake=0 ------------[ cut here ]------------ bad length passed for symlink [/tmp/syz-imagegen2884317625/] (got 39, expected 29) WARNING: CPU: 1 PID: 5831 at ./include/linux/fs.h:802 inode_set_cached_link include/linux/fs.h:802 [inline] WARNING: CPU: 1 PID: 5831 at ./include/linux/fs.h:802 __ext4_iget+0x3aa2/0x4310 fs/ext4/inode.c:5012 Modules linked in: CPU: 1 UID: 0 PID: 5831 Comm: syz-executor Not tainted 6.14.0-rc3-syzkaller-00079-g87a132e73910 #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 03 15 49 ff c6 05 5b 2a 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 2f 47 09 ff 90 <0f> 0b 90 90 e9 2d fd ff ff e8 f0 55 ab ff e9 f6 e6 ff ff e8 c6 54 RSP: 0018:ffffc90003367810 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff888078123e2c RCX: ffffffff817a1229 RDX: ffff88805d59bc00 RSI: ffffffff817a1236 RDI: 0000000000000001 RBP: ffffc90003367960 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 000000000000001d R13: 0000000000000000 R14: 0000000000002000 R15: ffff888078123e20 FS: 00005555638fa500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3031eff8 CR3: 000000005d55e000 CR4: 0000000000350ef0 Call Trace: ext4_lookup+0x37e/0x730 fs/ext4/namei.c:1813 __lookup_slow+0x252/0x470 fs/namei.c:1793 lookup_slow fs/namei.c:1810 [inline] walk_component+0x350/0x5b0 fs/namei.c:2114 lookup_last fs/namei.c:2612 [inline] path_lookupat+0x17f/0x770 fs/namei.c:2636 filename_lookup+0x221/0x5f0 fs/namei.c:2665 user_path_at+0x3a/0x60 fs/namei.c:3072 ksys_umount fs/namespace.c:2071 [inline] __do_sys_umount fs/namespace.c:2079 [inline] __se_sys_umount fs/namespace.c:2077 [inline] __x64_sys_umount+0x10b/0x1a0 fs/namespace.c:2077 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:0x7fc74798e117 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 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 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffeb0a03de8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc74798e117 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffeb0a03ea0 RBP: 00007ffeb0a03ea0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffeb0a04f90 R13: 00007fc747a0e08c R14: 0000000000018819 R15: 00007ffeb0a07150