Re: [PATCH v2] scs: Release kasan vmalloc poison in scs_free process
From: Will Deacon
Date: Thu Sep 30 2021 - 04:53:40 EST
On Thu, 30 Sep 2021 16:16:13 +0800, yee.lee@xxxxxxxxxxxx wrote:
> From: Yee Lee <yee.lee@xxxxxxxxxxxx>
>
> Since scs allocation is moved to vmalloc region, the
> shadow stack is protected by kasan_posion_vmalloc.
> However, the vfree_atomic operation needs to access
> its context for scs_free process and causes kasan error
> as the dump info below.
>
> [...]
Applied to arm64 (for-next/scs), thanks!
[1/1] scs: Release kasan vmalloc poison in scs_free process
https://git.kernel.org/arm64/c/528a4ab45300
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev