CVE-2026-45987
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-tools | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
| kernel-livepatch-6.18.30-61.116 | Amazon Linux | 1:1.0-0.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | cc440cdad5b7a4c1de12dace725209eb3e0cf663, cc440cdad5b7a4c1de12dace725209eb3e0cf663, cc440cdad5b7a4c1de12dace725209eb3e0cf663 |
| Linux | Linux | 5.8, 0, 5.10.258 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.18.30-61.116 | 0 |
| amazon:2023 | perf6.12 | 0 |
| linux | linux_kernel | 5.8, 5.8, 5.8 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel-devel | 0 |
| Linux | Linux | 7.1, *, * |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
…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