KVM: nSVM: Always use NextRIP as vmcb02's NextRIP after first L2 VMRUN
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]
CVE-2026-46059
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-46059
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "cc440cdad5b7a4c1de12dace725209eb3e0cf663",
"lessThan": "b1a45e8a59bcf1f1ec0da6d4e42190b4211c67fc",
"versionType": "git"
},
{
"status": "affected",
"version": "cc440cdad5b7a4c1de12dace725209eb3e0cf663",
"lessThan": "f9197a9dd1408e203147326139122f9c5312ce9c",
"versionType": "git"
},
{
"status": "affected",
"version": "cc440cdad5b7a4c1de12dace725209eb3e0cf663",
"lessThan": "3428ed1529a1af4cce5aff6c5bd2fcc39ad726bb",
"versionType": "git"
},
{
"status": "affected",
"version": "cc440cdad5b7a4c1de12dace725209eb3e0cf663",
"lessThan": "69fe1411a5ce678b4da6489b5d2282b4e1d13acf",
"versionType": "git"
},
{
"status": "affected",
"version": "cc440cdad5b7a4c1de12dace725209eb3e0cf663",
"lessThan": "8d397582f6b5e9fbcf09781c7c934b4910e94a50",
"versionType": "git"
}
],
"programFiles": [
"arch/x86/kvm/svm/nested.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.8"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.8",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.27",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.0.4",
"versionType": "semver",
"lessThanOrEqual": "7.0.*"
},
{
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"arch/x86/kvm/svm/nested.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-46059
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #46323 · Revision 1
- Added to Heist Feed
- Publisher date