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-98713 Overview
CVE-2026-98713 affects the Linux kernel's KVM (Kernel-based Virtual Machine) implementation on arm64 architectures. The flaw resides in how Fine-Grained UNDEFs (FGUs) are applied to virtual CPUs. The original code gated FGU trap configuration insertion on the presence of the FEAT_FGT hardware feature, which was unnecessary.
On hardware without FEAT_FGT, running a TLBI OS instruction inside a guest at vEL1 without FEAT_TLBIOS triggers the coarse-grained HCR_EL2.TTLBOS trap. The trap reaches handle_tlbi_el1(), which expects an EL1 TLBI only from vEL2, producing a spurious kernel warning. The fix allows FGUs to always apply, injecting the UNDEF without requiring the specific handler.
Critical Impact
Guest-triggerable spurious WARN in the host kernel when executing specific TLBI instructions on arm64 hardware lacking FEAT_FGT, affecting KVM virtualization stability.
Affected Products
- Linux kernel KVM subsystem on arm64 platforms
- Virtualization hosts running on arm64 hardware without FEAT_FGT
- Guest VMs executing TLBI operations at vEL1 without FEAT_TLBIOS
Discovery Timeline
- 2026-10-18 - CVE-2026-98713 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-98713
Vulnerability Analysis
The vulnerability exists in the arm64 KVM trap configuration logic. KVM uses two trap mechanisms on arm64: coarse-grained traps via HCR_EL2 and fine-grained traps enabled through the FEAT_FGT architectural feature. Fine-Grained UNDEFs provide a software-only mechanism to inject undefined instruction exceptions into guests for specific operations.
The original implementation incorrectly conditioned FGU trap configuration insertion on the presence of FEAT_FGT hardware support. FGUs do not require FEAT_FGT because kvm_calculate_traps() already computes the FGU bits regardless of hardware availability. This gating caused incorrect fallback behavior on older arm64 CPUs.
When a guest at vEL1 executed a TLBI OS instruction on hardware without FEAT_TLBIOS, the coarse-grained HCR_EL2.TTLBOS trap fired. Control reached handle_tlbi_el1(), which assumes EL1 TLBI operations arrive only from a nested virtualization vEL2 context, triggering a WARN in the host.
Root Cause
The root cause is a configuration flaw [CWE category: configuration/design]. The FGU trap insertion path was unnecessarily gated on FEAT_FGT hardware capability, preventing software-defined UNDEF injection on hardware that lacks fine-grained trap support but still benefits from the software abstraction.
Attack Vector
A guest running at vEL1 on an arm64 host without FEAT_FGT can execute a TLBI OS instruction to reach the mishandled trap path. The resulting WARN represents a kernel assertion failure originating from guest-controlled input. The condition is a correctness and stability issue in KVM arm64 trap dispatch rather than a memory corruption primitive.
See the upstream references for technical details: Kernel Commit 1113374a, Kernel Commit 2f4a15c5, Kernel Commit 4bdd2b3a, and Kernel Commit af3300b3a.
Detection Methods for CVE-2026-98713
Indicators of Compromise
- Spurious WARN entries in host dmesg originating from handle_tlbi_el1() on arm64 KVM hosts.
- Guest VMs issuing TLBI OS instructions on hosts lacking FEAT_FGT and FEAT_TLBIOS.
- Repeated kernel stack traces referencing arm64 KVM trap handlers tied to vEL1 TLBI operations.
Detection Strategies
- Audit arm64 virtualization hosts for CPU feature flags, specifically absence of FEAT_FGT and FEAT_TLBIOS, using /proc/cpuinfo and KVM capability queries.
- Enable kernel log forwarding to a centralized log pipeline and alert on WARN_ON events from the KVM arm64 subsystem.
- Correlate guest instruction traces with host kernel warnings to identify guests triggering the spurious trap path.
Monitoring Recommendations
- Continuously ingest dmesg and /var/log/kern.log from arm64 hypervisor hosts into a centralized logging platform.
- Create alerting rules for KVM arm64 handler warnings and nested virtualization anomalies.
- Track kernel version inventory across arm64 fleet to prioritize patched hosts.
How to Mitigate CVE-2026-98713
Immediate Actions Required
- Inventory arm64 KVM hypervisor hosts and identify kernel versions requiring the upstream fix.
- Apply the stable kernel updates referenced in the upstream commits as soon as the distribution ships them.
- Restrict workloads on affected hosts to trusted guest images until patches are deployed.
Patch Information
The fix removes the FEAT_FGT gating around FGU trap configuration insertion, allowing FGUs to apply unconditionally. Review the upstream patches: Kernel Commit 1113374a, Kernel Commit 2f4a15c5, Kernel Commit 4bdd2b3a, and Kernel Commit af3300b3a. Rebuild and reboot affected hosts after applying.
Workarounds
- Avoid running untrusted guests on arm64 hardware that lacks FEAT_FGT until the patched kernel is deployed.
- Where feasible, migrate virtualization workloads to arm64 hardware that supports FEAT_FGT and FEAT_TLBIOS.
- Suppress non-security guest-triggered TLBI OS operations through guest-side kernel configuration where guest images are controlled.
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

