# CVE-2026-46059: KVM: nSVM: Always use NextRIP as vmcb02's NextRIP after first L2 VMRUN

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 3% of CVEs (2026-11-30)
- Published: 2026-05-27T12:57:19.928Z
- Modified: 2026-11-06T17:17:33.673Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

KVM: nSVM: Always use NextRIP as vmcb02's NextRIP after first L2 VMRUN

For guests with NRIPS disabled, L1 does not provide NextRIP when running
an L2 with an injected soft interrupt, instead it advances the current RIP
before running it. KVM uses the current RIP as the NextRIP in vmcb02 to
emulate a CPU without NRIPS.

However, after L2 runs the first time, NextRIP will be updated by the CPU
and/or KVM, and the current RIP is no longer the correct value to use in
vmcb02.  Hence, after save/restore, use the current RIP if and only if a
nested run is pending, otherwise use NextRIP.  Give soft_int_next_rip the
same treatment, as it's the same logic, just for a narrower use case.

[sean: give soft_int_next_rip the same treatment]

(As written by CVE List.)

## Affected

- Linux Linux: from cc440cdad5b7a4c1de12dace725209eb3e0cf663 before 98717fb482fa269db491f7c84aec777d3aeb2cd1; from cc440cdad5b7a4c1de12dace725209eb3e0cf663 before b1a45e8a59bcf1f1ec0da6d4e42190b4211c67fc; from cc440cdad5b7a4c1de12dace725209eb3e0cf663 before f9197a9dd1408e203147326139122f9c5312ce9c; from cc440cdad5b7a4c1de12dace725209eb3e0cf663 before 3428ed1529a1af4cce5aff6c5bd2fcc39ad726bb; from cc440cdad5b7a4c1de12dace725209eb3e0cf663 before 69fe1411a5ce678b4da6489b5d2282b4e1d13acf; from cc440cdad5b7a4c1de12dace725209eb3e0cf663 before 8d397582f6b5e9fbcf09781c7c934b4910e94a50; 5.8 (not affected: before 5.8; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.27 up to 6.18.*; from 7.0.4 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.8 before 6.18.27; from 6.19 before 7.0.4

## References

- <https://git.kernel.org/stable/c/98717fb482fa269db491f7c84aec777d3aeb2cd1>
- <https://git.kernel.org/stable/c/b1a45e8a59bcf1f1ec0da6d4e42190b4211c67fc>
- <https://git.kernel.org/stable/c/f9197a9dd1408e203147326139122f9c5312ce9c>
- <https://git.kernel.org/stable/c/3428ed1529a1af4cce5aff6c5bd2fcc39ad726bb> (patch)
- <https://git.kernel.org/stable/c/69fe1411a5ce678b4da6489b5d2282b4e1d13acf> (patch)
- <https://git.kernel.org/stable/c/8d397582f6b5e9fbcf09781c7c934b4910e94a50> (patch)

## Sources

- CVE List: [CVE-2026-46059](https://www.cve.org/CVERecord?id=CVE-2026-46059), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-46059](https://nvd.nist.gov/vuln/detail/CVE-2026-46059), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-46059 · Whole record: https://cve.day/CVE-2026-46059.json · Rebuilt by cve.day 2026-11-25T22:59:22.564Z
