İçeriğe atla
Noroxi
CVE-2025-22090· NVD / CVE Programı· CNA Linux

x86/mm/pat: Fix VM_PAT handling when fork() fails in copy_page_range()

In the Linux kernel, the following vulnerability has been resolved: x86/mm/pat: Fix VM_PAT handling when fork() fails in copy_page_range() If track_pfn_copy() fails, we already added the dst VMA to the maple tree. As fork() fails, we'll cleanup the maple tree, and stumble over the dst VMA for which we neither performed any reservation nor copied any page tables. Consequently untrack_pfn() will see VM_PAT and try obtaining the PAT information from the page table -- which fails because the page table was not copied. The easiest fix would be to simply clear the VM_PAT flag of the dst VMA if track_pfn_copy() fails. However, the whole thing is about "simply" clearing the VM_PAT flag is shaky as well: if we passed track_pfn_copy() and performed a reservation, but copying the page tables fails, we'll simply clear the VM_PAT flag, not properly undoing the reservation ... which is also wrong. So let's fix it properly: set the VM_PAT flag only if the reservation succeeded (leaving it clear initially), and undo the reservation if anything goes wrong while copying the page tables: clearing the VM_PAT flag after undoing the reservation. Note that any copied page table entries will get zapped when the VMA will get removed later, after copy_page_range() succeeded; as VM_PAT is not set then, we won't try cleaning VM_PAT up once more and untrack_pfn() will be happy. Note that leaving these page tables in place without a reservation is not a problem, as we are aborting fork(); this process will never run. A reproducer can trigger this usually at the first try: https://gitlab.com/davidhildenbrand/scratchspace/-/raw/main/reproducers/pat_fork.c WARNING: CPU: 26 PID: 11650 at arch/x86/mm/pat/memtype.c:983 get_pat_info+0xf6/0x110 Modules linked in: ... CPU: 26 UID: 0 PID: 11650 Comm: repro3 Not tainted 6.12.0-rc5+ #92 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-2.fc40 04/01/2014 RIP: 0010:get_pat_info+0xf6/0x110 ... Call Trace: <TASK> ... untrack_pfn+0x52/0x110 unmap_single_vma+0xa6/0xe0 unmap_vmas+0x105/0x1f0 exit_mmap+0xf6/0x460 __mmput+0x4b/0x120 copy_process+0x1bf6/0x2aa0 kernel_clone+0xab/0x440 __do_sys_clone+0x66/0x90 do_syscall_64+0x95/0x180 Likely this case was missed in: d155df53f310 ("x86/mm/pat: clear VM_PAT if copy_p4d_range failed") ... and instead of undoing the reservation we simply cleared the VM_PAT flag. Keep the documentation of these functions in include/linux/pgtable.h, one place is more than sufficient -- we should clean that up for the other functions like track_pfn_remap/untrack_pfn separately.

OrtaCVSS 5.5 · v3.1—İstismar yok Düzeltme var
Yayın
16 Nis 2025
Güncelleme
8 Eyl 2026
EPSS
%0,2 · 11. yüzdelik
CWE
—
Bu CVE’yi takip et

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ı

JSON

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,2

CNA ile NVD puanı

NVD
5,5
CNA · Linux
7,3
1,8 puan fark

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H

Kaydı açan otoritenin puanı ile NVD’nin bağımsız puanı. İki puan arasındaki fark ciddiyetin tartışmalı olduğunu gösterir.

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 isteyin

Etkilenen sistemler

ÜreticiÜrün
linuxlinux 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.29 ve sonrası · 6.6.87 öncesi
  • linux linux kernel6.7 ve sonrası · 6.12.23 öncesi
  • linux linux kernel6.13 ve sonrası · 6.13.11 öncesi
  • linux linux kernel6.14 ve sonrası · 6.14.2 öncesi

Ü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.29etkilenir
    • 2ab640379a0ab4cef746ced1d7e04a0941774bcb ve sonrası · a6623712ba8449876f0b3de9462831523fb851e4 öncesietkilenir · git
    • 2ab640379a0ab4cef746ced1d7e04a0941774bcb ve sonrası · b07398e8a5da517083f5c3f2daa8f6681b48ab28 öncesietkilenir · git
    • 2ab640379a0ab4cef746ced1d7e04a0941774bcb ve sonrası · 8d6373f83f367dbed316ddeb178130a3a64b5b67 öncesietkilenir · git
    • 2ab640379a0ab4cef746ced1d7e04a0941774bcb ve sonrası · da381c33f3aa6406406c9fdf07b8b0b63e0ce722 öncesietkilenir · git
    • 2ab640379a0ab4cef746ced1d7e04a0941774bcb ve sonrası · de6185b8892d88142ef69768fe4077cbf40109c0 öncesietkilenir · git
    • 2ab640379a0ab4cef746ced1d7e04a0941774bcb ve sonrası · dc84bc2aba85a1508f04a936f9f9a15f64ebfb31 öncesietkilenir · git
    • 2.6.29 öncesietkilenmez · semver
    • 6.1.160 ve sonrası · 6.1.* dahil öncesietkilenmez · semver
    • 6.6.87 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.

