CVE-2026-46059

MEDIUM

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

Title source: cna
STIX 2.1

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]

Scores

CVSS v3 5.5
EPSS 0.0012
EPSS Percentile 2.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (12)
linux/Kernel 5.8.0 - 6.18.27linux
linux/Kernel 6.19.0 - 7.0.4linux
Linux/Linux < 5.8
Linux/Linux 5.8
Linux/Linux 6.18.27 - 6.18.*
Linux/Linux 7.0.4 - 7.0.*
Linux/Linux 7.1
Linux/Linux 7.1-rc1
Linux/Linux cc440cdad5b7a4c1de12dace725209eb3e0cf663 - 3428ed1529a1af4cce5aff6c5bd2fcc39ad726bb
Linux/Linux cc440cdad5b7a4c1de12dace725209eb3e0cf663 - 69fe1411a5ce678b4da6489b5d2282b4e1d13acf
... and 2 more
Published May 27, 2026
Tracked Since May 27, 2026