mm/huge_memory: fix folio isn't locked in softleaf_to_folio()
In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: fix folio isn't locked in softleaf_to_folio() On arm64 server, we found folio that get from migration entry isn't locked in softleaf_to_folio(). This issue triggers when mTHP splitting and zap_nonpresent_ptes() races, and the root cause is lack of memory barrier in softleaf_to_folio(). The race is as follows: CPU0 CPU1 deferred_split_scan() zap_nonpresent_ptes() lock folio split_folio() unmap_folio() change ptes to migration entries __split_folio_to_order() softleaf_to_folio() set flags(including PG_locked) for tail pages folio = pfn_folio(softleaf_to_pfn(entry)) smp_wmb() VM_WARN_ON_ONCE(!folio_test_locked(folio)) prep_compound_page() for tail pages In __split_folio_to_order(), smp_wmb() guarantees page flags of tail pages are visible before the tail page becomes non-compound. smp_wmb() should be paired with smp_rmb() in softleaf_to_folio(), which is missed. As a result, if zap_nonpresent_ptes() accesses migration entry that stores tail pfn, softleaf_to_folio() may see the updated compound_head of tail page before page->flags. This issue will trigger VM_WARN_ON_ONCE() in pfn_swap_entry_folio() because of the race between folio split and zap_nonpresent_ptes() leading to a folio incorrectly undergoing modification without a folio lock being held. This is a BUG_ON() before commit 93976a20345b ("mm: eliminate further swapops predicates"), which in merged in v6.19-rc1. To fix it, add missing smp_rmb() if the softleaf entry is migration entry in softleaf_to_folio() and softleaf_to_page(). [tujinjiang@huawei.com: update function name and comments]
- Yayın
- 22 Nis 2026
- Güncelleme
- 8 Eyl 2026
- EPSS
- %0,1 · 1. yüzdelik
- CWE
- CWE-362
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
18
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 18 / 40 · 4.7 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,1
Noroxi analizi
Bu kayıt için henüz Noroxi analizi yok
Veritabanındaki yüz binlerce 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 isteyinEtkilenen 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 kernel4.5 ve sonrası · 5.10.253 öncesi
- linux linux kernel5.11 ve sonrası · 5.15.203 öncesi
- linux linux kernel5.16 ve sonrası · 6.1.168 öncesi
- linux linux kernel6.2 ve sonrası · 6.6.134 öncesi
- linux linux kernel6.7 ve sonrası · 6.12.81 öncesi
- linux linux kernel6.13 ve sonrası · 6.18.21 öncesi
- linux linux kernel6.19 ve sonrası · 6.19.11 öncesi
- linux linux kernel7.0
Ü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
- 4.5etkilenir
- e9b61f19858a5d6c42ce2298cf138279375d0d9b ve sonrası · 426ee10711586617da869c8bb798214965337617 öncesietkilenir · git
- e9b61f19858a5d6c42ce2298cf138279375d0d9b ve sonrası · f1acf5887c2bbaf998dc3fe32c72b7a8b84a3ddd öncesietkilenir · git
- e9b61f19858a5d6c42ce2298cf138279375d0d9b ve sonrası · 722cfaf6b31d31123439e67b5deac6b1261a3dea öncesietkilenir · git
- e9b61f19858a5d6c42ce2298cf138279375d0d9b ve sonrası · 7ddcf4a245c1c5a91fdd9698757e3d95179ffe41 öncesietkilenir · git
- e9b61f19858a5d6c42ce2298cf138279375d0d9b ve sonrası · b8c49ad888892ad7b77062b9c102b799a3e9b4f8 öncesietkilenir · git
- e9b61f19858a5d6c42ce2298cf138279375d0d9b ve sonrası · 7ad1997b9bc8032603df8f091761114479285769 öncesietkilenir · git
- e9b61f19858a5d6c42ce2298cf138279375d0d9b ve sonrası · 8bfb8414e9f2ce6f5f2f0e3d0da52f2d132128e7 öncesietkilenir · git
- e9b61f19858a5d6c42ce2298cf138279375d0d9b ve sonrası · 4c5e7f0fcd592801c9cc18f29f80fbee84eb8669 öncesietkilenir · git
- 4.5 ö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 |
|---|---|---|---|
| Debian:12 | linux | 6.1.170-1 öncesi | 6.1.170-1 |
| Debian:13 | linux | 6.12.85-1 öncesi | 6.12.85-1 |
| Debian:14 | linux | 6.19.11-1 öncesi | 6.19.11-1 |
| openSUSE:Leap 16.0 | dtb-aarch64 | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-64kb | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-azure | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-default | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-default-base | 6.12.0-160000.36.1.160000.2.17 öncesi | 6.12.0-160000.36.1.160000.2.17 |
| openSUSE:Leap 16.0 | kernel-docs | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-kvmsmall | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-obs-build | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-obs-qa | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-rt | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-source | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-syms | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-zfcpdump | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| SUSE:Linux Enterprise Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7_Update_18 | 1-150700.15.3.1 öncesi | 1-150700.15.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7-RT_Update_17 | 1-150700.1.3.1 öncesi | 1-150700.1.3.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-64kb | 6.4.0-150700.53.66.1 öncesi | 6.4.0-150700.53.66.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-default | 6.4.0-150700.53.66.1 öncesi | 6.4.0-150700.53.66.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-default-base | 6.4.0-150700.53.66.1.150700.17.39.1 öncesi | 6.4.0-150700.53.66.1.150700.17.39.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-source | 6.4.0-150700.53.66.1 öncesi | 6.4.0-150700.53.66.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-zfcpdump | 6.4.0-150700.53.66.1 öncesi | 6.4.0-150700.53.66.1 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP7 | kernel-docs | 6.4.0-150700.53.66.2 öncesi | 6.4.0-150700.53.66.2 |
+23
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 | 426ee10711586617da869c8bb798214965337617 | Üretici (CNA) |
| Linux Linux | 4c5e7f0fcd592801c9cc18f29f80fbee84eb8669 | Üretici (CNA) |
| Linux Linux | 722cfaf6b31d31123439e67b5deac6b1261a3dea | Üretici (CNA) |
| Linux Linux | 7ad1997b9bc8032603df8f091761114479285769 | Üretici (CNA) |
| Linux Linux | 7ddcf4a245c1c5a91fdd9698757e3d95179ffe41 | Üretici (CNA) |
| Linux Linux | 8bfb8414e9f2ce6f5f2f0e3d0da52f2d132128e7 | Üretici (CNA) |
| Linux Linux | b8c49ad888892ad7b77062b9c102b799a3e9b4f8 | Üretici (CNA) |
| Linux Linux | f1acf5887c2bbaf998dc3fe32c72b7a8b84a3ddd | Üretici (CNA) |
| debian:linux | 6.1.170-1 · Debian:12 | Paket deposu (OSV) |
| opensuse:dtb-aarch64 | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-64kb | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-azure | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-default | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-default-base | 6.12.0-160000.36.1.160000.2.17 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-docs | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-kvmsmall | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-obs-build | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-obs-qa | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-rt | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-source | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-syms | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| suse:kernel-64kb | 6.12.0-160000.36.1 · SUSE:Linux Micro 6.2 | Paket deposu (OSV) |
| suse:kernel-azure | 6.12.0-160000.36.1 · SUSE:Linux Enterprise Server 16.0 | Paket deposu (OSV) |
| suse:kernel-default | 6.4.0-49.1 · SUSE:Linux Micro 6.0 | Paket deposu (OSV) |
| suse:kernel-default-base | 6.12.0-160000.36.1.160000.2.17 · SUSE:Linux Micro 6.2 | Paket deposu (OSV) |
| suse:kernel-docs | 6.12.0-160000.36.1 · SUSE:Linux Enterprise Server 16.0 | Paket deposu (OSV) |
| suse:kernel-kvmsmall | 6.4.0-49.1 · SUSE:Linux Micro 6.0 | Paket deposu (OSV) |
| suse:kernel-obs-build | 6.12.0-160000.36.1 · SUSE:Linux Micro Extras 6.2 | Paket deposu (OSV) |
| suse:kernel-obs-qa | 6.12.0-160000.36.1 · SUSE:Linux Enterprise Server 16.0 | Paket deposu (OSV) |
| suse:kernel-rt | 6.4.0-49.1 · SUSE:Linux Micro 6.0 | Paket deposu (OSV) |
+3
İ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.
- Zamanlama ya da yapılandırma gibi özel koşullar gerekir.
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
- Yüksek
- 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)
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')CVSS vektörü
CVSS:3.1/AV:L/AC:H/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ı.
Saldırı desenleri (CAPEC)
ATT&CK teknikleri
—
Değ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/426ee10711586617da869c8bb798214965337617
- git.kernel.org/stable/c/4c5e7f0fcd592801c9cc18f29f80fbee84eb8669
- git.kernel.org/stable/c/722cfaf6b31d31123439e67b5deac6b1261a3dea
- git.kernel.org/stable/c/7ad1997b9bc8032603df8f091761114479285769
- git.kernel.org/stable/c/7ddcf4a245c1c5a91fdd9698757e3d95179ffe41
- git.kernel.org/stable/c/8bfb8414e9f2ce6f5f2f0e3d0da52f2d132128e7
- git.kernel.org/stable/c/b8c49ad888892ad7b77062b9c102b799a3e9b4f8
- git.kernel.org/stable/c/f1acf5887c2bbaf998dc3fe32c72b7a8b84a3ddd
- cert-portal.siemens.com/productcert/html/ssa-019113.html
- cert-portal.siemens.com/productcert/html/ssa-082556.html
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.