Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98745 Overview
CVE-2026-98745 is a Linux kernel vulnerability in the arm64 floating-point SIMD (FPSIMD) signal handling code. The flaw affects systems where the Scalable Matrix Extension (SME) is supported but the Scalable Vector Extension (SVE) is not. A crafted SVE signal context can place a task into a non-streaming SVE state that the hardware does not support. Subsequent FPSIMD, SVE, or SME state manipulation can trigger fatal EL1 Undefined Instruction (UNDEF) exceptions, resulting in a kernel panic.
Critical Impact
A local user can craft a malicious signal frame to trigger a kernel panic (Oops - Undefined instruction: Fatal exception in interrupt) on SME-only arm64 hardware, resulting in denial of service.
Affected Products
- Linux kernel on arm64 platforms with SME support but without SVE support
- Stable kernel branches referenced by commits 052acee, 2bce6f0, 88c1c61, e060d90, and f233892
- Workloads running on arm64 hardware exposing SME-only configurations
Discovery Timeline
- 2026-10-18 - CVE-2026-98745 published to NVD
- 2026-10-21 - Last updated in NVD database
Technical Details for CVE-2026-98745
Vulnerability Analysis
The arm64 kernel signal handling path uses restore_sve_fpsimd_context() to reconstruct a task's vector register state after a signal returns. On systems where system_supports_sme() is true and system_supports_sve() is false, the kernel must enforce a strict contract on the SVE signal context. The flag SVE_SIG_FLAG_SM indicates whether the payload holds streaming-mode SVE state, and the recorded vector length (VL) must be zero when the flag is clear.
The original implementation rejected the case where SVE_SIG_FLAG_SM was set without an SVE payload. It failed to reject the inverse case: SVE_SIG_FLAG_SM clear while an SVE payload is present. Restoring that combination writes non-streaming SVE state into a task that cannot legally hold such state on SME-only hardware. This is a kernel input validation flaw tied to improper signal frame parsing.
Root Cause
The root cause is incomplete validation of signal context combinations in restore_sve_fpsimd_context(). The function did not enforce the invariant that an SVE payload must only accompany a context flagged for streaming mode on SME-only systems. A task left in an illegal state later triggers an UNDEF when the kernel attempts to restore ZCR_EL1 or related control registers.
Attack Vector
A local unprivileged attacker on affected arm64 hardware can craft a sigreturn frame containing an SVE payload with SVE_SIG_FLAG_SM cleared. After returning from the signal handler, the task holds illegal SVE state. The next context switch or state restore triggers an EL1 UNDEF, producing the kernel oops shown in the upstream report (fpsimd_restore_current_state+0x258/0x458) and a Kernel panic - not syncing on configurations where panic-on-oops is enabled. Verified code examples are not available; see the upstream commits for the exact patch logic.
Detection Methods for CVE-2026-98745
Indicators of Compromise
- Kernel log entries containing Oops - Undefined instruction with a program counter inside fpsimd_restore_current_state
- Unexpected Kernel panic - not syncing: Fatal exception in interrupt events on arm64 hosts advertising SME but not SVE
- Processes invoking rt_sigreturn immediately before crash events on SME-capable systems
Detection Strategies
- Collect and parse dmesg and /var/log/kern.log for arm64 UNDEF oops traces referencing FPSIMD/SVE restore paths
- Correlate kernel crash telemetry with the presence of the sme CPU feature and absence of sve in /proc/cpuinfo
- Baseline sigreturn and signal-handling syscall patterns per workload to flag anomalous SVE context manipulation
Monitoring Recommendations
- Forward kernel crash dumps and kdump artifacts to a centralized log pipeline for pattern matching
- Alert on repeated kernel oops events originating from the same user or container, which indicates probing
- Track kernel versions across arm64 fleets to confirm patch coverage against the referenced stable commits
How to Mitigate CVE-2026-98745
Immediate Actions Required
- Apply the upstream Linux kernel patches referenced by commits 052acee, 2bce6f0, 88c1c61, e060d90, and f233892
- Prioritize patching arm64 hosts whose CPUs advertise SME without SVE support
- Rebuild and redeploy custom kernels that include arm64 FPSIMD signal handling code
Patch Information
The fix reworks restore_sve_fpsimd_context() to reject signal frames where SVE_SIG_FLAG_SM is clear while an SVE payload is present. Because parse_user_sigframe() already rejects SVE signal frames on systems without SVE or SME support, the patch does not need to handle that scenario. Patches are available via the Kernel Commit 052acee, Kernel Commit 2bce6f0, Kernel Commit 88c1c61, Kernel Commit e060d90, and Kernel Commit f233892.
Workarounds
- Restrict local shell access on arm64 SME-only hosts until kernel patches are deployed
- Enforce seccomp policies that limit untrusted workloads' ability to craft arbitrary signal frames
- Run sensitive workloads on arm64 hardware configurations that are not affected by the SME-only state combination
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

