VDB

CVE-2026-45987

CVE-2026-45987 PUBLISHED

KVM: nSVM: Sync interrupt shadow to cached vmcb12 after VMRUN of L2

Reported by linux · Published May 27, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-toolsAmazon Linux1:6.12.88-119.157.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.30-61.116.amzn2023
bpftool6.12Amazon Linux1:6.12.88-119.157.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.88-119.157.amzn2023
kernel-livepatch-6.18.30-61.116Amazon Linux1:1.0-0.amzn2023
perf6.12Amazon Linux1:6.12.88-119.157.amzn2023

Affected products

VendorProductVersions
LinuxLinuxcc440cdad5b7a4c1de12dace725209eb3e0cf663, cc440cdad5b7a4c1de12dace725209eb3e0cf663, cc440cdad5b7a4c1de12dace725209eb3e0cf663
LinuxLinux5.8, 0, 5.10.258
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-tools-devel0
amazon:2023bpftool6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-livepatch-6.18.30-61.1160
amazon:2023perf6.120
linuxlinux_kernel5.8, 5.8, 5.8
amazon:2023kernel-headers0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel-devel0
LinuxLinux7.1, *, *
amazon:2023kernel-modules-extra-common0
amazon:2023bpftool0
amazon:2023kernel-tools0
amazon:2023kernel6.18-devel0
amazon:2023python3-perf0
amazon:2023kernel-tools-devel0
amazon:2023kernel6.12-modules-extra-common0

…and 17 more

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (13 in total, the first dated here)
  • May 29, 2026 Security Advisory (131 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (128 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-45987
vulnetix vdb fixes CVE-2026-45987

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-45987/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›