CVE-2026-139801: KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM

When doing RSM to L2, validate L1's state after copying it back into vmcb01 from SMRAM, as SMRAM is carved out of guest memory, i.e. is writable by the guest. Failure to validate L1's state is especially problematic for inputs to MMU context, as KVM can end up with impossible CR4 vs. EFER state. E.g. without the recent hardening FNAME(walkaddrgeneric), a guest can trigger:

------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in arch/x86/kvm/mmu/pagingtmpl.h:435:15 index 3 is out of range for type 'u32 [2]' CPU: 3 UID: 0 PID: 92 Comm: CPU 1/KVM Not tainted 7.3.0-rc1 #2 PREEMPT(lazy) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org 04/01/2014 Call Trace: <TASK> dumpstacklvl+0x5f/0x90 dumpstack+0x10/0x18 ubsanepilogue+0x9/0x39 ubsanhandleoutofbounds.cold+0x50/0x55 paging32walkaddrgeneric+0x889/0x970 paging32pagefault+0x79/0xa60 kvmmmudopagefault+0x125/0x270 kvmmmupagefault+0x88/0x7b0 npfinterception+0xc8/0x220 [kvmamd] svminvokeexithandler+0x16d/0x1d0 [kvmamd] svmhandleexit+0xb7/0x160 [kvmamd] vcpuenterguest+0x428/0x16a0 kvmarchvcpuioctlrun+0x479/0x920 kvmvcpuioctl+0x316/0xb00 x64sysioctl+0xa3/0x100 x64syscall+0x281/0x23d0 dosyscall64+0xba/0x550 entrySYSCALL64afterhwframe+0x76/0x7e RIP: 0033:0x79bb30deb04b </TASK> ---[ end trace ]---

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:38 PM
Data Sourced
via MITRE·01:38 PM
Description

Frequently Asked Questions

1

Which environments are exposed to this issue?

The issue affects Linux kernel KVM environments using nested SVM (nSVM), specifically when an RSM transition returns to an L2 guest. It concerns vmcs01 state restored from SMRAM, which is carved from guest memory and can be modified by the guest.

2

What would an attacker need to do to trigger the vulnerable path?

An attacker needs control of a guest in a nested-SVM setup and must be able to influence the state copied from SMRAM during RSM to L2. The unsafe state can produce incompatible CR4 and EFER values that are then used by KVM's MMU context.

3

What evidence could indicate that the issue has been triggered?

The supplied example shows an UBSAN array-index-out-of-bounds report in arch/x86/kvm/mmu/paging_tmpl.h during paging32_walk_addr_generic, reached through KVM MMU page-fault handling and the kvm_amd module. Such a trace is an indicator of the described invalid-state path, but its absence does not establish that a system is unaffected.

4

What is the available remediation?

Apply a Linux kernel update containing the fix that validates L1 state after it is copied from SMRAM back into vmcb01. The provided stable-tree references identify commits carrying the remediation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203