[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175163682742.1322301.12219137975972256785.b4-ty@kernel.org>
Date: Fri, 4 Jul 2025 18:44:15 +0100
From: Will Deacon <will@...nel.org>
To: Catalin Marinas <catalin.marinas@....com>,
Breno Leitao <leitao@...ian.org>
Cc: kernel-team@...roid.com,
Will Deacon <will@...nel.org>,
usamaarif642@...il.com,
Ard Biesheuvel <ardb@...nel.org>,
rmikey@...a.com,
andreyknvl@...il.com,
kasan-dev@...glegroups.com,
linux-efi@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
leo.yan@....com,
kernel-team@...a.com,
mark.rutland@....com
Subject: Re: [PATCH v2] arm64: efi: Fix KASAN false positive for EFI runtime stack
On Fri, 04 Jul 2025 05:47:07 -0700, Breno Leitao wrote:
> KASAN reports invalid accesses during arch_stack_walk() for EFI runtime
> services due to vmalloc tagging[1]. The EFI runtime stack must be allocated
> with KASAN tags reset to avoid false positives.
>
> This patch uses arch_alloc_vmap_stack() instead of __vmalloc_node() for
> EFI stack allocation, which internally calls kasan_reset_tag()
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: efi: Fix KASAN false positive for EFI runtime stack
https://git.kernel.org/arm64/c/ef8923e6c051
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists