Re: [PATCH] arm64: process: Fix context switching MTE store-only tag check

Will Deacon <[email protected]>
Newsgroups org.infradead.lists.linux-arm-kernel
Message-ID <[email protected]>
On Wed, 19 Aug 2026 15:48:59 +0100, Vladimir Murzin wrote:
> SCTLR_EL1.TCSO0 is set when user opt-in for MTE store-only tag check
> mode. However, it is not part of SCTLR_USER_MASK which imply that on
> context switch we never clear SCTLR_EL1.TCSO0, so we are leaking that
> setting into another task.
> 
> Fix that by including SCTLR_EL1_TCSO0_MASK into SCTLR_USER_MASK
> 
> [...]

Applied to arm64 (for-next/core), thanks!

[1/1] arm64: process: Fix context switching MTE store-only tag check
      https://git.kernel.org/arm64/c/b8f070ac3167

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.