Re: [PATCH] arm64: efi: Fix KASAN false positive for EFI runtime stack
From: Catalin Marinas
Date: Sun Jul 06 2025 - 20:45:26 EST
On Fri, Jul 04, 2025 at 02:40:17PM +0100, Mark Rutland wrote:
> On Fri, Jul 04, 2025 at 02:33:35PM +0100, Will Deacon wrote:
> > I would actually like to select VMAP_STACK unconditionally for arm64.
> > Historically, we were held back waiting for all the various KASAN modes
> > to support vmalloc properly, but I _think_ that's fixed now...
> >
> > The VMAP_STACK dependency is:
> >
> > depends on !KASAN || KASAN_HW_TAGS || KASAN_VMALLOC
> >
> > and in arm64 we have:
> >
> > select KASAN_VMALLOC if KASAN
> >
> > so it should be fine to select it afaict.
> >
> > Any reason not to do that?
>
> Not that I am aware of.
>
> I'm also in favour of unconditionally selecting VMAP_STACK.
So am I.
--
Catalin