In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Validate the SVE vector length in pkvm_vcpu_init_sve()… (CVE-2026-98638)
Description
A vulnerability in the Linux kernel's KVM arm64 implementation was resolved by improving validation of the SVE vector length in the pkvm_vcpu_init_sve() function. The issue involved insufficient validation of the host-provided sve_max_vl value, which could lead to a fatal condition at EL2 due to an invalid vector length causing a WARN_ON() trigger. The fix ensures that sve_vl_valid() is checked before calculating the state size, preventing invalid lengths from causing kernel faults.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's KVM arm64 subsystem had a vulnerability in the pkvm_vcpu_init_sve() function where only the upper bound of the host-provided sve_max_vl was clamped. This allowed invalid vector lengths to reach sve_state_size_from_vl(), triggering a WARN_ON() condition that is fatal at EL2. Although there was a subsequent test rejecting invalid lengths, it occurred after the macro execution that caused the fault. The fix adds a check with sve_vl_valid() before deriving the state size, ensuring invalid vector lengths are rejected earlier and preventing fatal kernel warnings.
Potential Impact
An invalid SVE vector length could cause a fatal kernel warning (WARN_ON()) at EL2 in the KVM arm64 virtualization context, potentially leading to a denial of service of the virtual machine or host system. No information about code execution or privilege escalation is provided.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to validate the SVE vector length properly in pkvm_vcpu_init_sve(). Users should apply the official kernel updates that include this patch. Since no vendor advisory or patch links are provided, check the Linux kernel mailing lists or official repositories for the patch and update guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-jqwq-p3w6-jffx
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98638"]
Threat ID: 6ad520ad2cdf04f656993a65
Added to database: 10/18/2026, 19:40:29 UTC
Last enriched: 10/18/2026, 21:34:10 UTC
Last updated: 10/19/2026, 00:08:20 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.