EkosistemPaketEtkilenen aralıkDüzeltme
Debian:11linux-6.16.1.162-1~deb11u1 öncesi6.1.162-1~deb11u1
Debian:12linux6.1.162-1 öncesi6.1.162-1
Debian:13linux6.12.25-1 öncesi6.12.25-1
openSUSE:Leap 15.6dtb-aarch646.4.0-150600.23.65.1 öncesi6.4.0-150600.23.65.1
openSUSE:Leap 15.6kernel-debug6.4.0-150600.23.65.1 öncesi6.4.0-150600.23.65.1
openSUSE:Leap 15.6kernel-kvmsmall6.4.0-150600.23.65.1 öncesi6.4.0-150600.23.65.1
openSUSE:Leap 15.6kernel-obs-qa6.4.0-150600.23.65.1 öncesi6.4.0-150600.23.65.1
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_141-150600.13.3.4 öncesi1-150600.13.3.4
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_141-150600.13.3.4 öncesi1-150600.13.3.4
SUSE:Linux Enterprise Live Patching 15 SP7kernel-livepatch-SLE15-SP7_Update_31-150700.15.3.4 öncesi1-150700.15.3.4
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-64kb6.4.0-150600.23.65.1 öncesi6.4.0-150600.23.65.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-64kb6.4.0-150600.23.65.1 öncesi6.4.0-150600.23.65.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-default6.4.0-150600.23.65.1 öncesi6.4.0-150600.23.65.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-default6.4.0-150600.23.65.1 öncesi6.4.0-150600.23.65.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-default-base6.4.0-150600.23.65.1.150600.12.28.4 öncesi6.4.0-150600.23.65.1.150600.12.28.4
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-default-base6.4.0-150600.23.65.1.150600.12.28.4 öncesi6.4.0-150600.23.65.1.150600.12.28.4
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-source6.4.0-150600.23.65.1 öncesi6.4.0-150600.23.65.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-source6.4.0-150600.23.65.1 öncesi6.4.0-150600.23.65.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-zfcpdump6.4.0-150600.23.65.1 öncesi6.4.0-150600.23.65.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6kernel-zfcpdump6.4.0-150600.23.65.1 öncesi6.4.0-150600.23.65.1
SUSE:Linux Enterprise Module for Basesystem 15 SP7kernel-64kb6.4.0-150700.53.11.1 öncesi6.4.0-150700.53.11.1
SUSE:Linux Enterprise Module for Basesystem 15 SP7kernel-default6.4.0-150700.53.11.1 öncesi6.4.0-150700.53.11.1
SUSE:Linux Enterprise Module for Basesystem 15 SP7kernel-default-base6.4.0-150700.53.11.1.150700.17.9.4 öncesi6.4.0-150700.53.11.1.150700.17.9.4
SUSE:Linux Enterprise Module for Basesystem 15 SP7kernel-source6.4.0-150700.53.11.1 öncesi6.4.0-150700.53.11.1

+19

Aynı 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 KEV
    89Hemen
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Hemen
  • 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 haKEV
    83Hemen
  • 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 creKEV
    77Bu 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 addKEV
    77Bu 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 loKEV
    77Bu 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 / paketDüzeltilmiş sürümKaynak
Linux Linux8d6373f83f367dbed316ddeb178130a3a64b5b67Üretici (CNA)
Linux Linuxa6623712ba8449876f0b3de9462831523fb851e4Üretici (CNA)
Linux Linuxb07398e8a5da517083f5c3f2daa8f6681b48ab28Üretici (CNA)
Linux Linuxda381c33f3aa6406406c9fdf07b8b0b63e0ce722Üretici (CNA)
Linux Linuxdc84bc2aba85a1508f04a936f9f9a15f64ebfb31Üretici (CNA)
Linux Linuxde6185b8892d88142ef69768fe4077cbf40109c0Üretici (CNA)
debian:linux6.1.162-1 · Debian:12Paket deposu (OSV)
debian:linux-6.16.1.162-1~deb11u1 · Debian:11Paket deposu (OSV)
opensuse:kernel-azure6.4.0-150600.8.48.1 · openSUSE:Leap 15.6Paket deposu (OSV)
opensuse:kernel-source-azure6.4.0-150600.8.48.1 · openSUSE:Leap 15.6Paket deposu (OSV)
opensuse:kernel-syms-azure6.4.0-150600.8.48.1 · openSUSE:Leap 15.6Paket deposu (OSV)
suse:kernel-64kb6.4.0-150600.23.65.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Paket deposu (OSV)
suse:kernel-azure6.4.0-150600.8.48.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Paket deposu (OSV)
suse:kernel-default6.4.0-150600.23.65.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Paket deposu (OSV)
suse:kernel-default-base6.4.0-150600.23.65.1.150600.12.28.4 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Paket deposu (OSV)
suse:kernel-docs6.4.0-150600.23.65.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP6Paket deposu (OSV)
suse:kernel-source6.4.0-150600.23.65.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Paket deposu (OSV)
suse:kernel-source-azure6.4.0-150600.8.48.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Paket deposu (OSV)
suse:kernel-syms-azure6.4.0-150600.8.48.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6Paket deposu (OSV)
suse:kernel-zfcpdump6.4.0-150600.23.65.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Paket 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.

EPSS son 120 gün

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.

CNA 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
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üğü

  1. Düzeltme✗ → ✓

Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →

Referanslar

Tüm kayıtlar