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

From: Alexander Potapenko
Date: Thu May 08 2025 - 04:32:53 EST


On Thu, May 8, 2025 at 10:19 AM Alexander Potapenko <glider@xxxxxxxxxx> wrote:
>
> On Wed, May 7, 2025 at 6:09 PM Marco Elver <elver@xxxxxxxxxx> wrote:
> >
> > On Wed, 7 May 2025 at 18:00, Alexander Potapenko <glider@xxxxxxxxxx> 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@xxxxxxxxxx/
>
> 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 :)