mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+2a0d2af125c01db73079@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [mm?] [ntfs3?] kernel BUG in set_page_refcounted
Date: Mon,  4 Aug 2025 17:40:45 +0800	[thread overview]
Message-ID: <20250804094046.3872-1-hdanton@sina.com> (raw)
In-Reply-To: <688cfb9d.050a0220.f0410.012f.GAE@google.com>

On 01.08.25 19:38, syzbot wrote:
> Hello,
> 
> syzbot found the following issue on:
> 
> HEAD commit:    260f6f4fda93 Merge tag 'drm-next-2025-07-30' of https://gi..
> git tree:       upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=15c31834580000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=bb7581d3fb1bb0d7
> dashboard link: https://syzkaller.appspot.com/bug?extid=2a0d2af125c01db73079
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=149062a2580000

#syz test upstream master

--- x/mm/page_alloc.c
+++ y/mm/page_alloc.c
@@ -2974,6 +2974,8 @@ void free_unref_folios(struct folio_batc
 		unsigned int order = (unsigned long)folio->private;
 		int migratetype;
 
+		if (!free_pages_prepare(&folio->page, order))
+			continue;
 		folio->private = NULL;
 		migratetype = get_pfnblock_migratetype(&folio->page, pfn);
 
--

  parent reply	other threads:[~2025-08-04  9:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-01 17:38 syzbot
2025-08-04  8:18 ` David Hildenbrand
2025-08-04  9:40 ` Hillf Danton [this message]
2025-08-04 19:49   ` syzbot
2025-08-05  1:38     ` Hillf Danton

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=20250804094046.3872-1-hdanton@sina.com \
    --to=hdanton@sina.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzbot+2a0d2af125c01db73079@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®