mm/page_owner: use strscpy() instead of strlcpy()
In the Linux kernel, the following vulnerability has been resolved: mm/page_owner: use strscpy() instead of strlcpy() current->comm[] is not a string (no guarantee for a zero byte in it). strlcpy(s1, s2, l) is calling strlen(s2), potentially causing out-of-bound access, as reported by syzbot: detected buffer overflow in __fortify_strlen ------------[ cut here ]------------ kernel BUG at lib/string_helpers.c:980! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4087 Comm: dhcpcd-run-hooks Not tainted 5.18.0-rc3-syzkaller-01537-g20b87e7c29df #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:fortify_panic+0x18/0x1a lib/string_helpers.c:980 Code: 8c e8 c5 ba e1 fa e9 23 0f bf fa e8 0b 5d 8c f8 eb db 55 48 89 fd e8 e0 49 40 f8 48 89 ee 48 c7 c7 80 f5 26 8a e8 99 09 f1 ff <0f> 0b e8 ca 49 40 f8 48 8b 54 24 18 4c 89 f1 48 c7 c7 00 00 27 8a RSP: 0018:ffffc900000074a8 EFLAGS: 00010286 RAX: 000000000000002c RBX: ffff88801226b728 RCX: 0000000000000000 RDX: ffff8880198e0000 RSI: ffffffff81600458 RDI: fffff52000000e87 RBP: ffffffff89da2aa0 R08: 000000000000002c R09: 0000000000000000 R10: ffffffff815fae2e R11: 0000000000000000 R12: ffff88801226b700 R13: ffff8880198e0830 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5876ad6ff8 CR3: 000000001a48c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: <IRQ> __fortify_strlen include/linux/fortify-string.h:128 [inline] strlcpy include/linux/fortify-string.h:143 [inline] __set_page_owner_handle+0x2b1/0x3e0 mm/page_owner.c:171 __set_page_owner+0x3e/0x50 mm/page_owner.c:190 prep_new_page mm/page_alloc.c:2441 [inline] get_page_from_freelist+0xba2/0x3e00 mm/page_alloc.c:4182 __alloc_pages+0x1b2/0x500 mm/page_alloc.c:5408 alloc_pages+0x1aa/0x310 mm/mempolicy.c:2272 alloc_slab_page mm/slub.c:1799 [inline] allocate_slab+0x26c/0x3c0 mm/slub.c:1944 new_slab mm/slub.c:2004 [inline] ___slab_alloc+0x8df/0xf20 mm/slub.c:3005 __slab_alloc.constprop.0+0x4d/0xa0 mm/slub.c:3092 slab_alloc_node mm/slub.c:3183 [inline] slab_alloc mm/slub.c:3225 [inline] __kmem_cache_alloc_lru mm/slub.c:3232 [inline] kmem_cache_alloc+0x360/0x3b0 mm/slub.c:3242 dst_alloc+0x146/0x1f0 net/core/dst.c:92
- Yayın
- 26 Şub 2025
- Güncelleme
- 17 Haz 2026
- EPSS
- %0,3 · 16. yüzdelik
- CWE
- CWE-125
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
28
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 28 / 40 · 7.1 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,3
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 kernel5.18 ve sonrası · 5.18.3 ö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
- 5.18etkilenir
- 865ed6a3278654ce4a55eb74c5283eeb82ad4699 ve sonrası · 5cd9900a1ac8b0a4ff3cd97d4d77b7711be435bf öncesietkilenir · git
- 865ed6a3278654ce4a55eb74c5283eeb82ad4699 ve sonrası · cd8c1fd8cdd14158f2d8bea2d1bfe8015dccfa3a öncesietkilenir · git
- 5.18 öncesietkilenmez · semver
- 5.18.3 ve sonrası · 5.18.* dahil öncesietkilenmez · semver
- 5.19 ve sonrasıetkilenmez · original_commit_for_fix
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 | 5.18.5-1 öncesi | 5.18.5-1 |
| Red Hat:enterprise_linux:8::baseos | bpftool | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | bpftool-debuginfo | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-abi-stablelists | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-core | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-core | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-debuginfo | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-devel | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-modules | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-modules-extra | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-aarch64 | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-ppc64le | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-s390x | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-x86_64 | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-devel | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-doc | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-modules | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-modules-extra | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-tools | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-tools-debuginfo | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
| Red Hat:enterprise_linux:8::baseos | kernel-tools-libs | 0:4.18.0-513.5.1.el8_9 öncesi | 0:4.18.0-513.5.1.el8_9 |
+11
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 | 5cd9900a1ac8b0a4ff3cd97d4d77b7711be435bf | Üretici (CNA) |
| Linux Linux | cd8c1fd8cdd14158f2d8bea2d1bfe8015dccfa3a | Üretici (CNA) |
| Debian:linux | 5.18.5-1 · Debian:12 | Paket deposu (OSV) |
| Red Hat:bpftool | 0:4.18.0-513.5.1.el8_9 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| Red Hat:bpftool-debuginfo | 0:4.18.0-513.5.1.el8_9 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| Red Hat:kernel | 0:4.18.0-513.5.1.el8_9 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| Red Hat:kernel-abi-stablelists | 0:4.18.0-513.5.1.el8_9 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| Red Hat:kernel-core | 0:4.18.0-513.5.1.el8_9 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| Red Hat:kernel-debug | 0:4.18.0-513.5.1.el8_9 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| Red Hat:kernel-debug-core | 0:4.18.0-513.5.1.el8_9 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| Red Hat:kernel-debug-debuginfo | 0:4.18.0-513.5.1.el8_9 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| Red Hat:kernel-debug-devel | 0:4.18.0-513.5.1.el8_9 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| Red Hat:kernel-debug-modules | 0:4.18.0-513.5.1.el8_9 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| Red Hat:kernel-debug-modules-extra | 0:4.18.0-513.5.1.el8_9 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| Red Hat:kernel-debuginfo | 0:4.18.0-513.5.1.el8_9 · Red Hat:enterprise_linux:8::baseos | 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ı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
- 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
- Yüksek
- Bütünlük etkisi
- Yok
- Erişilebilirlik etkisi
- Yüksek
Zayıflık sınıfı (CWE)
CWE-125 · Out-of-bounds ReadCVSS vektörü
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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
—
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/5cd9900a1ac8b0a4ff3cd97d4d77b7711be435bf
- git.kernel.org/stable/c/cd8c1fd8cdd14158f2d8bea2d1bfe8015dccfa3a
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.