From: David Hildenbrand <david@redhat.com>
To: syzbot <syzbot+6e4f59235036c3c2e296@syzkaller.appspotmail.com>,
akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
linux-mm@kvack.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [mm?] WARNING in page_add_anon_rmap
Date: Mon, 18 Sep 2023 09:41:07 +0200 [thread overview]
Message-ID: <c5d93115-43c1-784b-8e21-70c3cc876778@redhat.com> (raw)
In-Reply-To: <0000000000008bf71d06059a2276@google.com>
On 18.09.23 05:57, syzbot wrote:
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 98897dc735cf Add linux-next specific files for 20230914
> git tree: linux-next
> console+strace: https://syzkaller.appspot.com/x/log.txt?x=1214a152680000
> kernel config: https://syzkaller.appspot.com/x/.config?x=1502c503717ada5c
> dashboard link: https://syzkaller.appspot.com/bug?extid=6e4f59235036c3c2e296
> compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15869ea0680000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15f1b952680000
>
> Downloadable assets:
> disk image: https://storage.googleapis.com/syzbot-assets/00e4c0af5a8a/disk-98897dc7.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/7b54a00eee56/vmlinux-98897dc7.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/100094353b8e/bzImage-98897dc7.xz
>
> The issue was bisected to:
>
> commit b8575fa4abaa1dee1a61f1f27a86a02757310a7e
> Author: David Hildenbrand <david@redhat.com>
> Date: Wed Sep 13 12:51:12 2023 +0000
>
> mm/rmap: simplify PageAnonExclusive sanity checks when adding anon rmap
>
Right, when PTE-mapping a THP we temporarily have an entire mapping and
a sub-page mapping. It would even be clearer when passing RMAP_EXCLUSIVE
from __split_huge_pmd_locked(), then setting it manually. But that's a
different story; lets' fixup that sanity check first.
--
Cheers,
David / dhildenb
next prev parent reply other threads:[~2023-09-18 7:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-18 3:57 syzbot
2023-09-18 7:41 ` David Hildenbrand [this message]
2023-09-18 10:00 ` David Hildenbrand
2023-09-18 12:32 ` Matthew Wilcox
2023-09-18 12:36 ` syzbot
2023-09-18 12:53 ` David Hildenbrand
2023-09-18 13:14 ` 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=c5d93115-43c1-784b-8e21-70c3cc876778@redhat.com \
--to=david@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=syzbot+6e4f59235036c3c2e296@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®