VDB

CVE-2026-68093

CVE-2026-68093 PUBLISHED

KVM: SVM: Bump asid_generation on CPU online to avoid ASID collision after hotplug

Reported by linux · Published August 10, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
bpftoolAmazon Linux1:6.1.186-228.374.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.103-127.188.amzn2023
kernel-headersAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.103-127.188.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.44-99.149.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.44-99.149.amzn2023
kernel6.18-develAmazon Linux1:6.18.44-99.149.amzn2023
kernel-toolsAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.12Amazon Linux1:6.12.103-127.188.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.44-99.149.amzn2023
kernel-livepatch-6.12.103-127.188Amazon Linux1:1.0-0.amzn2023

16 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux774c47f1d78e373a6bd2964f4e278d1ce26c21cb, 774c47f1d78e373a6bd2964f4e278d1ce26c21cb, 774c47f1d78e373a6bd2964f4e278d1ce26c21cb
LinuxLinux2.6.21, 0, 6.1.183
amazon:2023bpftool0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-tools0
amazon:2023kernel-headers0
amazon:2023kernel6.12-modules-extra0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-devel0
amazon:2023kernel-tools0
amazon:2023kernel6.120
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-livepatch-6.12.103-127.1880
amazon:2023kernel-livepatch-6.1.186-228.3740
amazon:2023bpftool6.120
amazon:2023python3-perf6.180
amazon:2023kernel-modules-extra0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-modules-extra0

…and 18 more

Timeline

  • Aug 10, 2026 CVE Published
  • Aug 11, 2026 Coalition ESS Score
  • Aug 16, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (14 in total, the first dated here)
  • Nov 6, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-68093
vulnetix vdb fixes CVE-2026-68093

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68093/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›