Thread (4 messages) 4 messages, 2 authors, 2021-09-30

Re: [PATCH v2] scs: Release kasan vmalloc poison in scs_free process

flat view

From: Will Deacon <will@kernel.org>
Date: 2021-09-30 08:53:40
Also in: linux-mediatek, lkml

On Thu, 30 Sep 2021 16:16:13 +0800, yee.lee@mediatek.com wrote:
From: Yee Lee <redacted>

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help