CVE-2022-50257: xen/gntdev: Prevent leaking grants
Noroxi değerlendirmesi
Öncelik: İzleyin (aksiyon skoru 22/100)
- İzlediğimiz kaynaklarda (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) herkese açık istismar kodu ya da sahada sömürü kaydı yok.
- Önümüzdeki 30 günde sömürülme olasılığı %0,16 (FIRST EPSS).
- 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.
- Düzeltilmiş sürüm: Linux Linux 0991028cd49567d7016d1b224fe0117c35059f86, 0bccddd9b8f03ad57bb738f0d3da8845d4e1e579, 1cb73704cb4778299609634a790a80daba582f7d.
Şimdilik düşük öncelik. Linux Linux 0991028cd49567d7016d1b224fe0117c35059f86, 0bccddd9b8f03ad57bb738f0d3da8845d4e1e579, 1cb73704cb4778299609634a790a80daba582f7d ya da daha yeni sürüme yükseltin.
Kaydın verisinden otomatik üretilir: CVSS (NVD ve CNA), CISA KEV ve SSVC, FIRST EPSS, istismar kaynakları, düzeltme sürümleri. Nasıl hesaplıyoruz
Birincil kaynaklar: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: xen/gntdev: Prevent leaking grants Prior to this commit, if a grant mapping operation failed partially, some of the entries in the map_ops array would be invalid, whereas all of the entries in the kmap_ops array would be valid. This in turn would cause the following logic in gntdev_map_grant_pages to become invalid: for (i = 0; i < map->count; i++) { if (map->map_ops[i].status == GNTST_okay) { map->unmap_ops[i].handle = map->map_ops[i].handle; if (!use_ptemod) alloced++; } if (use_ptemod) { if (map->kmap_ops[i].status == GNTST_okay) { if (map->map_ops[i].status == GNTST_okay) alloced++; map->kunmap_ops[i].handle = map->kmap_ops[i].handle; } } } ... atomic_add(alloced, &map->live_grants); Assume that use_ptemod is true (i.e., the domain mapping the granted pages is a paravirtualized domain). In the code excerpt above, note that the "alloced" variable is only incremented when both kmap_ops[i].status and map_ops[i].status are set to GNTST_okay (i.e., both mapping operations are successful). However, as also noted above, there are cases where a grant mapping operation fails partially, breaking the assumption of the code excerpt above. The aforementioned causes map->live_grants to be incorrectly set. In some cases, all of the map_ops mappings fail, but all of the kmap_ops mappings succeed, meaning that live_grants may remain zero. This in turn makes it impossible to unmap the successfully grant-mapped pages pointed to by kmap_ops, because unmap_grant_pages has the following snippet of code at its beginning: if (atomic_read(&map->live_grants) == 0) return; /* Nothing to do */ In other cases where only some of the map_ops mappings fail but all kmap_ops mappings succeed, live_grants is made positive, but when the user requests unmapping the grant-mapped pages, __unmap_grant_pages_done will then make map->live_grants negative, because the latter function does not check if all of the pages that were requested to be unmapped were actually unmapped, and the same function unconditionally subtracts "data->count" (i.e., a value that can be greater than map->live_grants) from map->live_grants. The side effects of a negative live_grants value have not been studied. The net effect of all of this is that grant references are leaked in one of the above conditions. In Qubes OS v4.1 (which uses Xen's grant mechanism extensively for X11 GUI isolation), this issue manifests itself with warning messages like the following to be printed out by the Linux kernel in the VM that had granted pages (that contain X11 GUI window data) to dom0: "g.e. 0x1234 still pending", especially after the user rapidly resizes GUI VM windows (causing some grant-mapping operations to partially or completely fail, due to the fact that the VM unshares some of the pages as part of the window resizing, making the pages impossible to grant-map from dom0). The fix for this issue involves counting all successful map_ops and kmap_ops mappings separately, and then adding the sum to live_grants. During unmapping, only the number of successfully unmapped grants is subtracted from live_grants. The code is also modified to check for negative live_grants values after the subtraction and warn the user.
- Yayın
- 15 Eyl 2025
- Güncelleme
- 17 Haz 2026
- EPSS
- %0,1 · 5. yüzdelik
- CWE
- —
Rapor araçları
Aksiyon skoru
22
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,1
Bu kayıt değişirse haber alın
- KEV'de değil: sahada sömürü kaydı yok
- Herkese açık istismar kodu kaydı yok
- Düzeltme yayımlandı
Bunlardan biri değişirse günlük e-posta özetinde haber veririz.
WordPress siteniz mi var? WP Lens ile ücretsiz tarayın
Noroxi analizi
Sizin ortamınızda ne anlama geliyor?
Yukarıdaki değerlendirme kaydın verisinden otomatik üretilir; ortamınızı bilmez. Bu açığın sizde gerçekten sömürülebilir olup olmadığını ve hangi önlemin yeteceğini ekibimiz sizin sistemlerinizde doğrular.
Bu ürünü kullanıyoruz, yardım isteyinEtkilenen sistemler
Sürümünüz etkileniyor mu?
Ürünü seçip kullandığınız sürümü yazın. Bu kaydın sürüm aralıklarıyla tarayıcınızda karşılaştırılır; sürüm hiçbir yere gönderilmez.
| Ü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’inize sürümle eklerseniz eşleşme bunlarla yapılır.
- linux linux kernel4.9.322 ve sonrası · 4.9.332 öncesi
- linux linux kernel4.14.287 ve sonrası · 4.14.298 öncesi
- linux linux kernel4.19.251 ve sonrası · 4.19.264 öncesi
- linux linux kernel5.4.204 ve sonrası · 5.4.223 öncesi
- linux linux kernel5.10.129 ve sonrası · 5.10.153 öncesi
- linux linux kernel5.15.51 ve sonrası · 5.15.75 öncesi
- linux linux kernel5.18.8 ve sonrası · 5.19 öncesi
- linux linux kernel5.19.1 ve sonrası · 5.19.17 öncesi
- linux linux kernel6.0 ve sonrası · 6.0.3 öncesi
- linux linux kernel5.19
Ü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
- d4a49d20cd7cdb6bd075cd04c2cd00a7eba907ed, 5.19etkilenir
- 36cd49b071fceca70326d9db786aa15e9fffd677 ve sonrası · b043f2cab100bed3e0a999dcf38cc05b1e4a7e41 öncesietkilenir · git
- 2fe26a9a70482bea7827803fdec98050fec68b20 ve sonrası · 49bb053b1ec367b6883030eb2cca696e91435679 öncesietkilenir · git
- 73e9e72247b98da65bc32d41a961e820cca5f503 ve sonrası · cb1ccfe7655380f77a58b340072f5f40bc285902 öncesietkilenir · git
- ee25841221c17228cbd30262a90f3b03ad80cdf6 ve sonrası · 3d056d81b93a787613eda44aeb21fc14c3392b34 öncesietkilenir · git
- 79963021fd718b74bed4cbc98f5f49d3ba6fb48c ve sonrası · 49db6cb81400ba863e1a85e55fcdf1031807c23f öncesietkilenir · git
- 87a54feba68f5e47925c8e49100db9b2a8add761 ve sonrası · 1cb73704cb4778299609634a790a80daba582f7d öncesietkilenir · git
- dbe97cff7dd9f0f75c524afdd55ad46be3d15295 ve sonrası · 0bccddd9b8f03ad57bb738f0d3da8845d4e1e579 öncesietkilenir · git
- dbe97cff7dd9f0f75c524afdd55ad46be3d15295 ve sonrası · 273f6a4f71be12e2ec80a4919837d6e4fa933a04 öncesietkilenir · git
- dbe97cff7dd9f0f75c524afdd55ad46be3d15295 ve sonrası · 0991028cd49567d7016d1b224fe0117c35059f86 öncesietkilenir · git
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 |
|---|---|---|---|
| Debian:12 | linux | 6.0.3-1 öncesi | 6.0.3-1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-64kb | 5.3.18-150300.59.221.1 öncesi | 5.3.18-150300.59.221.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-default-base | 5.3.18-150300.59.221.1.150300.18.132.1 öncesi | 5.3.18-150300.59.221.1.150300.18.132.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-docs | 5.3.18-150300.59.221.1 öncesi | 5.3.18-150300.59.221.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-obs-build | 5.3.18-150300.59.221.1 öncesi | 5.3.18-150300.59.221.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-preempt | 5.3.18-150300.59.221.1 öncesi | 5.3.18-150300.59.221.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-source | 5.3.18-150300.59.221.1 öncesi | 5.3.18-150300.59.221.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-syms | 5.3.18-150300.59.221.1 öncesi | 5.3.18-150300.59.221.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-64kb | 5.14.21-150400.24.179.1 öncesi | 5.14.21-150400.24.179.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-docs | 5.14.21-150400.24.179.1 öncesi | 5.14.21-150400.24.179.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-obs-build | 5.14.21-150400.24.179.1 öncesi | 5.14.21-150400.24.179.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-source | 5.14.21-150400.24.179.1 öncesi | 5.14.21-150400.24.179.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-syms | 5.14.21-150400.24.179.1 öncesi | 5.14.21-150400.24.179.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-64kb | 5.14.21-150500.55.124.1 öncesi | 5.14.21-150500.55.124.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-docs | 5.14.21-150500.55.124.1 öncesi | 5.14.21-150500.55.124.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-obs-build | 5.14.21-150500.55.124.1 öncesi | 5.14.21-150500.55.124.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-syms | 5.14.21-150500.55.124.1 öncesi | 5.14.21-150500.55.124.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kernel-default | 4.12.14-122.275.1 öncesi | 4.12.14-122.275.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_73 | 1-8.3.1 öncesi | 1-8.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-default | 5.3.18-150300.59.221.1 öncesi | 5.3.18-150300.59.221.1 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_62 | 1-150300.7.3.1 öncesi | 1-150300.7.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_45 | 1-150400.9.3.1 öncesi | 1-150400.9.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_31 | 1-150500.11.3.1 öncesi | 1-150500.11.3.1 |
| SUSE:Linux Enterprise Micro 5.1 | kernel-rt | 5.3.18-150300.223.1 öncesi | 5.3.18-150300.223.1 |
+15
Aynı üründe
linux: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Hemen
- 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
Bu üründe bundan önce ve sonra yayımlananlar
- ← ÖncekiCVE-2022-5025415 Eyl 2025 · media: ov8865: Fix an error handling path in ov8865_probe()22İzleyin
- ← ÖncekiCVE-2022-5025615 Eyl 2025 · drm/meson: remove drm bridges at aggregate driver unbind time31İzleyin
- Sonraki →CVE-2022-5025815 Eyl 2025 · wifi: brcmfmac: Fix potential stack-out-of-bounds in brcmf_c_preinit_dcmds()31İzleyin
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 | 0991028cd49567d7016d1b224fe0117c35059f86 | Üretici (CNA) |
| Linux Linux | 0bccddd9b8f03ad57bb738f0d3da8845d4e1e579 | Üretici (CNA) |
| Linux Linux | 1cb73704cb4778299609634a790a80daba582f7d | Üretici (CNA) |
| Linux Linux | 273f6a4f71be12e2ec80a4919837d6e4fa933a04 | Üretici (CNA) |
| Linux Linux | 3d056d81b93a787613eda44aeb21fc14c3392b34 | Üretici (CNA) |
| Linux Linux | 4.14.298 | Üretici (CNA) |
| Linux Linux | 4.19.264 | Üretici (CNA) |
| Linux Linux | 4.9.332 | Üretici (CNA) |
| Linux Linux | 49bb053b1ec367b6883030eb2cca696e91435679 | Üretici (CNA) |
| Linux Linux | 49db6cb81400ba863e1a85e55fcdf1031807c23f | Üretici (CNA) |
| Linux Linux | 5.10.153 | Üretici (CNA) |
| Linux Linux | 5.15.75 | Üretici (CNA) |
| Linux Linux | 5.19 | Üretici (CNA) |
| Linux Linux | 5.4.223 | Üretici (CNA) |
| Linux Linux | b043f2cab100bed3e0a999dcf38cc05b1e4a7e41 | Üretici (CNA) |
| Linux Linux | cb1ccfe7655380f77a58b340072f5f40bc285902 | Üretici (CNA) |
| debian:linux | 6.0.3-1 · Debian:12 | Paket deposu (OSV) |
| suse:kernel-64kb | 5.14.21-150500.55.124.1 · SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | Paket deposu (OSV) |
| suse:kernel-default | 4.12.14-122.275.1 · SUSE:Linux Enterprise Live Patching 12 SP5 | Paket deposu (OSV) |
| suse:kernel-default-base | 5.14.21-150500.55.124.1.150500.6.59.1 · SUSE:Linux Enterprise Micro 5.5 | Paket deposu (OSV) |
| suse:kernel-docs | 5.14.21-150500.55.124.1 · SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | Paket deposu (OSV) |
| suse:kernel-livepatch-SLE15-SP5_Update_31 | 1-150500.11.3.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Paket deposu (OSV) |
| suse:kernel-obs-build | 5.14.21-150500.55.124.1 · SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | Paket deposu (OSV) |
| suse:kernel-rt | 5.3.18-150300.223.1 · SUSE:Linux Enterprise Micro 5.1 | Paket deposu (OSV) |
| suse:kernel-source | 4.12.14-122.275.1 · SUSE:Linux Enterprise Server 12 SP5-LTSS | Paket deposu (OSV) |
| suse:kernel-source-rt | 5.3.18-150300.223.1 · SUSE:Linux Enterprise Micro 5.1 | Paket deposu (OSV) |
| suse:kernel-syms | 4.12.14-122.275.1 · SUSE:Linux Enterprise Server 12 SP5-LTSS | Paket deposu (OSV) |
| suse:kernel-zfcpdump | 5.14.21-150500.55.124.1 · SUSE:Linux Enterprise Server 15 SP5-LTSS | Paket deposu (OSV) |
| suse:kgraft-patch-SLE12-SP5_Update_73 | 1-8.3.1 · SUSE:Linux Enterprise Live Patching 12 SP5 | Paket deposu (OSV) |
İ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ıklayın, aynı araştırmacının diğer kayıtlarını görün.
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
- yok
- Bütünlük
- yok
- Erişilebilirlik
- yüksek · hizmet durdurulabilir
- Saldırı vektörü
- Yerel
- Karmaşıklık
- Düşük
- Gereken yetki
- Düşük
- Kullanıcı etkileşimi
- Gerekmez
- Kapsam
- Değişmez
- Gizlilik etkisi
- Yok
- Bütünlük etkisi
- Yok
- Erişilebilirlik etkisi
- Yüksek
Zayıflık sınıfı (CWE)
—
CVSS vektörü
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
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.
Değişiklik günlüğü
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
Tüm referansları göster (8 daha)Daha az göster
- git.kernel.org/stable/c/0bccddd9b8f03ad57bb738f0d3da8845d4e1e579
- git.kernel.org/stable/c/1cb73704cb4778299609634a790a80daba582f7d
- git.kernel.org/stable/c/273f6a4f71be12e2ec80a4919837d6e4fa933a04
- git.kernel.org/stable/c/3d056d81b93a787613eda44aeb21fc14c3392b34
- git.kernel.org/stable/c/49bb053b1ec367b6883030eb2cca696e91435679
- git.kernel.org/stable/c/49db6cb81400ba863e1a85e55fcdf1031807c23f
- git.kernel.org/stable/c/b043f2cab100bed3e0a999dcf38cc05b1e4a7e41
- git.kernel.org/stable/c/cb1ccfe7655380f77a58b340072f5f40bc285902
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.