linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@infradead.org>
To: syzbot <syzbot+9c40fd6eff0f3277cc9e@syzkaller.appspotmail.com>
Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [mm?] kernel BUG in add_to_swap
Date: Wed, 20 Dec 2023 04:19:34 +0000	[thread overview]
Message-ID: <ZYJrVtMcNnwpdhhr@casper.infradead.org> (raw)
In-Reply-To: <000000000000678f8b060cdc9313@google.com>

On Tue, Dec 19, 2023 at 05:09:25AM -0800, syzbot wrote:
> raw: 05ffc00000480011 dead000000000100 dead000000000122 ffff0000d90d0aa1
> raw: 0000000000020ffd 0000000000000000 00000002ffffffff ffff00012a670000
> page dumped because: VM_BUG_ON_FOLIO(!folio_test_uptodate(folio))

The missing part of the dump:

 page:0000000058ec4ec0 refcount:2 mapcount:0 mapping:0000000000000000 index:0x20ffd pfn:0x16fc28
 memcg:ffff00012a670000
 anon flags: 0x5ffc00000480011(locked|dirty|swapbacked|hwpoison|node=0|zone=2|lastcpupid=0x7ff)
 page_type: 0xffffffff()
 raw: 05ffc00000480011 dead000000000100 dead000000000122 ffff0000d90d0aa1
 raw: 0000000000020ffd 0000000000000000 00000002ffffffff ffff00012a670000
 page dumped because: VM_BUG_ON_FOLIO(!folio_test_uptodate(folio))

I'm not sure how we get an anonymous dirty folio that's not uptodate.
It's order-0, so that doesn't implicate any of the recent positive-order
work.


      reply	other threads:[~2023-12-20  4:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-19 13:09 syzbot
2023-12-20  4:19 ` Matthew Wilcox [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=ZYJrVtMcNnwpdhhr@casper.infradead.org \
    --to=willy@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=syzbot+9c40fd6eff0f3277cc9e@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