VFS_WARN_ON_INODE(strlen(link) != linklen): inode:ffff8880556a4ac8 fs:erofs mode:120777 opflags:0x8 flags:0x0 state:0x1 count:1 ------------[ cut here ]------------ 1 WARNING: ./include/linux/fs.h:953 at inode_set_cached_link include/linux/fs.h:953 [inline], CPU#0: syz.0.286/7073 WARNING: ./include/linux/fs.h:953 at erofs_fill_symlink fs/erofs/inode.c:25 [inline], CPU#0: syz.0.286/7073 WARNING: ./include/linux/fs.h:953 at erofs_read_inode fs/erofs/inode.c:160 [inline], CPU#0: syz.0.286/7073 WARNING: ./include/linux/fs.h:953 at erofs_fill_inode fs/erofs/inode.c:222 [inline], CPU#0: syz.0.286/7073 WARNING: ./include/linux/fs.h:953 at erofs_iget+0x1fce/0x2bb0 fs/erofs/inode.c:291, CPU#0: syz.0.286/7073 Modules linked in: CPU: 0 UID: 0 PID: 7073 Comm: syz.0.286 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026 RIP: 0010:inode_set_cached_link include/linux/fs.h:953 [inline] RIP: 0010:erofs_fill_symlink fs/erofs/inode.c:25 [inline] RIP: 0010:erofs_read_inode fs/erofs/inode.c:160 [inline] RIP: 0010:erofs_fill_inode fs/erofs/inode.c:222 [inline] RIP: 0010:erofs_iget+0x1fce/0x2bb0 fs/erofs/inode.c:291 Code: 0f 8c e4 e1 ff ff 48 89 df e8 fe a6 e1 fd e9 d7 e1 ff ff e8 74 45 78 fd 48 8b 7c 24 10 48 c7 c6 00 9b 1e 8c e8 83 3e fc fd 90 <0f> 0b 90 e9 3c fe ff ff e8 55 45 78 fd 48 8b 7c 24 10 48 c7 c6 80 RSP: 0018:ffffc90003a8f700 EFLAGS: 00010246 RAX: 2fe91e3d89451800 RBX: 0000000000000001 RCX: 2fe91e3d89451800 RDX: ffffc90004591000 RSI: 000000000000480e RDI: 000000000000480f RBP: ffffc90003a8f920 R08: ffffc90003a8f2e7 R09: 1ffff92000751e5c R10: dffffc0000000000 R11: fffff52000751e5d R12: 0000000000000027 R13: 1ffff1100aad4963 R14: 0000000000000027 R15: ffff888035d94b00 FS: 00007f028e8866c0(0000) GS:ffff888125296000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000007dfc2000 CR4: 00000000003526f0 Call Trace: erofs_lookup+0x186/0x320 fs/erofs/namei.c:214 __lookup_slow+0x2b7/0x410 fs/namei.c:1916 lookup_slow+0x53/0x70 fs/namei.c:1933 walk_component fs/namei.c:2279 [inline] lookup_last fs/namei.c:2780 [inline] path_lookupat+0x3f5/0x8c0 fs/namei.c:2804 filename_lookup+0x256/0x5d0 fs/namei.c:2833 user_path_at+0x40/0x160 fs/namei.c:3612 inotify_find_inode fs/notify/inotify/inotify_user.c:377 [inline] __do_sys_inotify_add_watch fs/notify/inotify/inotify_user.c:771 [inline] __se_sys_inotify_add_watch+0x18a/0xf20 fs/notify/inotify/inotify_user.c:729 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f028d99aeb9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f028e886028 EFLAGS: 00000246 ORIG_RAX: 00000000000000fe RAX: ffffffffffffffda RBX: 00007f028dc15fa0 RCX: 00007f028d99aeb9 RDX: 0000000082000804 RSI: 00002000000002c0 RDI: 0000000000000005 RBP: 00007f028da08c1f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f028dc16038 R14: 00007f028dc15fa0 R15: 00007fff5d0cef58