[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240602114905.1462-1-hdanton@sina.com>
Date: Sun, 2 Jun 2024 19:49:05 +0800
From: Hillf Danton <hdanton@...a.com>
To: syzbot <syzbot+848062ba19c8782ca5c8@...kaller.appspotmail.com>
Cc: linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [f2fs?] kernel BUG in f2fs_write_inline_data
On Sat, 01 Jun 2024 04:50:27 -0700
> syzbot has found a reproducer for the following issue on:
>
> HEAD commit: 0e1980c40b6e Add linux-next specific files for 20240531
> git tree: linux-next
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14d86426980000
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
--- x/fs/f2fs/data.c
+++ y/fs/f2fs/data.c
@@ -2854,7 +2854,7 @@ write:
set_inode_flag(inode, FI_HOT_DATA);
err = -EAGAIN;
- if (f2fs_has_inline_data(inode)) {
+ if (f2fs_has_inline_data(inode) && !page->index) {
err = f2fs_write_inline_data(inode, page);
if (!err)
goto out;
--
Powered by blists - more mailing lists