[PATCH] arm64: efi: Fix KASAN false positive for EFI runtime stack
Mark Rutland
mark.rutland at arm.com
Fri Jul 4 06:40:17 PDT 2025
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.
Mark.
More information about the linux-arm-kernel
mailing list