CVE-2026-139801
KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM
Check your servers for CVE-2026-139801
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139801 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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(walk_addr_generic), a guest can trigger:
------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in arch/x86/kvm/mmu/paging_tmpl.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> dump_stack_lvl+0x5f/0x90 dump_stack+0x10/0x18 ubsan_epilogue+0x9/0x39 __ubsan_handle_out_of_bounds.cold+0x50/0x55 paging32_walk_addr_generic+0x889/0x970 paging32_page_fault+0x79/0xa60 kvm_mmu_do_page_fault+0x125/0x270 kvm_mmu_page_fault+0x88/0x7b0 npf_interception+0xc8/0x220 [kvm_amd] svm_invoke_exit_handler+0x16d/0x1d0 [kvm_amd] svm_handle_exit+0xb7/0x160 [kvm_amd] vcpu_enter_guest+0x428/0x16a0 kvm_arch_vcpu_ioctl_run+0x479/0x920 kvm_vcpu_ioctl+0x316/0xb00 __x64_sys_ioctl+0xa3/0x100 x64_sys_call+0x281/0x23d0 do_syscall_64+0xba/0x550 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x79bb30deb04b </TASK> ---[ end trace ]---
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality none, integrity low, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.5% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 37be407b2ce807179108eeac788805848fe048f1, before 2809b85d6e3c719c1328c4d8c9687bcbdb66ae81 affected from 37be407b2ce807179108eeac788805848fe048f1, before 21f51c4589e248a59401e1718bebfd5dd1451538 affected from 37be407b2ce807179108eeac788805848fe048f1, before 0e46b23d4258cfef79af4876622b2928e5ad0e12 affected from 37be407b2ce807179108eeac788805848fe048f1, before 96f53e92062f43e451cd2a2f30979f2ec78728bf affected from 37be407b2ce807179108eeac788805848fe048f1, before 61ac218e9f816f82e46f7bee671557b52de21efd affected from 37be407b2ce807179108eeac788805848fe048f1, before 98c9b4348b33c7e575dff7d4dbac6df8e2f638e8 affected from 37be407b2ce807179108eeac788805848fe048f1, before 053621535f014085c935879582dd3b65964a0dce
Other versions: unaffected
|
| Linux |
affected 5.14 unaffected before 5.14 unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139801 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139801
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139801
trivy image --scanners vuln IMAGE | grep CVE-2026-139801
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/2809b85d6e3c719c1328c4d8c9687bcbdb66ae81 git.kernel.org
- https://git.kernel.org/stable/c/21f51c4589e248a59401e1718bebfd5dd1451538 git.kernel.org
- https://git.kernel.org/stable/c/0e46b23d4258cfef79af4876622b2928e5ad0e12 git.kernel.org
- https://git.kernel.org/stable/c/96f53e92062f43e451cd2a2f30979f2ec78728bf git.kernel.org
- https://git.kernel.org/stable/c/61ac218e9f816f82e46f7bee671557b52de21efd git.kernel.org
- https://git.kernel.org/stable/c/98c9b4348b33c7e575dff7d4dbac6df8e2f638e8 git.kernel.org
- https://git.kernel.org/stable/c/053621535f014085c935879582dd3b65964a0dce git.kernel.org
Source: the record CVE-2026-139801 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse