# CVE-2026-64284: KVM: x86: Ensure vendor's exit handler runs before fastpath userspace exits

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/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.13%, higher than 1% of CVEs (2026-11-30)
- Published: 2026-07-25T08:49:26.270Z
- Modified: 2026-10-19T21:17:29.530Z
- Weaknesses: CWE-362, CWE-367
- 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: x86: Ensure vendor's exit handler runs before fastpath userspace exits

Move the handling of fastpath userspace exits into vendor code to ensure
KVM runs vendor specific operations that need to run before userspace gains
control of the vCPU.  E.g. for VMX (and soon to be for SVM as well), KVM
needs to flush the PML buffer prior to exiting to userspace, otherwise any
memory written by the final KVM_RUN might never be flagged as dirty.

Note, waiting to snapshot CR0 and CR3 until svm_handle_exit() is flawed in
general, as that risks consuming stale state in a fastpath handler.  That
will be addressed in a future change.

(As written by CVE List.)

## Affected

- Linux Linux: from f7f39c50edb9d336274371953275e0d3503b9b75 before b3436d9b9b1affe1c3191ac9831308923f5f03c3; from f7f39c50edb9d336274371953275e0d3503b9b75 before 4ad73ef0e7966ecfe67de0060537b4cb14d9acd4; from f7f39c50edb9d336274371953275e0d3503b9b75 before f2ca2b5326211bd38490f0497eb583721ce0bbc0; from f7f39c50edb9d336274371953275e0d3503b9b75 before 0ffedf43910e44b76c2c1db4e9fbf12b268190c1; 6.12 (not affected: before 6.12; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 6.12 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4

## References

- <https://git.kernel.org/stable/c/b3436d9b9b1affe1c3191ac9831308923f5f03c3> (patch)
- <https://git.kernel.org/stable/c/4ad73ef0e7966ecfe67de0060537b4cb14d9acd4> (patch)
- <https://git.kernel.org/stable/c/f2ca2b5326211bd38490f0497eb583721ce0bbc0> (patch)
- <https://git.kernel.org/stable/c/0ffedf43910e44b76c2c1db4e9fbf12b268190c1> (patch)

## Sources

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

---

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