# CVE-2026-23102: arm64/fpsimd: signal: Fix restoration of SVE context

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-02-04T16:08:24.034Z
- **Modified:** 2026-11-05T22:18:01.957Z

## Who should check

- Anyone running Linux \>= 85ed24dad2904f7c141911d91b7807ab02694b5e, \< 9bc3adba8c35119be80ab20217027720446742f2; \>= 85ed24dad2904f7c141911d91b7807ab02694b5e, \< ce820dd4e6e2d711242dc4331713b9bb4fe06d09; \>= 85ed24dad2904f7c141911d91b7807ab02694b5e, \< 7b5a52cf252a0d2e89787b645290ad288878f332; \>= 85ed24dad2904f7c141911d91b7807ab02694b5e, \< d2907cbe9ea0a54cbe078076f9d089240ee1e2d9
- Anyone running Linux 5.19

## Description

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

arm64/fpsimd: signal: Fix restoration of SVE context

When SME is supported, Restoring SVE signal context can go wrong in a
few ways, including placing the task into an invalid state where the
kernel may read from out-of-bounds memory (and may potentially take a
fatal fault) and/or may kill the task with a SIGKILL.

(1) Restoring a context with SVE\_SIG\_FLAG\_SM set can place the task into
    an invalid state where SVCR.SM is set (and sve\_state is non-NULL)
    but TIF\_SME is clear, consequently resuting in out-of-bounds memory
    reads and/or killing the task with SIGKILL.

    This can only occur in unusual (but legitimate) cases where the SVE
    signal context has either been modified by userspace or was saved in
    the context of another task (e.g. as with CRIU), as otherwise the
    presence of an SVE signal context with SVE\_SIG\_FLAG\_SM implies that
    TIF\_SME is already set.

    While in this state, task\_fpsimd\_load() will NOT configure SMCR\_ELx
    (leaving some arbitrary value configured in hardware) before
    restoring SVCR and attempting to restore the streaming mode SVE
    registers from memory via sve\_load\_state(). As the value of
    SMCR\_ELx.LEN may be larger than the task's streaming SVE vector
    length, this may read memory outside of the task's allocated
    sve\_state, reading unrelated data and/or triggering a fault.

    While this can result in secrets being loaded into streaming SVE
    registers, these values are never exposed. As TIF\_SME is clear,
    fpsimd\_bind\_task\_to\_cpu() will configure CPACR\_ELx.SMEN to trap EL0
    accesses to streaming mode SVE registers, so these cannot be
    accessed directly at EL0. As fpsimd\_save\_user\_state() verifies the
    live vector length before saving (S)SVE state to memory, no secret
    values can be saved back to memory (and hence cannot be observed via
    ptrace, signals, etc).

    When the live vector length doesn't match the expected vector length
    for the task, fpsimd\_save\_user\_state() will send a fatal SIGKILL
    signal to the task. Hence the task may be killed after executing
    userspace for some period of time.

(2) Restoring a context with SVE\_SIG\_FLAG\_SM clear does not clear the
    task's SVCR.SM. If SVCR.SM was set prior to restoring the context,
    then the task will be left in streaming mode unexpectedly, and some
    register state will be combined inconsistently, though the task will
    be left in legitimate state from the kernel's PoV.

    This can only occur in unusual (but legitimate) cases where ptrace
    has been used to set SVCR.SM after entry to the sigreturn syscall,
    as syscall entry clears SVCR.SM.

    In these cases, the the provided SVE register data will be loaded
    into the task's sve\_state using the non-streaming SVE vector length
    and the FPSIMD registers will be merged into this using the
    streaming SVE vector length.

Fix (1) by setting TIF\_SME when setting SVCR.SM. This also requires
ensuring that the task's sme\_state has been allocated, but as this could
contain live ZA state, it should not be zeroed. Fix (2) by clearing
SVCR.SM when restoring a SVE signal context with SVE\_SIG\_FLAG\_SM clear.

For consistency, I've pulled the manipulation of SVCR, TIF\_SVE, TIF\_SME,
and fp\_type earlier, immediately after the allocation of
sve\_state/sme\_state, before the restore of the actual register state.
This makes it easier to ensure that these are always modified
consistently, even if a fault is taken while reading the register data
from the signal context. I do not expect any software to depend on the
exact state restored when a fault is taken while reading the context.

## Affected and fixed versions

- Linux: \>= 85ed24dad2904f7c141911d91b7807ab02694b5e, \< 9bc3adba8c35119be80ab20217027720446742f2; \>= 85ed24dad2904f7c141911d91b7807ab02694b5e, \< ce820dd4e6e2d711242dc4331713b9bb4fe06d09; \>= 85ed24dad2904f7c141911d91b7807ab02694b5e, \< 7b5a52cf252a0d2e89787b645290ad288878f332; \>= 85ed24dad2904f7c141911d91b7807ab02694b5e, \< d2907cbe9ea0a54cbe078076f9d089240ee1e2d9 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23102. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23102.md
Affected: Linux >= 85ed24dad2904f7c141911d91b7807ab02694b5e, < 9bc3adba8c35119be80ab20217027720446742f2; >= 85ed24dad2904f7c141911d91b7807ab02694b5e, < ce820dd4e6e2d711242dc4331713b9bb4fe06d09; >= 85ed24dad2904f7c141911d91b7807ab02694b5e, < 7b5a52cf252a0d2e89787b645290ad288878f332; >= 85ed24dad2904f7c141911d…
Fixed in: Linux 9bc3adba8c35119be80ab20217027720446742f2, Linux 7b5a52cf252a0d2e89787b645290ad288878f332

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23102 being exploited?

There is no confirmed exploitation: CVE-2026-23102 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23102?

High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23102?

Linux \>= 85ed24dad2904f7c141911d91b7807ab02694b5e, \< 9bc3adba8c35119be80ab20217027720446742f2; \>= 85ed24dad2904f7c141911d91b7807ab02694b5e, \< ce820dd4e6e2d711242dc4331713b9bb4fe06d09; \>= 85ed24dad2904f7c141911d91b7807ab02694b5e, \< 7b5a52cf252a0d2e89787b645290ad288878f332; \>= 85ed24dad2904f7c141911d91b7807ab02694b5e, \< d2907cbe9ea0a54cbe078076f9d089240ee1e2d9; Linux 5.19.

### Is there a fix for CVE-2026-23102?

Yes. Fixed in Linux 9bc3adba8c35119be80ab20217027720446742f2, Linux 7b5a52cf252a0d2e89787b645290ad288878f332. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-23102?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/9bc3adba8c35119be80ab20217027720446742f2>
- patch: <https://git.kernel.org/stable/c/ce820dd4e6e2d711242dc4331713b9bb4fe06d09>
- patch: <https://git.kernel.org/stable/c/7b5a52cf252a0d2e89787b645290ad288878f332>
- patch: <https://git.kernel.org/stable/c/d2907cbe9ea0a54cbe078076f9d089240ee1e2d9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23102>

HTML: <https://flawdb.com/CVE-2026-23102> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23102>
