CVE-2026-90094: arm64: process: Fix context switching MTE store-only tag check
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
arm64: process: Fix context switching MTE store-only tag check
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
The Linux kernel CVE team has assigned CVE-2026-90094 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.17 with commit 4d51ff5bba00a13ca9b0b24883fa7adb07a167fc and fixed in 6.18.52 with commit 00a73ce437e27fdc636a5ede445a4a491e01788d Issue introduced in 6.17 with commit 4d51ff5bba00a13ca9b0b24883fa7adb07a167fc and fixed in 7.2.6 with commit 2f10bc3ff24c91657887901c3235b803e5055f2b Issue introduced in 6.17 with commit 4d51ff5bba00a13ca9b0b24883fa7adb07a167fc and fixed in 7.3-rc1 with commit b8f070ac3167595069feb1f794c127b805115645
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-90094
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
arch/arm64/include/asm/processor.h
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/00a73ce437e27fdc636a5ede445a4a491e01788d https://git.kernel.org/stable/c/2f10bc3ff24c91657887901c3235b803e5055f2b https://git.kernel.org/stable/c/b8f070ac3167595069feb1f794c127b805115645