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-98637 Overview
CVE-2026-98637 is a Linux kernel vulnerability in the KVM arm64 subsystem affecting protected KVM (pKVM) handling of the Scalable Vector Extension (SVE). The flaw lives in pkvm_vcpu_init_sve(), which clears KVM_ARM_VCPU_SVE in kvm->arch.vcpu_features on failure. The vcpu_has_sve() helper tests KVM_ARCH_FLAG_GUEST_HAS_SVE instead, and that flag is left set. Later vCPUs on the same VM skip SVE setup and register with a NULLsve_state. The guest's first floating-point access passes the null pointer to sve_load_state(), triggering a kernel null pointer dereference.
Critical Impact
A guest VM can trigger a host kernel null pointer dereference through SVE state loading after a failed vCPU initialization, leading to denial of service on arm64 hosts running protected KVM.
Affected Products
- Linux kernel (arm64) with KVM and protected KVM (pKVM) support
- Linux kernel builds enabling Scalable Vector Extension (SVE) for guests
- Stable branches referenced by the upstream fix commits
Discovery Timeline
- 2026-10-18 - CVE-2026-98637 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-98637
Vulnerability Analysis
The defect is a state-tracking inconsistency between two SVE feature indicators in the KVM arm64 code path. pkvm_vcpu_init_sve() fails during per-vCPU SVE initialization and attempts to roll back by clearing the per-VM KVM_ARM_VCPU_SVE bit in kvm->arch.vcpu_features. The runtime predicate vcpu_has_sve(), however, reads KVM_ARCH_FLAG_GUEST_HAS_SVE, which the rollback never touches. Subsequent vCPU creation on the same VM observes an inconsistent view: the feature appears disabled to the init path but enabled to the fast-path accessors. Those later vCPUs skip SVE buffer allocation and register with sve_state left as NULL. On the guest's first floating-point access, the host dereferences that null pointer inside sve_load_state(), oopsing the kernel.
Root Cause
The root cause is a missing invariant between kvm->arch.vcpu_features and KVM_ARCH_FLAG_GUEST_HAS_SVE. Clearing one without the other produces a half-rolled-back state. The upstream fix removes the mutation of vcpu_features on the error path and simply returns the error, keeping both indicators consistent.
Attack Vector
Exploitation requires the ability to create KVM guests on an arm64 host configured with pKVM and guest SVE support, and to influence an pkvm_vcpu_init_sve() failure for an early vCPU on a VM. A local privileged workload capable of launching VMs can then start additional vCPUs and execute SVE or floating-point instructions in the guest to trigger the host-side null pointer dereference. The result is a host kernel denial of service. No synthetic exploit code is published; see the upstream commits for the corrected logic: Linux Kernel Commit a1b3c78, Linux Kernel Commit bd46b41, and Linux Kernel Commit f0cd8ff.
Detection Methods for CVE-2026-98637
Indicators of Compromise
- Host kernel oops or panic referencing sve_load_state in the backtrace on arm64 KVM hosts.
- Repeated vCPU creation failures tied to pkvm_vcpu_init_sve() prior to a crash.
- Unexpected guest VM termination following the first SVE or FP instruction executed by the guest.
Detection Strategies
- Audit arm64 hypervisor hosts for kernel versions predating the fix commits a1b3c78, bd46b41, and f0cd8ff.
- Correlate dmesg kernel oops events with QEMU/libvirt vCPU initialization errors on the same host.
- Flag workloads that repeatedly create and destroy VMs with SVE features enabled on pKVM hosts.
Monitoring Recommendations
- Forward host dmesg and kern.log into centralized logging and alert on null pointer dereferences in KVM arm64 call stacks.
- Monitor libvirt and QEMU logs for KVM_ARM_VCPU_INIT failures referencing SVE.
- Track host availability metrics for arm64 KVM nodes to catch reboot cycles consistent with hypervisor crashes.
How to Mitigate CVE-2026-98637
Immediate Actions Required
- Update affected arm64 Linux kernels to a stable release that includes the upstream fix commits.
- Restrict VM creation privileges on arm64 pKVM hosts to trusted operators until patched.
- Review tenant workloads that enable guest SVE and schedule maintenance windows for kernel upgrades.
Patch Information
The fix removes the erroneous mutation of vcpu_features on the pkvm_vcpu_init_sve() failure path, returning the error without altering VM-wide SVE state. The patch is distributed across three stable commits: Linux Kernel Commit a1b3c78, Linux Kernel Commit bd46b41, and Linux Kernel Commit f0cd8ff. Apply the vendor kernel update that corresponds to your distribution's stable branch.
Workarounds
- Disable guest SVE exposure in VM definitions on affected arm64 pKVM hosts until patches are deployed.
- Avoid enabling protected KVM mode on hosts that cannot be updated promptly.
- Limit untrusted local users from invoking KVM_CREATE_VM and KVM_ARM_VCPU_INIT on vulnerable kernels.
# Verify running kernel and planned patch level on arm64 KVM hosts
uname -r
zcat /proc/config.gz | grep -E 'CONFIG_KVM|CONFIG_ARM64_SVE|CONFIG_PKVM'
# After updating, reboot into the patched kernel
sudo reboot
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

