From: Andrew Morton <akpm@linux-foundation.org>
To: Ke Zhao <ke.zhao.kernel@gmail.com>
Cc: Vlastimil Babka <vbabka@kernel.org>,
Suren Baghdasaryan <surenb@google.com>,
Michal Hocko <mhocko@suse.com>,
John Hubbard <jhubbard@nvidia.com>,
Brendan Jackman <jackmanb@google.com>,
Johannes Weiner <hannes@cmpxchg.org>, Zi Yan <ziy@nvidia.com>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org,
syzbot+2aee6839a252e612ce34@syzkaller.appspotmail.com
Subject: Re: [PATCH v2] mm, KMSAN: Add missing shadow memory initialization in special allocation paths
Date: Fri, 24 Apr 2026 10:06:54 -0700 [thread overview]
Message-ID: <20260424100654.6379109008b57b4affd1cd8f@linux-foundation.org> (raw)
In-Reply-To: <20260413-fix-kmsan-v2-1-9cc8a53c36c7@gmail.com>
On Mon, 13 Apr 2026 10:12:40 +0800 Ke Zhao <ke.zhao.kernel@gmail.com> wrote:
> Some page allocation paths that call post_alloc_hook() but skip
> kmsan_alloc_page(), leaving stale KMSAN shadow on allocated pages.
> Although there is no reproducer for this issue, this patch should
> be able to fix it by explicitly calling kmsan_alloc_page()
> after they successfully get new pages.
>
Please refresh, retest and resend this.
When doing so, please cc the people who commented on the v1 patch
(Vlastimil, Usama).
Please also cc the KMSAN developers, as listed in the MAINTAINERS file.
Thanks.
prev parent reply other threads:[~2026-04-24 17:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-13 2:12 [PATCH v2] mm, KMSAN: Add missing shadow memory initialization in special allocation paths Ke Zhao
2026-04-24 17:06 ` Andrew Morton [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=20260424100654.6379109008b57b4affd1cd8f@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=hannes@cmpxchg.org \
--cc=jackmanb@google.com \
--cc=jhubbard@nvidia.com \
--cc=ke.zhao.kernel@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.com \
--cc=surenb@google.com \
--cc=syzbot+2aee6839a252e612ce34@syzkaller.appspotmail.com \
--cc=vbabka@kernel.org \
--cc=ziy@nvidia.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