CVE-2026-45987
KVM: nSVM: Sync interrupt shadow to cached vmcb12 after VMRUN of L2
Check your servers for CVE-2026-45987
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-45987 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: Sync interrupt shadow to cached vmcb12 after VMRUN of L2
After VMRUN in guest mode, nested_sync_control_from_vmcb02() syncs fields written by the CPU from vmcb02 to the cached vmcb12. This is because the cached vmcb12 is used as the authoritative copy of some of the controls, and is the payload when saving/restoring nested state.
int_state is also written by the CPU, specifically bit 0 (i.e. SVM_INTERRUPT_SHADOW_MASK) for nested VMs, but it is not sync'd to cached vmcb12. This does not cause a problem if KVM_SET_NESTED_STATE preceeds KVM_SET_VCPU_EVENTS in the restore path, as an interrupt shadow would be correctly restored to vmcb02 (KVM_SET_VCPU_EVENTS overwrites what KVM_SET_NESTED_STATE restored in int_state).
However, if KVM_SET_VCPU_EVENTS preceeds KVM_SET_NESTED_STATE, an interrupt shadow would be restored into vmcb01 instead of vmcb02. This would mostly be benign for L1 (delays an interrupt), but not for L2. For L2, the vCPU could hang (e.g. if a wakeup interrupt is delivered before a HLT that should have been in an interrupt shadow).
Sync int_state to the cached vmcb12 in nested_sync_control_from_vmcb02() to avoid this problem. With that, KVM_SET_NESTED_STATE restores the correct interrupt shadow state, and if KVM_SET_VCPU_EVENTS follows it would overwrite it with the same value.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.00% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 6 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from cc440cdad5b7a4c1de12dace725209eb3e0cf663, before 0c1f74d8b74d8a31751fb6ea5417e48e02c93b58 affected from cc440cdad5b7a4c1de12dace725209eb3e0cf663, before 4b44aa1a134e499c4517597118378b308602a16c affected from cc440cdad5b7a4c1de12dace725209eb3e0cf663, before e39a77a9b1e17d2d831c304eafac4c41a784a0be affected from cc440cdad5b7a4c1de12dace725209eb3e0cf663, before 1709418535a8df95532999d61b03d59975280258 affected from cc440cdad5b7a4c1de12dace725209eb3e0cf663, before 2f950eeb27af6885416232761700b8820cae0a61 affected from cc440cdad5b7a4c1de12dace725209eb3e0cf663, before 497f6af9679fc9c6ce2f438e11ed5d51b1aa8297 affected from cc440cdad5b7a4c1de12dace725209eb3e0cf663, before e0377e52f3c10ee572732d11b04625b7f517a862 affected from cc440cdad5b7a4c1de12dace725209eb3e0cf663, before 03bee264f8ebfd39e0254c98e112d033a7aa9055
Other versions: unaffected
|
| Linux |
affected 5.8 unaffected before 5.8 unaffected from 5.10.258 up to and including 5.10.* unaffected from 5.15.209 up to and including 5.15.* unaffected from 6.1.175 up to and including 6.1.* unaffected from 6.6.140 up to and including 6.6.* unaffected from 6.12.86 up to and including 6.12.* unaffected from 6.18.27 up to and including 6.18.* unaffected from 7.0.4 up to and including 7.0.* unaffected 7.1 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-45987 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-45987
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-45987
trivy image --scanners vuln IMAGE | grep CVE-2026-45987
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/0c1f74d8b74d8a31751fb6ea5417e48e02c93b58 git.kernel.org
- https://git.kernel.org/stable/c/4b44aa1a134e499c4517597118378b308602a16c git.kernel.org
- https://git.kernel.org/stable/c/e39a77a9b1e17d2d831c304eafac4c41a784a0be git.kernel.org
- https://git.kernel.org/stable/c/1709418535a8df95532999d61b03d59975280258 git.kernel.org
- https://git.kernel.org/stable/c/2f950eeb27af6885416232761700b8820cae0a61 git.kernel.org
- https://git.kernel.org/stable/c/497f6af9679fc9c6ce2f438e11ed5d51b1aa8297 git.kernel.org
- https://git.kernel.org/stable/c/e0377e52f3c10ee572732d11b04625b7f517a862 git.kernel.org
- https://git.kernel.org/stable/c/03bee264f8ebfd39e0254c98e112d033a7aa9055 git.kernel.org
Source: the record CVE-2026-45987 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse