Re: kernel BUG in ext4_writepages

From: Tadeusz Struk
Date: Thu May 19 2022 - 11:43:58 EST


On 5/19/22 05:23, Jan Kara wrote:
Hi!

On Tue 10-05-22 15:28:38, Tadeusz Struk wrote:
Syzbot found another BUG in ext4_writepages [1].
This time it complains about inode with inline data.
C reproducer can be found here [2]
I was able to trigger it on 5.18.0-rc6

[1] https://syzkaller.appspot.com/bug?id=a1e89d09bbbcbd5c4cb45db230ee28c822953984
[2] https://syzkaller.appspot.com/text?tag=ReproC&x=129da6caf00000

Thanks for report. This should be fixed by:

https://lore.kernel.org/all/20220516012752.17241-1-yebin10@xxxxxxxxxx/

Hi,
Thanks for info. I tested the patch, but it doesn't fix the issue.
In this case it doesn't even call ext4_convert_inline_data()

--
Thanks,
Tadeusz