From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+848062ba19c8782ca5c8@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [f2fs?] kernel BUG in f2fs_write_inline_data
Date: Sun, 2 Jun 2024 19:49:05 +0800 [thread overview]
Message-ID: <20240602114905.1462-1-hdanton@sina.com> (raw)
In-Reply-To: <000000000000d0d5e20619d2b486@google.com>
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;
--
next prev parent reply other threads:[~2024-06-02 11:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-30 10:04 syzbot
2024-06-01 11:50 ` syzbot
2024-06-02 1:16 ` Chao Yu
2024-06-02 3:46 ` syzbot
2024-06-02 11:49 ` Hillf Danton [this message]
2024-06-02 12:24 ` syzbot
2024-06-02 14:27 ` Chao Yu
2024-06-02 15:30 ` syzbot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240602114905.1462-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+848062ba19c8782ca5c8@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®