From: Muchun Song <muchun.song@linux.dev>
To: Oscar Salvador <osalvador@suse.de>
Cc: syzbot <syzbot+3b9148f91b7869120e81@syzkaller.appspotmail.com>,
David Hildenbrand <david@redhat.com>,
Matthew Wilcox <willy@infradead.org>,
Andrew Morton <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>,
Linux-MM <linux-mm@kvack.org>,
syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [mm?] kernel BUG in const_folio_flags
Date: Fri, 22 Mar 2024 11:24:10 +0800 [thread overview]
Message-ID: <1349A15A-341F-4EE4-AD40-805A97A9FFD1@linux.dev> (raw)
In-Reply-To: <ZfwJ0JOgcMCTcSgZ@localhost.localdomain>
> On Mar 21, 2024, at 18:20, Oscar Salvador <osalvador@suse.de> wrote:
>
> On Thu, Mar 21, 2024 at 05:49:49PM +0800, Muchun Song wrote:
>> There are some more page dumping information from console:
>>
>> [ 61.367144][ T42] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888028132880 pfn:0x28130
>> [ 61.371430][ T42] flags: 0xfff80000000000(node=0|zone=1|lastcpupid=0xfff)
>> [ 61.374455][ T42] page_type: 0xffffffff()
>> [ 61.376096][ T42] raw: 00fff80000000000 ffff888015ecd540 dead000000000100 0000000000000000
>> [ 61.379994][ T42] raw: ffff888028132880 0000000000190000 00000000ffffffff 0000000000000000
>>
>> Alright, the page is freed (with a refcount of 0).
>
> Yes, basically the page changed betwen folio_test_large() (returned true
> for PG_Head) and the call to const_folio_flags() (which now returned
> false for PG_Head).
>
> As David pointed out, Willy is working on making PageHutelb more
> robust [1].
>
>
> [1] https://lore.kernel.org/linux-mm/20240314012506.1600378-1-willy@infradead.org/
Sorry, I am not on the CC list, so I didn't know this. But thank
you and David for this information, I think it could fix this problem.
Muchun,
Thanks.
prev parent reply other threads:[~2024-03-22 3:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-21 4:04 syzbot
2024-03-21 9:49 ` Muchun Song
2024-03-21 9:58 ` David Hildenbrand
2024-03-21 10:20 ` Oscar Salvador
2024-03-22 3:24 ` Muchun Song [this message]
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=1349A15A-341F-4EE4-AD40-805A97A9FFD1@linux.dev \
--to=muchun.song@linux.dev \
--cc=akpm@linux-foundation.org \
--cc=david@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=osalvador@suse.de \
--cc=syzbot+3b9148f91b7869120e81@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
--cc=willy@infradead.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