public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+b73c7d94a151e2ee1e9b@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Forwarded: Re: [syzbot] [netfs?] kernel BUG in netfs_perform_write
Date: Thu, 04 Sep 2025 17:46:25 -0700	[thread overview]
Message-ID: <68ba32e1.050a0220.192772.00d9.GAE@google.com> (raw)
In-Reply-To: <68b9d0eb.050a0220.192772.000c.GAE@google.com>

For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.

***

Subject: Re: [syzbot] [netfs?] kernel BUG in netfs_perform_write
Author: lizhi.xu@windriver.com

#syz test

diff --git a/fs/netfs/buffered_write.c b/fs/netfs/buffered_write.c
index f27ea5099a68..09394ac2c180 100644
--- a/fs/netfs/buffered_write.c
+++ b/fs/netfs/buffered_write.c
@@ -347,7 +347,7 @@ ssize_t netfs_perform_write(struct kiocb *iocb, struct iov_iter *iter,
 		folio_put(folio);
 		ret = filemap_write_and_wait_range(mapping, fpos, fpos + flen - 1);
 		if (ret < 0)
-			goto error_folio_unlock;
+			goto out;
 		continue;
 
 	copied:

  reply	other threads:[~2025-09-05  0:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-04 17:48 [syzbot] [netfs?] kernel BUG in netfs_perform_write syzbot
2025-09-05  0:46 ` syzbot [this message]
2025-09-05  1:59 ` [PATCH] netfs: Prevent duplicate unlocking Lizhi Xu
2025-09-08  2:34   ` Paulo Alcantara
2025-09-08  9:57   ` David Howells
2025-09-15 11:58   ` Christian Brauner

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=68ba32e1.050a0220.192772.00d9.GAE@google.com \
    --to=syzbot+b73c7d94a151e2ee1e9b@syzkaller.appspotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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