Re: [syzbot] [mm?] [ext4?] WARNING in ext4_init_orphan_info
From: Jan Kara
Date: Tue Sep 09 2025 - 06:59:57 EST
On Mon 08-09-25 12:52:03, syzbot wrote:
> syzbot has bisected this issue to:
>
> commit 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37
> Author: Jan Kara <jack@xxxxxxx>
> Date: Mon Aug 16 09:57:06 2021 +0000
>
> ext4: Speedup ext4 orphan inode handling
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=16645562580000
> start commit: 76eeb9b8de98 Linux 6.17-rc5
> git tree: upstream
> final oops: https://syzkaller.appspot.com/x/report.txt?x=15645562580000
> console output: https://syzkaller.appspot.com/x/log.txt?x=11645562580000
> kernel config: https://syzkaller.appspot.com/x/.config?x=429771c55b615e85
> dashboard link: https://syzkaller.appspot.com/bug?extid=0b92850d68d9b12934f5
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=168d2562580000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15869562580000
>
> Reported-by: syzbot+0b92850d68d9b12934f5@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: 02f310fcf47f ("ext4: Speedup ext4 orphan inode handling")
>
> For information about bisection process see: https://goo.gl/tpsmEJ#bisection
Hum, yes, we don't verify orphan file size is sane. I'll send a fix.
Honza
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR