CVE-2026-23114

Source
https://cve.org/CVERecord?id=CVE-2026-23114
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23114.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-23114
Downstream
Published
2026-02-14T15:09:47.048Z
Modified
2026-02-14T19:59:44.987088Z
Summary
arm64/fpsimd: ptrace: Fix SVE writes on !SME systems
Details

In the Linux kernel, the following vulnerability has been resolved:

arm64/fpsimd: ptrace: Fix SVE writes on !SME systems

When SVE is supported but SME is not supported, a ptrace write to the NTARMSVE regset can place the tracee into an invalid state where (non-streaming) SVE register data is stored in FPSTATESVE format but TIFSVE is clear. This can result in a later warning from fpsimdrestorecurrentstate(), e.g.

WARNING: CPU: 0 PID: 7214 at arch/arm64/kernel/fpsimd.c:383 fpsimdrestorecurrent_state+0x50c/0x748

When this happens, fpsimdrestorecurrentstate() will set TIFSVE, placing the task into the correct state. This occurs before any other check of TIFSVE can possibly occur, as other checks of TIFSVE only happen while the FPSIMD/SVE/SME state is live. Thus, aside from the warning, there is no functional issue.

This bug was introduced during rework to error handling in commit:

9f8bf718f2923 ("arm64/fpsimd: ptrace: Gracefully handle errors")

... where the setting of TIFSVE was moved into a block which is only executed when systemsupports_sme() is true.

Fix this by removing the systemsupportssme() check. This ensures that TIFSVE is set for (SVE-formatted) writes to NTARMSVE, at the cost of unconditionally manipulating the tracee's saved svcr value. The manipulation of svcr is benign and inexpensive, and we already do similar elsewhere (e.g. during signal handling), so I don't think it's worth guarding this with systemsupports_sme() checks.

Aside from the above, there is no functional change. The 'type' argument to svesetcommon() is only set to ARM64VECSME (in ssveset())) when systemsupportssme(), so the ARM64VECSME case in the switch statement is still unreachable when !systemsupportssme(). When CONFIGARM64SME=n, the only caller of svesetcommon() is sveset(), and the compiler can constant-fold for the case where type is ARM64VECSVE, removing the logic for other cases.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23114.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9f8bf718f29230e38a048d08fc3063e316cd60c1
Fixed
4f39984176e7edcaba3432b6c649c6fe93bf2f80
Fixed
128a7494a9f15aad60cc6b7e3546bf481ac54a13

Affected versions

v6.*
v6.15
v6.15-rc2
v6.15-rc3
v6.15-rc4
v6.15-rc5
v6.15-rc6
v6.15-rc7
v6.16
v6.16-rc1
v6.16-rc2
v6.16-rc3
v6.16-rc4
v6.16-rc5
v6.16-rc6
v6.16-rc7
v6.17
v6.17-rc1
v6.17-rc2
v6.17-rc3
v6.17-rc4
v6.17-rc5
v6.17-rc6
v6.17-rc7
v6.18
v6.18-rc1
v6.18-rc2
v6.18-rc3
v6.18-rc4
v6.18-rc5
v6.18-rc6
v6.18-rc7
v6.18.1
v6.18.2
v6.18.3
v6.18.4
v6.18.5
v6.18.6
v6.18.7
v6.19-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23114.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.18.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23114.json"