mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: syzbot <syzbot+3db654d91b471c4d7a7d@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Forwarded: Re: [syzbot] [ntfs3?] WARNING in ntfs_evict_inode
Date: Sun, 20 Sep 2026 02:11:10 -0700	[thread overview]
Message-ID: <6aafa32e.514bccd6.255447.0005.GAE@google.com> (raw)
In-Reply-To: <6aab8055.71f81b7d.278072.0016.GAE@google.com>

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

***

Subject: Re: [syzbot] [ntfs3?] WARNING in ntfs_evict_inode
Author: adarshdas950@gmail.com

#syz test: 
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

diff --git a/fs/ntfs3/frecord.c b/fs/ntfs3/frecord.c
index bead01a953f3..5f833a75a829 100644
--- a/fs/ntfs3/frecord.c
+++ b/fs/ntfs3/frecord.c
@@ -7,6 +7,7 @@

  #include <linux/fiemap.h>
  #include <linux/fs.h>
+#include <linux/iomap.h>
  #include <linux/minmax.h>
  #include <linux/vmalloc.h>

@@ -1943,7 +1944,7 @@ int ni_read_folio_cmpr(struct ntfs_inode *ni, 
struct folio *folio)

  	if (vbo >= i_size_read(&ni->vfs_inode)) {
  		folio_zero_range(folio, 0, folio_size(folio));
-		folio_mark_uptodate(folio);
+		iomap_folio_mark_uptodate(folio);
  		err = 0;
  		goto out;
  	}
@@ -2521,7 +2522,8 @@ int ni_read_frame(struct ntfs_inode *ni, u64 
frame_vbo, struct page **pages,
  out:
  	for (i = 0; i < pages_per_frame; i++) {
  		pg = pages[i];
-		SetPageUptodate(pg);
+		if (pg)
+			iomap_folio_mark_uptodate(page_folio(pg));
  	}

  	return err;

  reply	other threads:[~2026-09-20  9:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-17  5:53 syzbot
2026-09-20  9:11 ` syzbot [this message]
2026-09-20  9:28 ` Forwarded: " syzbot
2026-09-20 10:34 ` syzbot
2026-09-20 11:01 ` syzbot
2026-09-20 12:52 ` 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=6aafa32e.514bccd6.255447.0005.GAE@google.com \
    --to=syzbot+3db654d91b471c4d7a7d@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

all inboxes | Powered by JetHome®