KernelScan.io

HIGH Introduced in 2.6.38

kvm SVM VmcbControl Escape

CVE-2026-98714

CVSS 7.8 / 10.0 KernelScan AI

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

01

In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Update control fields on #VMEXIT if and only if VMRUN succeeded Leave control.erap_ctl and control.clean as-is in the VMCS if VMRUN fails, because as per AMD: there's no explicit architectural guarantee about the behavior in the presence of VMRUN failures. So the best thing to do would be to assume that if VMRUN fails, the actions requested in the control fields may not have been performed.

02

Engine v0.9.0

Risk summary

This vulnerability affects systems running KVM with AMD SVM virtualization. A malicious guest VM can craft VMCB state that causes VMRUN to fail, leading the host kernel to incorrectly update VMCB control fields. This can result in VM escape, allowing the guest to compromise host kernel confidentiality, integrity, and availability.

Affectedarch/x86/kvm/svm/svm.c (KVM AMD SVM)

Vulnerability analysis

The KVM SVM hypervisor incorrectly updates VMCB control fields (erap_ctl and clean bits) after a VMRUN instruction fails. AMD architecture provides no guarantee that control field actions are performed when VMRUN fails, so the host must not assume they were processed. The fix ensures these fields are only updated when VMRUN succeeds, preventing inconsistent VMCB state that could be exploited by a malicious guest to escape the VM and execute code on the host. The bug is reachable by any local user with access to /dev/kvm (typically kvm group membership) who can launch a crafted AMD SVM guest.

03

BranchIntroducedFixed inPatch commit
6.122.6.386.12.1172e9b8c79ae6c
6.182.6.386.18.615d06e2f861d6
7.22.6.387.2.108676b29d186f
mainline2.6.387.3e27fc915c8f5

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Affected — no CIP fix yet (latest 6.12.114-cip34)
cip/6.1Affected — no CIP fix yet (latest 6.1.190-cip62)
cip/6.1-rtAffected — no CIP fix yet (latest 6.1.189-cip61-rt32)
cip/5.10Affected — no CIP fix yet (latest 5.10.272-cip79)
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.272-cip79-rt35)
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip137)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip136-rt50)
cip/4.4Affected — no CIP fix yet (latest 4.4.302-cip115)
cip/4.4-rtAffected — no CIP fix yet (latest 4.4.302-cip115-rt63)