# CVE-2026-89929: KVM: nVM: Ensure INVVPID is emulated on the correct physical CPU

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/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.19%, higher than 9% of CVEs (2026-12-02)
- Published: 2026-09-16T10:32:20.855Z
- Modified: 2026-11-23T08:17:21.053Z
- Assigned by: Linux

## Description

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

KVM: nVM: Ensure INVVPID is emulated on the correct physical CPU

When emulating INVVPID, KVM executes INVVPID on the physical CPU using
vpid02 (instead of the L1 assigned VPID), after doing some validations
on the operands. However, it is possible that the physical CPU KVM
executes INVVPID on is different from the CPU L2 is running on.

For example, in the following scenario:
- L2 runs on CPU #1 and exits to L1 (vmx->nested.vmcs02.cpu=1)
- L1 migrates to CPU #2 and executes INVVPID
- KVM executes INVVPID on CPU #2
- L1 migrates back to CPU #1 and runs L2 (vmx->nested.vmcs02.cpu=1)

The TLB entries on CPU #1 are never invalidated, because INVVPID was
executed on CPU #2, and vmcs02 never ran on a different pCPU (i.e.
vmx_vcpu_load_vmcs() will *not* request KVM_REQ_TLB_FLUSH).

Ensure that INVVPID is being executed on the same pCPU that L2 last ran
on, and if not, fallback to clearing last_vpid=0 to trigger a full VPID
flush on the next nested VM-Enter (as KVM will detect L1 using a
different VPID for L2). If L2 ends up running on a different pCPU, KVM
will flush the TLB anyway through vmx_vcpu_load_vmcs().

(As written by CVE List.)

## Affected

- Linux Linux: from 5c614b3583e7b6dab0c86356fa36c2bcbb8322a0 before f6c81481e00f3b389656e11fd18c06fd7371ada1; from 5c614b3583e7b6dab0c86356fa36c2bcbb8322a0 before 1759a565a25c814ced9281a708749c71fa69d6fe; from 5c614b3583e7b6dab0c86356fa36c2bcbb8322a0 before d03e721801ac54b9fdf05668aa0c069f07913b68; from 5c614b3583e7b6dab0c86356fa36c2bcbb8322a0 before 27bdeb5fd19046ffba9ff234e92fe553eb2efb30; from 5c614b3583e7b6dab0c86356fa36c2bcbb8322a0 before 9941850e8adf164d005dbd3774c4b79e91a3cb8e; from 5c614b3583e7b6dab0c86356fa36c2bcbb8322a0 before 6d00e67326d831e6e610933a3800712f4ffe6ec1; 4.4 (not affected: before 4.4; from 6.1.193 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/f6c81481e00f3b389656e11fd18c06fd7371ada1>
- <https://git.kernel.org/stable/c/1759a565a25c814ced9281a708749c71fa69d6fe>
- <https://git.kernel.org/stable/c/d03e721801ac54b9fdf05668aa0c069f07913b68>
- <https://git.kernel.org/stable/c/27bdeb5fd19046ffba9ff234e92fe553eb2efb30>
- <https://git.kernel.org/stable/c/9941850e8adf164d005dbd3774c4b79e91a3cb8e>
- <https://git.kernel.org/stable/c/6d00e67326d831e6e610933a3800712f4ffe6ec1>

## Sources

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

---

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