Zafiyet.live Keşfet. Değerlendir. Düzelt. Doğrula.
  • Son 7 gün

CVE-2026-99082

Linux çekirdeğinde KVM x86 MMIO önbelleği SMM bellek alanında yanlış geçerli girdi kullanabiliyor

Linux

Yüksek 8,8 CVSS 3.1
Yayımlandı
Güncellendi
24 Eki 2026
Açık yaşı
5 gün
Kaydı açan
Linux

ÖzetTürkçe

Linux çekirdeğinde, KVM x86 alt sistemindeki vCPU başına MMIO önbelleği, bellek yuvası (memslot) üretimi ile etiketlenir ve bu önbelleğin doldurulması ile doğrulanması sırasında kvm_memslots fonksiyonu kullanılır. Bu fonksiyon, vCPU SMM modunda ve adres alanı 1 kullanırken bile her zaman adres alanı 0'ı seçer. Bu nedenle SMM bellek yuvalarında yapılan bir güncelleme, vCPU normal adres alanına döndükten sonra eski SMM adres alanından kalan bir girdiyi geçerli gibi bırakabilir. Misafir, aynı GFN üzerindeki geçerli RAM'e yapılan bir erişimin KVM_EXIT_MMIO olarak kullanıcı alanına döndürülmesine neden olabilir. Bu çıkış, VMM'in RAM adres alanı üzerinden tamamlandığında sayfa, KVM'in yazma izleme yolu atlanarak yazılır. Sayfa iç içe EPT tablosunu destekliyorsa, KVM eski içeriğden türetilmiş gölge çevirileri kullanmaya devam edebilir. kvm_mmu_write_protect_fault içindeki WARN_ON_ONCE bu geçersiz önbellek ve bellek yuvası kombinasyonunu yakalar. Düzeltme, girdiyi önbelleğe alırken ve doğrularken vCPU'nun etkin bellek yuvalarını kullanır. Bellek yuvası üretimleri adres alanları arasında benzersiz olduğundan, üretim değeri normal ve SMM görünümlerini de ayırt eder. Bu yaklaşım, zaten kvm_vcpu_memslots kullanan MMIO SPTE önbelleği ile uyumludur. CVSS 3.1 vektörü: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, temel puan 8.8 (YÜKSEK).

Kaynaktaki açıklama (İngilizce)

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 address spaces, so the generation
also distinguishes the normal and SMM views. This matches the MMIO SPTE
cache, which already uses kvm_vcpu_memslots().

On an unpatched current-mainline kernel, a regression test that fills the
cache in SMM and updates only the SMM memslots fails the intended RAM write
and triggers the kvm_mmu_write_protect_fault() warning. With this change,
the same test completes the RAM write without a warning. The x86/smm_test,
set_memory_region_test, and memslot_modification_stress_test selftests also
pass.

Bu açığın açıklamasını Türkçeye çevirdik. Adım adım çözüm önerilerini kritik ve yeni açıklar için hazırlıyoruz; düzeltilmiş sürüm aşağıdaki tabloda, ayrıntılar üreticinin duyurusunda.

Etkilenen sürümler1 yazılım

YazılımEtkilenenDüzeltildiği sürüm
Linux 4.2 –
< 4.2 Etkilenmiyor –
≥ 6.6.160 Etkilenmiyor –
≥ 6.12.114 Etkilenmiyor –
≥ 6.18.58 Etkilenmiyor –
≥ 7.2.12 Etkilenmiyor –

Kaynaklar7 kaynak

Kayıt geçmişi

  1. Yayımlandı

İlgili açıklar

Türkçe metin, resmi kayıtlardaki bilgilerle yapay zekâ yardımıyla yazıldı ve yayından önce otomatik kontrollerden geçti. Bir değişikliği uygulamadan önce üreticinin duyurusuna mutlaka bakın.