HIGH Introduced in 2.6.38
kvm SVM VmcbControl Escape
CVE-2026-98714
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
01Description
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.
02KernelScan AI Analysis
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.
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.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 6.12 | 2.6.38 | 6.12.117 | 2e9b8c79ae6c |
| 6.18 | 2.6.38 | 6.18.61 | 5d06e2f861d6 |
| 7.2 | 2.6.38 | 7.2.10 | 8676b29d186f |
| mainline | 2.6.38 | 7.3 | e27fc915c8f5 |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Affected — no CIP fix yet (latest 6.12.114-cip34) |
| cip/6.1 | Affected — no CIP fix yet (latest 6.1.190-cip62) |
| cip/6.1-rt | Affected — no CIP fix yet (latest 6.1.189-cip61-rt32) |
| cip/5.10 | Affected — no CIP fix yet (latest 5.10.272-cip79) |
| cip/5.10-rt | Affected — no CIP fix yet (latest 5.10.272-cip79-rt35) |
| cip/4.19 | Affected — no CIP fix yet (latest 4.19.325-cip137) |
| cip/4.19-rt | Affected — no CIP fix yet (latest 4.19.325-cip136-rt50) |
| cip/4.4 | Affected — no CIP fix yet (latest 4.4.302-cip115) |
| cip/4.4-rt | Affected — no CIP fix yet (latest 4.4.302-cip115-rt63) |