Re: [syzbot] [ext4?] kernel BUG in ext4_enable_quotas

From: Jan Kara
Date: Mon Feb 12 2024 - 08:34:52 EST

On Sat 10-02-24 06:59:05, 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:
> start commit: 89bf6209cad6 Merge tag 'devicetree-fixes-for-6.5-2' of git..
> git tree: upstream
> kernel config:
> dashboard link:
> syz repro:
> C reproducer:
> If the result looks correct, please mark the issue as fixed by replying with:

The syzbot reproducer seems to mess with multiple ext4 mounts stacked on
one another and the loop device as well. Quite likely it managed to corrupt
the mounted filesystem. So:

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

Jan Kara <jack@xxxxxxxx>