KVM: SVM: Bump asid_generation on CPU online to avoid ASID collision after hotplug
CVE-2026-68093Published 10 Aug 2026, 11:58 UTC
Real-world risk
1.7/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.5
scored by NVD, CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Linux)
In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Bump asid_generation on CPU online to avoid ASID collision after hotplug If a vCPU stays scheduled out (or blocked) while the last pCPU it ran on goes through a hotplug cycle (online->offline->online), and the vCPU then resumes execution on the same pCPU, then it is possible for it to run with an ASID that has now been assigned to a different vCPU, resulting in stale TLB translations being used. svm_enable_virtualization_cpu() resets asid_generation to 1 and sets next_asid to max_asid + 1 on every CPU online event, including hotplug cycles. Because next_asid starts beyond the pool boundary, the first call to new_asid() after an online event always wraps the pool, incrementing asid_generation to 2 and assigning ASIDs starting from min_asid. Consider two vCPUs from different VMs, vCPU-A pinned to CPU-X holding asid_generation=2 and ASID=N from before the hotplug event: 1. CPU-X goes offline and back online: asid_generation resets to 1, next_asid = max_asid + 1. 2. One or more vCPUs migrate to CPU-X and call new_asid(), wrapping the pool and consuming ASIDs starting from min_asid. Eventually vCPU-B from a different VM is assigned asid_generation=2, ASID=N — the same ASID that vCPU-A held before the hotplug. 3. vCPU-A enters pre_svm_run() on CPU-X: current_vmcb->cpu is unchanged so the migration branch is skipped. Its saved asid_generation=2 matches sd->asid_generation=2, so the generation check silently passes and vCPU-A continues running with ASID=N — the same ASID just freshly assigned to vCPU-B. Both vCPUs from different VMs now run on CPU-X with the same ASID, causing them to share NPT TLB entries and producing stale translations. The collision manifests as a KVM internal error (Suberror: 1, emulation failure). The NPT page fault reports a faulting GPA far outside the VM's physical memory range — a sign of stale TLB translations being used. KVM falls back to instruction emulation, which fails on FPU/XSave instructions (XRSTOR, STMXCSR) that the emulator does not implement. Fix this by incrementing asid_generation instead of resetting it to 1 in svm_enable_virtualization_cpu(). On module load, asid_generation starts at 0 (memset) and the increment produces 1, identical to the old behaviour. On subsequent hotplug cycles the generation advances beyond any value a vCPU previously observed on this CPU, so the generation check in pre_svm_run() reliably forces new_asid() on every vCPU after every hotplug cycle.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux kernelUbiquitous | = 2.6.21; >= 2.6.21, < 6.1.183; >= 6.2, < 6.6.148; >= 6.7, < 6.12.101; >= 6.13, < 6.18.42; >= 6.19, < 7.1.6; = 7.2; = 7.2; = 7.2 | 7.2, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6 |
What to do
Update to a fixed version: 7.2, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 9), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 0.5 × threat 0.851.700
- Rounded to one decimal between 0.1 and 101.7
Exploitation and evidence timeline
- 10 Aug 2026 Published
- 2 Dec 2026 Risk 1.7 (cvss fallback)
Weakness
No weakness type given.
References
- https://git.kernel.org/stable/c/2028b81321dc757b6875b99c10d908e349c141e2patch
- https://git.kernel.org/stable/c/60283726f2845bd78b95efbd0e50b93944780477patch
- https://git.kernel.org/stable/c/7508916b4b55d6f5ecc68cd09774dabd3a6b4440patch
- https://git.kernel.org/stable/c/0f33b1c457c2199ed130b92cc2ff363a3f7b9415patch
- https://git.kernel.org/stable/c/6b542d116acecb83a1ca34e8eace304cff6a4ec9patch
- https://git.kernel.org/stable/c/25f744ffa0c8e799e06250ce2e618367b166b0d4patch
- CVE-2026-68093 on CVE.org