KVM: SVM: Preserve TLB control (i.e. pending TLB flush) on failed VMRUN (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.23 % · percentile 14 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Preserve TLB control (i.e. pending TLB flush) on failed VMRUN Don't reset the VMCB's TLB control back to "do nothing" on a failed VMRUN, as empirical testing shows that the CPU performs the requested TLB flush if and only if VMRUN is successful, i.e. clearing TLB control on a failed VMRUN effectively drops a TLB flush. Explicitly track the need to flush all ASIDs on a per-CPU basis, as the ASID reuse condition is tied to the pCPU, not to the vCPU. As a bonus, this also obviates the need to avoid clobbering FLUSH_ALL_ASID with TLB_CONTROL_FLUSH_ASID, e.g. in svm_flush_tlb_asid(). Deliberately don't bother saving/restoring the "old" tlb_ctl on failure, in quotes because it's not exactly the old tlb_ctl, it's the tlb_ctl from after pre_svm_run(), but before updating tlb_ctl for flush_all_asids. If VMRUN fails and TLB_CONTROL_FLUSH_ALL_ASID is forced, then the next successful run of the VMCB *may* unnecessarily flush all ASIDs, which strictly speaking could result in noisy neighbor issues. However, the fact that new_asid() is already guest-triggerable, because of KVM's flawed behavior of clearing the ASID on emulated INIT, means that a guest can already trigger a flush of all ASIDs at roughly the same rate. And once KVM stops clobbering the ASID on emulated INIT, *or* assigns a static ASID to each vCPU, this flaw goes away.
References
- https://git.kernel.org/stable/c/6b0a674bb7b1666e036add54c9d9d711f35bdd03
- https://git.kernel.org/stable/c/e6ec697d2c7ec8dbb6f910f60ab19e074d9f3b49
- https://git.kernel.org/stable/c/bfe48e689ba011d3d6cf8adcca03072aa0430133
- https://git.kernel.org/stable/c/f2bd7cf6a83e49c710e2b93d3064fa0ebb7e0006
- https://git.kernel.org/stable/c/fd873c3d1b5240e80365f09e758e8c96b88a7cdb
- https://git.kernel.org/stable/c/60d93c27859fb3ec5b5a689e24de303f166477d0
European references
- ENISA EUVD · EUVD-2026-103969
- GCVE · GCVE-0-2026-98715
CERT-FR advisories
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1594 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 38e5e92fe8c02a8766459d505423b855caf9af1f < 6b0a674bb7b1666e036add54c9d9d711f35bdd03 affected : ≥ 38e5e92fe8c02a8766459d505423b855caf9af1f < e6ec697d2c7ec8dbb6f910f60ab19e074d9f3b49 affected : ≥ 38e5e92fe8c02a8766459d505423b855caf9af1f < bfe48e689ba011d3d6cf8adcca03072aa0430133 affected : ≥ 38e5e92fe8c02a8766459d505423b855caf9af1f < f2bd7cf6a83e49c710e2b93d3064fa0ebb7e0006 affected : ≥ 38e5e92fe8c02a8766459d505423b855caf9af1f < fd873c3d1b5240e80365f09e758e8c96b88a7cdb affected : ≥ 38e5e92fe8c02a8766459d505423b855caf9af1f < 60d93c27859fb3ec5b5a689e24de303f166477d0 Other versions : unaffected |
| Linux · Linux | affected : 2.6.38 unaffected : ≥ 0 < 2.6.38 unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.117 ≤ 6.12.* unaffected : ≥ 6.18.61 ≤ 6.18.* unaffected : ≥ 7.2.10 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |