KVM: x86: Fix shadow paging use-after-free due to unexpected GFN
In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Fix shadow paging use-after-free due to unexpected GFN The shadow MMU computes GFNs for direct shadow pages using sp->gfn plus the SPTE index. This assumption breaks for shadow paging if the guest page tables are modified between VM entries (similar to commit aad885e77496, "KVM: x86/mmu: Drop/zap existing present SPTE even when creating an MMIO SPTE", 2026-03-27). The flow is as follows: - a PDE is installed for a 2MB mapping, and a page in that area is accessed. KVM creates a kvm_mmu_page consisting of 512 4KB pages; the kvm_mmu_page is marked by FNAME(fetch) as direct-mapped because the guest's mapping is a huge page (and thus contiguous). - the PDE mapping is changed from outside the guest. - the guest accesses another page in the same 2MB area. KVM installs a new leaf SPTE and rmap entry; the SPTE uses the "correct" GFN (i.e. based on the new mapping, as changed in the previous step) but that GFN is outside of the [sp->gfn, sp->gfn + 511] range; therefore the rmap entry cannot be found and removed when the kvm_mmu_page is zapped. - the memslot that covers the first 2MB mapping is deleted, and the kvm_mmu_page for the now-invalid GPA is zapped. However, rmap_remove() only looks at the [sp->gfn, sp->gfn + 511] range established in step 1, and fails to find the rmap entry that was recorded by step 3. - any operation that causes an rmap walk for the same page accessed by step 3 then walks a stale rmap and dereferences a freed kvm_mmu_page. This includes dirty logging or MMU notifier invalidations (e.g., from MADV_DONTNEED). The underlying issue is that KVM's walking of shadow PTEs assumes that if a SPTE is present when KVM wants to install a non-leaf SPTE, then the existing kvm_mmu_page must be for the correct gfn. Because the only way for the gfn to be wrong is if KVM messed up and failed to zap a SPTE... which shouldn't happen, but *actually* only happens in response to a guest write. That bug dates back literally forever, as even the first version of KVM assumes that the GFN matches and walks into the "wrong" shadow page. However, that was only an imprecision until 2032a93d66fa ("KVM: MMU: Don't allocate gfns page for direct mmu pages") came along. Fix it by checking for a target gfn mismatch and zapping the existing SPTE. That way the old SP and rmap entries are gone, KVM installs the rmap in the right location, and everyone is happy.
- ALSA-2026:36956
- ALSA-2026:36957
- RHSA-2026:36956
- RHSA-2026:36957
- RHSA-2026:37729
- RHSA-2026:38902
- RHSA-2026:39082
- RHSA-2026:39083
- RHSA-2026:39371
- RHSA-2026:39983
- RHSA-2026:40082
- RHSA-2026:41229
- RHSA-2026:49033
- RLSA-2026:36956
- RLSA-2026:36957
- SUSE-SU-2026:22964-1
- SUSE-SU-2026:22965-1
- SUSE-SU-2026:22966-1
- SUSE-SU-2026:22967-1
- SUSE-SU-2026:22968-1
- Yayın
- 28 May 2026
- Güncelleme
- 5 Ağu 2026
- EPSS
- %0,2 · 6. yüzdelik
- CWE
- CWE-416
Takip etmek için giriş yap · Takip ettiğin kayıt KEV’e girer, istismarı çıkar ya da güncellenirse bildirim alırsın.
Rapor araçları
Aksiyon skoru
35
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,2
CNA ile NVD puanı
- NVD
- —
- CNA · Linux
- 8,8
- NVD henüz kendi puanını vermedi; gösterilen puan CNA’nın.
Kaydı açan otoritenin puanı ile NVD’nin bağımsız puanı. İki puan arasındaki fark ciddiyetin tartışmalı olduğunu gösterir.
Etkilenen sistemler
| Üretici | Ürün | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Etkilenen sürümler
NVD sürüm aralıkları (katalogdaki ürünler için). Stack’ine sürümle eklersen eşleşme bunlarla yapılır.
- linux linux kernel2.6.20 ve sonrası · 6.1.175 öncesi
- linux linux kernel6.2 ve sonrası · 6.6.140 öncesi
- linux linux kernel6.7 ve sonrası · 6.12.88 öncesi
- linux linux kernel6.13 ve sonrası · 6.18.30 öncesi
- linux linux kernel6.19 ve sonrası · 7.0.7 öncesi
- linux linux kernel7.1
Üreticinin bildirdiği sürümler
Kaydı açan otorite (Linux) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.
Linux Linux
- 2.6.20etkilenir
- 6aa8b732ca01c3d7a54e93f4d701b8aabbe60fb7 ve sonrası · e9d4ea13aa2b6400bb10ec64b370ba3dadcd22f0 öncesietkilenir · git
- 6aa8b732ca01c3d7a54e93f4d701b8aabbe60fb7 ve sonrası · 488e386484ec8c0e558be6e156edf34ed9f4d5c8 öncesietkilenir · git
- 6aa8b732ca01c3d7a54e93f4d701b8aabbe60fb7 ve sonrası · 06c19c967b845b63172601fe459667d973b7e6b7 öncesietkilenir · git
- 6aa8b732ca01c3d7a54e93f4d701b8aabbe60fb7 ve sonrası · 738ec97b1855df6c08fe2369f798fa0b972e556b öncesietkilenir · git
- 6aa8b732ca01c3d7a54e93f4d701b8aabbe60fb7 ve sonrası · 14d1e55dfd2cf4711bff164a6aaaddb783552134 öncesietkilenir · git
- 6aa8b732ca01c3d7a54e93f4d701b8aabbe60fb7 ve sonrası · 0cb2af2ea66ad8ff195c156ea690f11216285bdf öncesietkilenir · git
- 2.6.20 öncesietkilenmez · semver
- 6.1.175 ve sonrası · 6.1.* dahil öncesietkilenmez · semver
- 6.6.140 ve sonrası · 6.6.* dahil öncesietkilenmez · semver
Paket düzeyi etkilenme
OSV ve GitHub Advisory verisi: ekosistem, paket ve aralık. SBOM eşleşmesi bu tabloyu kullanır.
| Ekosistem | Paket | Etkilenen aralık | Düzeltme |
|---|---|---|---|
| AlmaLinux:10 | kernel | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-64k | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-64k-core | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-core | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-devel | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-devel-matched | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-modules | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-modules-core | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-modules-extra | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-64k-devel | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-64k-devel-matched | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-64k-modules | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-64k-modules-core | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-64k-modules-extra | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-abi-stablelists | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-core | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-cross-headers | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-debug | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-debug-core | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-debug-devel | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-debug-devel-matched | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-debug-modules | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
| AlmaLinux:10 | kernel-debug-modules-core | 6.12.0-211.32.1.el10_2 öncesi | 6.12.0-211.32.1.el10_2 |
+96
Aynı üründe
linux: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Hemen
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Hemen
- CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV83Hemen
- CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV77Bu hafta
- CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV77Bu hafta
- CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV77Bu hafta
Düzeltme
Hangi sürüme geçmeli
Üretici, paket deposu ve Microsoft kayıtlarından derlenen düzeltme sürümleri. Yükseltmeden önce üreticinin notunu doğrulayın.
| Ürün / paket | Düzeltilmiş sürüm | Kaynak |
|---|---|---|
| Linux Linux | 06c19c967b845b63172601fe459667d973b7e6b7 | Üretici (CNA) |
| Linux Linux | 0cb2af2ea66ad8ff195c156ea690f11216285bdf | Üretici (CNA) |
| Linux Linux | 14d1e55dfd2cf4711bff164a6aaaddb783552134 | Üretici (CNA) |
| Linux Linux | 488e386484ec8c0e558be6e156edf34ed9f4d5c8 | Üretici (CNA) |
| Linux Linux | 738ec97b1855df6c08fe2369f798fa0b972e556b | Üretici (CNA) |
| Linux Linux | e9d4ea13aa2b6400bb10ec64b370ba3dadcd22f0 | Üretici (CNA) |
| almalinux:kernel | 6.12.0-211.32.1.el10_2 · AlmaLinux:10 | Paket deposu (OSV) |
| almalinux:kernel-64k | 6.12.0-211.32.1.el10_2 · AlmaLinux:10 | Paket deposu (OSV) |
| almalinux:kernel-64k-core | 6.12.0-211.32.1.el10_2 · AlmaLinux:10 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug | 6.12.0-211.32.1.el10_2 · AlmaLinux:10 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-core | 6.12.0-211.32.1.el10_2 · AlmaLinux:10 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-devel | 6.12.0-211.32.1.el10_2 · AlmaLinux:10 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-devel-matched | 6.12.0-211.32.1.el10_2 · AlmaLinux:10 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-modules | 6.12.0-211.32.1.el10_2 · AlmaLinux:10 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-modules-core | 6.12.0-211.32.1.el10_2 · AlmaLinux:10 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-modules-extra | 6.12.0-211.32.1.el10_2 · AlmaLinux:10 | Paket deposu (OSV) |
| almalinux:kernel-64k-devel | 6.12.0-211.32.1.el10_2 · AlmaLinux:10 | Paket deposu (OSV) |
| almalinux:kernel-64k-devel-matched | 6.12.0-211.32.1.el10_2 · AlmaLinux:10 | Paket deposu (OSV) |
| debian:linux | 6.1.176-1 · Debian:12 | Paket deposu (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:6.12.0-211.32.1.el10_2 · Red Hat:enterprise_linux:10.2 | Paket deposu (OSV) |
| red hat:kernel-64k-debug-devel | 0:6.12.0-211.32.1.el10_2 · Red Hat:enterprise_linux:10.2 | Paket deposu (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:6.12.0-211.32.1.el10_2 · Red Hat:enterprise_linux:10.2 | Paket deposu (OSV) |
| red hat:kernel-64k-debuginfo | 0:6.12.0-211.32.1.el10_2 · Red Hat:enterprise_linux:10.2 | Paket deposu (OSV) |
| red hat:kernel-64k-devel | 0:6.12.0-211.32.1.el10_2 · Red Hat:enterprise_linux:10.2 | Paket deposu (OSV) |
| red hat:kernel-64k-devel-matched | 0:6.12.0-211.32.1.el10_2 · Red Hat:enterprise_linux:10.2 | Paket deposu (OSV) |
| red hat:kernel-debug-debuginfo | 0:6.12.0-211.32.1.el10_2 · Red Hat:enterprise_linux:10.2 | Paket deposu (OSV) |
| red hat:kernel-debug-devel | 0:6.12.0-211.32.1.el10_2 · Red Hat:enterprise_linux:10.2 | Paket deposu (OSV) |
| red hat:kernel-debug-devel-matched | 0:6.12.0-211.32.1.el10_2 · Red Hat:enterprise_linux:10.2 | Paket deposu (OSV) |
| red hat:kernel-debuginfo | 0:6.12.0-211.32.1.el10_2 · Red Hat:enterprise_linux:10.2 | Paket deposu (OSV) |
| red hat:kernel-debuginfo-common-aarch64 | 0:6.12.0-211.32.1.el10_2 · Red Hat:enterprise_linux:10.2 | Paket deposu (OSV) |
+14
İstismar durumu
Bilinen kamuya açık istismar yok
Şu an kamuya açık bir istismar görülmedi. Bu, güvende olduğunuz anlamına gelmez; yalnızca eşiğin biraz daha yüksek olduğunu gösterir.
Araştırma bağlamı
Pentester ve araştırmacı için: saldırı profili, puan anlaşmazlığı, zaman çizelgesi, yama commit’leri, kredi, varyant ve zincir adayları, bug bounty kapsamı. Hepsi mevcut veriden türetilir; istismar kodu içermez.
Zaman çizelgesi
Yayından bugüne: kavram kanıtı, Metasploit modülü, CISA KEV ve düzeltme kaydı. Tarihler kaynakların bildirdiği tarihlerdir.
Yayın dışında tarihli olay yok.
FIRST EPSS günlük puanı; yalnızca 0,01 ve üstü değişimler kaydedilir (adım grafiği).
Yama ve commit bağlantıları
Referanslardaki commit, PR ve diff adresleri. Patch-diff ve varyant avı için başlangıç noktası; istismar değil, düzeltmedir.
Referanslarda commit ya da PR bağlantısı yok.
Kredi
Tüm araştırmacılarCNA kaydında adı geçen bulan, bildiren ve analistler. Ada tıkla, aynı araştırmacının diğer kayıtlarını gör.
CNA kaydında kredi yok.
Varyant adayları
Aynı üründe aynı zafiyet sınıfı, 18 ay içinde. Yama kök nedeni kapatmadıysa kardeş hata burada olur.
Gece hesaplanan ilişki yok.
Zincir adayları
Aynı üründe kimlik doğrulama atlatma ile yetki isteyen bir açık kısa aralıkla yayımlanmış: birlikte kimlik doğrulamasız bir yola dönüşebilir.
—
Bug bounty kapsamı
Bilinen herkese açık program yok.
Kaynak: bounty-targets-data (HackerOne, Bugcrowd, Intigriti, YesWeHack herkese açık listeleri).
Teknik detay
Saldırı koşulları
- Sisteme yerel erişimi olan biri tetikleyebilir.
- Düşük yetkili bir hesap yeterli.
- Kullanıcının bir şey yapması gerekmez.
- Özel bir koşul gerekmez; tekrarlanabilir.
Başarılı olursa
- Gizlilik
- yüksek · veriler okunabilir
- Bütünlük
- yüksek · veri ya da yapılandırma değiştirilebilir
- Erişilebilirlik
- yüksek · hizmet durdurulabilir
Etki, zafiyetli bileşenin ötesine geçebilir (kapsam değişir).
- Saldırı vektörü
- Yerel
- Karmaşıklık
- Düşük
- Gereken yetki
- Düşük
- Kullanıcı etkileşimi
- Gerekmez
- Kapsam
- Değişir
- Gizlilik etkisi
- Yüksek
- Bütünlük etkisi
- Yüksek
- Erişilebilirlik etkisi
- Yüksek
Zayıflık sınıfı (CWE)
CWE-416 · Use After FreeCVSS vektörü
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
nvd-secondary
Kök neden
Bir bellek alanı serbest bırakıldıktan sonra ona işaret eden başka bir referans kullanılmaya devam ediyor. Aynı alan o sırada başka bir veri için ayrılmış olabilir.
Hatanın kod karşılığı
CWE-416 sınıfının tamamıBu zafiyet sınıfının temsili örneği. Üreticinin kaynak kodu değildir; hatalı kalıbı ve düzeltmesini gösterir.
Hatalı
free(dev->buf);/* ... başka bir iş parçacığı hâlâ çalışıyor ... */process(dev->buf);Düzeltilmiş
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);Saldırı bağlamı
Bu zafiyet sınıfının (CWE) MITRE CAPEC saldırı desenleri ve ATT&CK teknikleri. Tespit kuralı ve tehdit avı için başlangıç noktası.
Bu CWE için MITRE'de CAPEC/ATT&CK eşlemesi yok.
Noroxi analizi
Bu kayıt için henüz Noroxi analizi yok
385 binden fazla zafiyetin tamamına elle analiz yazmıyoruz; bu dürüst olmazdı. Öne çıkan ve sahada etkisi olan zafiyetler için mekanizma, tespit ve kapatma adımlarını ekibimiz yazıyor.
Bu ürünü kullanıyoruz, yardım isteyinDeğişiklik günlüğü
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
- git.kernel.org/stable/c/06c19c967b845b63172601fe459667d973b7e6b7
- git.kernel.org/stable/c/0cb2af2ea66ad8ff195c156ea690f11216285bdf
- git.kernel.org/stable/c/14d1e55dfd2cf4711bff164a6aaaddb783552134
- git.kernel.org/stable/c/488e386484ec8c0e558be6e156edf34ed9f4d5c8
- git.kernel.org/stable/c/738ec97b1855df6c08fe2369f798fa0b972e556b
- git.kernel.org/stable/c/e9d4ea13aa2b6400bb10ec64b370ba3dadcd22f0
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.