Re: [syzbot] [jfs?] KASAN: slab-out-of-bounds Read in jfs_readdir

From: Jan Kara
Date: Thu Mar 07 2024 - 04:35:40 EST


On Sun 03-03-24 19:53:03, syzbot wrote:
> syzbot suspects this issue was fixed by commit:
>
> commit 6f861765464f43a71462d52026fbddfc858239a5
> Author: Jan Kara <jack@xxxxxxx>
> Date: Wed Nov 1 17:43:10 2023 +0000
>
> fs: Block writes to mounted block devices
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=16b9e3ca180000
> start commit: 2772d7df3c93 Merge tag 'riscv-for-linus-6.5-rc2' of git://..
> git tree: upstream
> kernel config: https://syzkaller.appspot.com/x/.config?x=6d0f369ef5fb88c9
> dashboard link: https://syzkaller.appspot.com/bug?extid=f328fbf8718edb712341
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10233f38a80000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11d35c1aa80000
>
> If the result looks correct, please mark the issue as fixed by replying with:

Likely corrupted fs so that logdev == fsdev and this fixed it. We could
perhaps add some sanity checking but does anybody care enough about JFS?

#syz fix: fs: Block writes to mounted block devices

Honza
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR