Linux Kernelのx86 KVMでMMIOキャッシュの誤用によりRAMへの不正な書き込みを招く脆弱性
Summary
Linux KernelのKVM(x86)で、SMMの別アドレス空間に対応すべき仮想CPUのMMIOキャッシュが誤って有効と判断される問題です。ゲストが通常のRAMへのアクセスをMMIOとしてユーザー空間に返させ、ゲストの状態を損なうおそれがあります。対象はLinux Kernelの6.6.160未満、6.12.114未満、6.18.58未満、7.2.12未満の各系列で、修正版の6.6.160、6.12.114、6.18.58、7.2.12以降への更新が必要です。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Linux KernelのKVM(x86)で、SMMの別アドレス空間に対応すべき仮想CPUのMMIOキャッシュが誤って有効と判断される問題です。ゲストが通常のRAMへのアクセスをMMIOとしてユーザー空間に返させ、ゲストの状態を損なうおそれがあります。対象はLinux Kernelの6.6.160未満、6.12.114未満、6.18.58未満、7.2.12未満の各系列で、修正版の6.6.160、6.12.114、6.18.58、7.2.12以降への更新が必要です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 4.2.0, < 5.10.273→ 5.10.273 ≥ 5.11.0, < 5.15.224→ 5.15.224 ≥ 5.16.0, < 6.1.191→ 6.1.191 ≥ 6.2.0, < 6.6.160→ 6.6.160 ≥ 6.7.0, < 6.12.114→ 6.12.114 ≥ 6.13.0, < 6.18.58→ 6.18.58 ≥ 6.19.0, < 7.2.12→ 7.2.12 |
5.10.273 5.15.224 6.1.191 6.6.160 6.12.114 6.18.58 7.2.12 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99082 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99082 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-99082 linux-vmware, linux-riscv, linux-realtime-6.8 +41 more Fix available
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
KVM: x86: Use active memslots for the per-vCPU MMIO cache
KVM tags the per-vCPU MMIO cache with a memslot generation so that a
memslot update invalidates cached MMIO information. Both the fill and
validation paths use kvm_memslots(), which unconditionally selects address
space 0, even when the vCPU is running in SMM and using address space 1.
Commit 56f17dd3fbc4 ("kvm: x86: fix stale mmio cache bug") added the
memslot generation to the cache key so that a memslot update could not
leave a stale entry valid. When commit 699023e23965 ("KVM: x86: add SMM
to the MMU role, support SMRAM address space") added the SMM address space,
these helpers were not converted to use the active memslots.
Consequently, an update to the SMM memslots can leave an entry from the old
SMM address space apparently valid after the vCPU returns to the normal
address space. A guest can then cause an access to valid RAM at the same
GFN to be returned to userspace as KVM_EXIT_MMIO.
Completing that exit through the VMM's RAM address space writes the backing
page without going through KVM's write-tracking path. If the page backs a
nested EPT table, KVM can continue using shadow translations derived from
the old contents. The WARN_ON_ONCE() in kvm_mmu_write_protect_fault()
catches this invalid cache and memslot combination.
Use the vCPU's active memslots when caching and validating the entry.
Memslot generations are unique across ad…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org