arm64: process: Fix context switching MTE store-only tag check
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.527.2.67.3In 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
From the CVE record · Linux
On arm64, the Linux kernel fails to clear the MTE store-only tag-check setting during a context switch. When a user opts in to that mode, the setting can carry over to another task. The input does not describe an attacker action or access requirements.
Engineers running the Linux kernel on arm64 should check their systems; affected versions are not specified.