# CVE-2026-99346: KVM: SVM: Trigger new ASID allocation in both VMCBs on pCPU switch

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **Published:** 2026-11-19T14:22:01.304Z
- **Modified:** 2026-11-23T08:17:39.280Z

## Who should check

- Anyone running Linux \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< 57cecf976ba4abea93b6ce2c6e3d2ad2f0be94dd; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< d953b0eb5191e3c8811d747d08e72eac157747ae; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< 5a329cebca79bfdb42210798686d4d36dfb693b1; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< 5636d57b61068918085360aaad18ab57872e5800; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< 058173bce103b6ac405b2bbf61e29a7f3767348f; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< 7d787fb34e825218702496fb0d5892529bea9366; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< bf260dc9e7b8bfcd06c1a8e739797b1cf0917c72
- Anyone running Linux 5.13

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

## Affected and fixed versions

- Linux: \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< 57cecf976ba4abea93b6ce2c6e3d2ad2f0be94dd; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< d953b0eb5191e3c8811d747d08e72eac157747ae; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< 5a329cebca79bfdb42210798686d4d36dfb693b1; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< 5636d57b61068918085360aaad18ab57872e5800; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< 058173bce103b6ac405b2bbf61e29a7f3767348f; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< 7d787fb34e825218702496fb0d5892529bea9366; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< bf260dc9e7b8bfcd06c1a8e739797b1cf0917c72 (cvelist)
- Linux: 5.13 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99346. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99346.md
Affected: Linux >= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, < 57cecf976ba4abea93b6ce2c6e3d2ad2f0be94dd; >= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, < d953b0eb5191e3c8811d747d08e72eac157747ae; >= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, < 5a329cebca79bfdb42210798686d4d36dfb693b1; >= 193015adf40d0465c240d4e…
Fixed in: Linux 57cecf976ba4abea93b6ce2c6e3d2ad2f0be94dd, Linux 5a329cebca79bfdb42210798686d4d36dfb693b1, Linux 5636d57b61068918085360aaad18ab57872e5800, Linux 058173bce103b6ac405b2bbf61e29a7f3767348f, Linux 7d787fb34e825218702496fb0d5892529bea9366

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99346 being exploited?

There is no confirmed exploitation: CVE-2026-99346 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99346?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-99346?

Linux \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< 57cecf976ba4abea93b6ce2c6e3d2ad2f0be94dd; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< d953b0eb5191e3c8811d747d08e72eac157747ae; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< 5a329cebca79bfdb42210798686d4d36dfb693b1; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< 5636d57b61068918085360aaad18ab57872e5800; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< 058173bce103b6ac405b2bbf61e29a7f3767348f; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< 7d787fb34e825218702496fb0d5892529bea9366; \>= 193015adf40d0465c240d4e9a7b6e4b84b531f8b, \< bf260dc9e7b8bfcd06c1a8e739797b1cf0917c72; Linux 5.13.

### Is there a fix for CVE-2026-99346?

Yes. Fixed in Linux 57cecf976ba4abea93b6ce2c6e3d2ad2f0be94dd, Linux 5a329cebca79bfdb42210798686d4d36dfb693b1, Linux 5636d57b61068918085360aaad18ab57872e5800, Linux 058173bce103b6ac405b2bbf61e29a7f3767348f, Linux 7d787fb34e825218702496fb0d5892529bea9366. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-99346?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/57cecf976ba4abea93b6ce2c6e3d2ad2f0be94dd>
- other: <https://git.kernel.org/stable/c/d953b0eb5191e3c8811d747d08e72eac157747ae>
- other: <https://git.kernel.org/stable/c/5a329cebca79bfdb42210798686d4d36dfb693b1>
- other: <https://git.kernel.org/stable/c/5636d57b61068918085360aaad18ab57872e5800>
- other: <https://git.kernel.org/stable/c/058173bce103b6ac405b2bbf61e29a7f3767348f>
- other: <https://git.kernel.org/stable/c/7d787fb34e825218702496fb0d5892529bea9366>
- other: <https://git.kernel.org/stable/c/bf260dc9e7b8bfcd06c1a8e739797b1cf0917c72>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99346>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99346> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99346>
