Re: [PATCH 2/5] kmsan: fix usage of kmsan_enter_runtime() in kmsan_vmap_pages_range_noflush()

Alexander Potapenko
2025-05-08T08:32:23Z

On Thu, May 8, 2025 at 10:19 AM Alexander Potapenko <glider@google.com> wrote:
>
> On Wed, May 7, 2025 at 6:09 PM Marco Elver <elver@google.com> wrote:
> >
> > On Wed, 7 May 2025 at 18:00, Alexander Potapenko <glider@google.com> wrote:
> > >
> > > Only enter the runtime to call __vmap_pages_range_noflush(), so that error
> > > handling does not skip kmsan_leave_runtime().
> > >
> > > This bug was spotted by CONFIG_WARN_CAPABILITY_ANALYSIS=y
> >
> > Might be worth pointing out this is not yet upstream:
> > https://lore.kernel.org/all/20250304092417.2873893-1-elver@google.com/
>
> Thanks! I'll update the description (here and in the other patch) and
> post v2 later today.

Since Andrew picked the changes up already, we've decided there's no
need for a respin :)