Re: [syzbot] [ext4?] KASAN: slab-use-after-free Read in ext4_convert_inline_data_nolock

From: Jan Kara
Date: Thu Feb 01 2024 - 04:19:06 EST


On Thu 01-02-24 00:20:04, 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=1606d4ffe80000
> start commit: 3a93e40326c8 Merge tag 'for-linus' of git://git.kernel.org..
> git tree: upstream
> kernel config: https://syzkaller.appspot.com/x/.config?x=9c35b3803e5ad668
> dashboard link: https://syzkaller.appspot.com/bug?extid=db6caad9ebd2c8022b41
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11a2cd05c80000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=158e1f29c80000
>
> If the result looks correct, please mark the issue as fixed by replying with:

Yep, the reproducer seems to mess with the loop device itself.

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

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