# CVE-2026-45987: KVM: nSVM: Sync interrupt shadow to cached vmcb12 after VMRUN of L2

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **Published:** 2026-05-27T12:55:38.653Z
- **Modified:** 2026-11-06T17:17:28.663Z

## Who should check

- Anyone running Linux \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 0c1f74d8b74d8a31751fb6ea5417e48e02c93b58; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 4b44aa1a134e499c4517597118378b308602a16c; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< e39a77a9b1e17d2d831c304eafac4c41a784a0be; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 1709418535a8df95532999d61b03d59975280258; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 2f950eeb27af6885416232761700b8820cae0a61; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 497f6af9679fc9c6ce2f438e11ed5d51b1aa8297; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< e0377e52f3c10ee572732d11b04625b7f517a862; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 03bee264f8ebfd39e0254c98e112d033a7aa9055
- Anyone running Linux 5.8

## 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.

## Affected and fixed versions

- Linux: \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 0c1f74d8b74d8a31751fb6ea5417e48e02c93b58; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 4b44aa1a134e499c4517597118378b308602a16c; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< e39a77a9b1e17d2d831c304eafac4c41a784a0be; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 1709418535a8df95532999d61b03d59975280258; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 2f950eeb27af6885416232761700b8820cae0a61; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 497f6af9679fc9c6ce2f438e11ed5d51b1aa8297; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< e0377e52f3c10ee572732d11b04625b7f517a862; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 03bee264f8ebfd39e0254c98e112d033a7aa9055 (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 03bee264f8ebfd39e0254c98e112d033a7aa9055 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-45987. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45987.md
Affected: Linux >= cc440cdad5b7a4c1de12dace725209eb3e0cf663, < 0c1f74d8b74d8a31751fb6ea5417e48e02c93b58; >= cc440cdad5b7a4c1de12dace725209eb3e0cf663, < 4b44aa1a134e499c4517597118378b308602a16c; >= cc440cdad5b7a4c1de12dace725209eb3e0cf663, < e39a77a9b1e17d2d831c304eafac4c41a784a0be; >= cc440cdad5b7a4c1de12dac…
Fixed in: Linux 0c1f74d8b74d8a31751fb6ea5417e48e02c93b58, Linux 4b44aa1a134e499c4517597118378b308602a16c, Linux 1709418535a8df95532999d61b03d59975280258, Linux 2f950eeb27af6885416232761700b8820cae0a61, Linux 497f6af9679fc9c6ce2f438e11ed5d51b1aa8297, Linux 03bee264f8ebfd39e0254c98e112d033a7aa9055

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-45987 being exploited?

There is no confirmed exploitation: CVE-2026-45987 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-45987?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-45987?

Linux \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 0c1f74d8b74d8a31751fb6ea5417e48e02c93b58; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 4b44aa1a134e499c4517597118378b308602a16c; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< e39a77a9b1e17d2d831c304eafac4c41a784a0be; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 1709418535a8df95532999d61b03d59975280258; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 2f950eeb27af6885416232761700b8820cae0a61; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 497f6af9679fc9c6ce2f438e11ed5d51b1aa8297; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< e0377e52f3c10ee572732d11b04625b7f517a862; \>= cc440cdad5b7a4c1de12dace725209eb3e0cf663, \< 03bee264f8ebfd39e0254c98e112d033a7aa9055; Linux 5.8.

### Is there a fix for CVE-2026-45987?

Yes. Fixed in Linux 0c1f74d8b74d8a31751fb6ea5417e48e02c93b58, Linux 4b44aa1a134e499c4517597118378b308602a16c, Linux 1709418535a8df95532999d61b03d59975280258, Linux 2f950eeb27af6885416232761700b8820cae0a61, Linux 497f6af9679fc9c6ce2f438e11ed5d51b1aa8297, Linux 03bee264f8ebfd39e0254c98e112d033a7aa9055. Upgrade Linux to 03bee264f8ebfd39e0254c98e112d033a7aa9055 or later.

### How do I check if I'm affected by CVE-2026-45987?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/0c1f74d8b74d8a31751fb6ea5417e48e02c93b58>
- patch: <https://git.kernel.org/stable/c/4b44aa1a134e499c4517597118378b308602a16c>
- patch: <https://git.kernel.org/stable/c/e39a77a9b1e17d2d831c304eafac4c41a784a0be>
- patch: <https://git.kernel.org/stable/c/1709418535a8df95532999d61b03d59975280258>
- patch: <https://git.kernel.org/stable/c/2f950eeb27af6885416232761700b8820cae0a61>
- patch: <https://git.kernel.org/stable/c/497f6af9679fc9c6ce2f438e11ed5d51b1aa8297>
- patch: <https://git.kernel.org/stable/c/e0377e52f3c10ee572732d11b04625b7f517a862>
- patch: <https://git.kernel.org/stable/c/03bee264f8ebfd39e0254c98e112d033a7aa9055>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-45987>

HTML: <https://flawdb.com/CVE-2026-45987> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-45987>
