CVE-2026-68093

Source
https://cve.org/CVERecord?id=CVE-2026-68093
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68093.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-68093
Downstream
Published
2026-08-10T11:58:05.933Z
Modified
2026-08-12T04:18:45.406564395Z
Summary
KVM: SVM: Bump asid_generation on CPU online to avoid ASID collision after hotplug
Details

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.

svmenablevirtualizationcpu() resets asidgeneration to 1 and sets nextasid to maxasid + 1 on every CPU online event, including hotplug cycles. Because nextasid starts beyond the pool boundary, the first call to newasid() after an online event always wraps the pool, incrementing asidgeneration to 2 and assigning ASIDs starting from minasid.

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: asidgeneration resets to 1, nextasid = max_asid + 1.

  2. One or more vCPUs migrate to CPU-X and call newasid(), wrapping the pool and consuming ASIDs starting from minasid. 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 presvmrun() on CPU-X: currentvmcb->cpu is unchanged so the migration branch is skipped. Its saved asidgeneration=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 asidgeneration instead of resetting it to 1 in svmenablevirtualizationcpu(). On module load, asidgeneration 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 presvmrun() reliably forces newasid() on every vCPU after every hotplug cycle.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68093.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
774c47f1d78e373a6bd2964f4e278d1ce26c21cb
Fixed
60283726f2845bd78b95efbd0e50b93944780477
Fixed
7508916b4b55d6f5ecc68cd09774dabd3a6b4440
Fixed
0f33b1c457c2199ed130b92cc2ff363a3f7b9415
Fixed
6b542d116acecb83a1ca34e8eace304cff6a4ec9
Fixed
25f744ffa0c8e799e06250ce2e618367b166b0d4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68093.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.21
Fixed
6.6.148
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.101
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.42
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68093.json"