Re: [syzbot] [ext4?] WARNING in inode_set_cached_link

From: Mateusz Guzik
Date: Sat Feb 08 2025 - 13:23:58 EST


For posterity this is expected, the ex4 fix is here:
https://lore.kernel.org/linux-hardening/67a3b38f.050a0220.19061f.05ea.GAE@xxxxxxxxxx/T/#mb782935cc6926dd5642984189d922135f023ec43

On Sat, Feb 8, 2025 at 7:21 PM syzbot
<syzbot+2cca5ef7e5ed862c0799@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> syzbot has bisected this issue to:
>
> commit 6408a56623761f969537b421d99f045a4cc955b9
> Author: Mateusz Guzik <mjguzik@xxxxxxxxx>
> Date: Tue Feb 4 21:32:07 2025 +0000
>
> vfs: sanity check the length passed to inode_set_cached_link()
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=152ffca4580000
> start commit: 808eb958781e Add linux-next specific files for 20250206
> git tree: linux-next
> final oops: https://syzkaller.appspot.com/x/report.txt?x=172ffca4580000
> console output: https://syzkaller.appspot.com/x/log.txt?x=132ffca4580000
> kernel config: https://syzkaller.appspot.com/x/.config?x=88b25e5d30d576e4
> dashboard link: https://syzkaller.appspot.com/bug?extid=2cca5ef7e5ed862c0799
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=161241b0580000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16ee80e4580000
>
> Reported-by: syzbot+2cca5ef7e5ed862c0799@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: 6408a5662376 ("vfs: sanity check the length passed to inode_set_cached_link()")
>
> For information about bisection process see: https://goo.gl/tpsmEJ#bisection



--
Mateusz Guzik <mjguzik gmail.com>