CVE-2026-99346
published high CVSS 3.1 · 8.8KVM: SVM: Trigger new ASID allocation in both VMCBs on pCPU switch
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux193015adf40d0465c240d4e9a7b6e4b84b531f8b to < 57cecf976ba4abea93b6ce2c6e3d2ad2f0be94dd · 193015adf40d0465c240d4e9a7b6e4b84b531f8b to < d953b0eb5191e3c8811d747d08e72eac157747ae · 193015adf40d0465c240d4e9a7b6e4b84b531f8b to < 5a329cebca79bfdb42210798686d4d36dfb693b1 · 193015adf40d0465c240d4e9a7b6e4b84b531f8b to < 5636d57b61068918085360aaad18ab57872e5800 · 193015adf40d0465c240d4e9a7b6e4b84b531f8b to < 058173bce103b6ac405b2bbf61e29a7f3767348f · 193015adf40d0465c240d4e9a7b6e4b84b531f8b to < 7d787fb34e825218702496fb0d5892529bea9366 · 193015adf40d0465c240d4e9a7b6e4b84b531f8b to < bf260dc9e7b8bfcd06c1a8e739797b1cf0917c72 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.13 (affected) · 0 to < 5.13 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3538 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.117-1~deb12u1 | DLA-4927-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| Amazon Linux | AL2023 | kernel6.18aarch64 | Listed in advisory | Not stated | ALAS2023-2026-3538 |
Show 17 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| Amazon Linux | AL2023 | kernel6.18src | Listed in advisory | Not stated | ALAS2023-2026-3538 |
| Amazon Linux | AL2023 | kernel6.18x86_64 | Listed in advisory | Not stated | ALAS2023-2026-3538 |
Description
In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Trigger new ASID allocation in both VMCBs on pCPU switch When the pCPU where the VMCB was most recently used is switched, reset the ASID generation in both VMCBs, triggering new ASID allocation for the immediate VMRUN as well as the next VMRUN on the other VMCB. The ASID is shared between vmcb01 and vmcb02, and gets flushed on every nested transition. However, since pCPU tracking is done per VMCB, it is possible for one VMCB to allocate a new ASID when migrated to a new pCPU, and then the other VMCB reuses that ASID on the old pCPU. This can result in the same ASID being used by multiple vCPUs on the old pCPU. Example scenario: - vCPU runs on pCPU A, vmcb01 is active, asid=1. - vCPU migrates to pCPU B, vmcb01 pCPU changes, new asid=2. - Another vCPU runs on pCPU A and allocates asid=2 as well. - vCPU migrates back to pCPU A, and then switches to vmcb02 before it runs again with vmcb01. - No pCPU switch is detected for vmcb02, so VMRUN is done with asid=2. - Two vCPUs end up using asid=2 on the same pCPU. Keep the VMCB dirtying to the active VMCB only. Clean bits are tracked by a pCPU for each VMCB, so do not unnecessarily dirty a VMCB if its pCPU does not change. Additionally, initialize the tracked pCPU for vmcb02 to -1 on nested enablement as hardening, so that a new ASID allocation is always triggered when nested is disabled and re-enabled. No performance regression was noticed when overcommitting L1 vCPUs in L0 (to force rescheduling), pinning L1 <-> L2 vCPUs, and running CPUID in a tight loop bouncing between 2 vCPUs in L2. An alternative (and perhaps more proper) fix would be tracking the ASID per-VMCB instead (e.g. [1]). However, that's a more involved change, and it would result in having different ASIDs for L1 and L2 without actually properly maintaining them. It would probably work because all TLB flushes target the current VMCB, and the other VMCB is always flushed on nested transitions, but the code ends up in an arguably more fragile state. Punt a proper clean fix to an incoming (and overdue) overhaul of SVM's ASID usage [2]. [1] https://lore.kernel.org/lkml/[email protected] [2] https://lore.kernel.org/kvm/[email protected]
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: AV:L - pre_svm_run() runs only from svm_vcpu_run() on KVM_RUN (kvm_vcpu_ioctl -> kvm_arch_vcpu_ioctl_run -> vcpu_enter_guest). Nothing in a remote protocol is parsed; the attacker makes current_vmcb vmcb02 through KVM_SET_NESTED_STATE (svm_set_nested_state) or vmrun_interception() -> nested_svm_vmrun(). AC:L - The attacker sched_setaffinity()s the KVM_RUN thread so kvm_arch_vcpu_load() changes vcpu->cpu, and svm_set_nested_state() selects vmcb02 whose cpu still equals the old pCPU, so pre_svm_run() skips new_asid() and svm_vcpu_run() writes that foreign svm->asid to vmcb->control.asid. Repeated new_asid() calls walk sd->next_asid, including the wrap to min_asid, until the reused value is one another vCPU already holds on the target pCPU. PR:L - kvm_dev_ioctl(KVM_CREATE_VM) and kvm_vcpu_ioctl(KVM_RUN, KVM_SET_NESTED_STATE) never call capable(). A process that can open /dev/kvm can svm_set_efer(EFER_SVME) -> svm_allocate_nested() and run the vCPU; host CAP_SYS_ADMIN is not on this path. UI:N - The attacker issues KVM_SET_NESTED_STATE or a guest VMRUN and moves their own vCPU thread. The other VM takes no action; its vCPU keeps running with the ASID new_asid() already saved in svm->asid. S:C - svm->asid is shared by vmcb01 and vmcb02 and svm_vcpu_run() copies it to vmcb->control.asid, while new_asid() allocates from per-pCPU svm_cpu_data common to every VM. Reusing that ASID on the old pCPU aliases NPT TLB entries with another VM, outside the attacking guest's memslots. C:H - Once the stolen ASID is installed, later svm_vcpu_run() entries leave tlb_ctl at TLB_CONTROL_DO_NOTHING, so a GPA load uses the other VM's cached nested translation and returns that guest's page. The hit covers the other vCPU's TLB-resident pages, not a few leaked bytes. I:H - Those NPT TLB entries carry the writable bit KVM sets for ordinary RAM memslots, so a store with the stolen ASID writes the other VM's HPA, and an instruction fetch can execute attacker bytes at an overlapping GPA. svm_flush_tlb_asid() flushes only that ASID and does not separate the two guests. A:H - Fetches and stores that hit the other VM's HPA corrupt that guest and can triple-fault or panic it. The alias survives later VMRUNs because pre_svm_run() does not allocate a new ASID and svm_flush_tlb_asid() cannot tell the two vCPUs apart.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 193015adf40d0465c240d4e9a7b6e4b84b531f8b to < 57cecf976ba4abea93b6ce2c6e3d2ad2f0be94dd (affected · git)193015adf40d0465c240d4e9a7b6e4b84b531f8b to < d953b0eb5191e3c8811d747d08e72eac157747ae (affected · git)193015adf40d0465c240d4e9a7b6e4b84b531f8b to < 5a329cebca79bfdb42210798686d4d36dfb693b1 (affected · git)193015adf40d0465c240d4e9a7b6e4b84b531f8b to < 5636d57b61068918085360aaad18ab57872e5800 (affected · git)193015adf40d0465c240d4e9a7b6e4b84b531f8b to < 058173bce103b6ac405b2bbf61e29a7f3767348f (affected · git)193015adf40d0465c240d4e9a7b6e4b84b531f8b to < 7d787fb34e825218702496fb0d5892529bea9366 (affected · git)193015adf40d0465c240d4e9a7b6e4b84b531f8b to < bf260dc9e7b8bfcd06c1a8e739797b1cf0917c72 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.13 (affected)0 to < 5.13 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/058173bce103b6ac405b2bbf61e29a7f3767348f
- https://git.kernel.org/stable/c/5636d57b61068918085360aaad18ab57872e5800
- https://git.kernel.org/stable/c/57cecf976ba4abea93b6ce2c6e3d2ad2f0be94dd
- https://git.kernel.org/stable/c/5a329cebca79bfdb42210798686d4d36dfb693b1
- https://git.kernel.org/stable/c/7d787fb34e825218702496fb0d5892529bea9366
- https://git.kernel.org/stable/c/bf260dc9e7b8bfcd06c1a8e739797b1cf0917c72
- https://git.kernel.org/stable/c/d953b0eb5191e3c8811d747d08e72eac157747ae
Provider assertions
1Linux · cna
KVM: SVM: Trigger new ASID allocation in both VMCBs on pCPU switch
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cea9994ad302188f59af294c74f85a86d593fdbadf5d6b1f87359d5ef50678ca
- Ingested
- 23 Nov 2026, 14:35:29 UTC
- Source record
- Official CVE record