bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-99346

8.8high

linux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases

Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.

Reach linux · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

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/20250205182402.2147495-2-yosry.ahmed@linux.dev
  • [2]https://lore.kernel.org/kvm/20260728003557.1136583-1-yosry@kernel.org

Published 2026-11-19NVD

CVSS 3.1Local · low privileges · no user interaction

How it is reached

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None

What it costs

Confidentiality
High
Integrity
High
Availability
High
Scope
Changed

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

References 4

Build check · v26.10.0 x86_64

None of the source files the CNA lists for CVE-2026-99346 (arch/x86/kvm/svm/nested.c, arch/x86/kvm/svm/svm.c) produced an object file in linux-6.18.60, so the affected code is not compiled into this kernel configuration.

Evidence 2

…/ is output/build/linux-6.18.60/arch/x86/kvm/svm/

  1. object file absent: not compiled

    …/nested.o

  2. object file absent: not compiled

    …/svm.o

Members of Kernel Kit decide. Sign in if you are one.