CVE-2026-99346
KVM: SVM: Trigger new ASID allocation in both VMCBs on pCPU switch
Check your servers for CVE-2026-99346
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99346 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.26% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 193015adf40d0465c240d4e9a7b6e4b84b531f8b, before 57cecf976ba4abea93b6ce2c6e3d2ad2f0be94dd affected from 193015adf40d0465c240d4e9a7b6e4b84b531f8b, before d953b0eb5191e3c8811d747d08e72eac157747ae affected from 193015adf40d0465c240d4e9a7b6e4b84b531f8b, before 5a329cebca79bfdb42210798686d4d36dfb693b1 affected from 193015adf40d0465c240d4e9a7b6e4b84b531f8b, before 5636d57b61068918085360aaad18ab57872e5800 affected from 193015adf40d0465c240d4e9a7b6e4b84b531f8b, before 058173bce103b6ac405b2bbf61e29a7f3767348f affected from 193015adf40d0465c240d4e9a7b6e4b84b531f8b, before 7d787fb34e825218702496fb0d5892529bea9366 affected from 193015adf40d0465c240d4e9a7b6e4b84b531f8b, before bf260dc9e7b8bfcd06c1a8e739797b1cf0917c72
Other versions: unaffected
|
| Linux |
affected 5.13 unaffected before 5.13 unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.61 up to and including 6.18.* unaffected from 7.3.2 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99346 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99346
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99346
trivy image --scanners vuln IMAGE | grep CVE-2026-99346
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/57cecf976ba4abea93b6ce2c6e3d2ad2f0be94dd git.kernel.org
- https://git.kernel.org/stable/c/d953b0eb5191e3c8811d747d08e72eac157747ae git.kernel.org
- https://git.kernel.org/stable/c/5a329cebca79bfdb42210798686d4d36dfb693b1 git.kernel.org
- https://git.kernel.org/stable/c/5636d57b61068918085360aaad18ab57872e5800 git.kernel.org
- https://git.kernel.org/stable/c/058173bce103b6ac405b2bbf61e29a7f3767348f git.kernel.org
- https://git.kernel.org/stable/c/7d787fb34e825218702496fb0d5892529bea9366 git.kernel.org
- https://git.kernel.org/stable/c/bf260dc9e7b8bfcd06c1a8e739797b1cf0917c72 git.kernel.org
Source: the record CVE-2026-99346 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse