pstore/ram: fix buffer overflow in persistent_ram_save_old()
In the Linux kernel, the following vulnerability has been resolved: pstore/ram: fix buffer overflow in persistent_ram_save_old() persistent_ram_save_old() can be called multiple times for the same persistent_ram_zone (e.g., via ramoops_pstore_read -> ramoops_get_next_prz for PSTORE_TYPE_DMESG records). Currently, the function only allocates prz->old_log when it is NULL, but it unconditionally updates prz->old_log_size to the current buffer size and then performs memcpy_fromio() using this new size. If the buffer size has grown since the first allocation (which can happen across different kernel boot cycles), this leads to: 1. A heap buffer overflow (OOB write) in the memcpy_fromio() calls 2. A subsequent OOB read when ramoops_pstore_read() accesses the buffer using the incorrect (larger) old_log_size The KASAN splat would look similar to: BUG: KASAN: slab-out-of-bounds in ramoops_pstore_read+0x... Read of size N at addr ... by task ... The conditions are likely extremely hard to hit: 0. Crash with a ramoops write of less-than-record-max-size bytes. 1. Reboot: ramoops registers, pstore_get_records(0) reads old crash, allocates old_log with size X 2. Crash handler registered, timer started (if pstore_update_ms >= 0) 3. Oops happens (non-fatal, system continues) 4. pstore_dump() writes oops via ramoops_pstore_write() size Y (>X) 5. pstore_new_entry = 1, pstore_timer_kick() called 6. System continues running (not a panic oops) 7. Timer fires after pstore_update_ms milliseconds 8. pstore_timefunc() → schedule_work() → pstore_dowork() → pstore_get_records(1) 9. ramoops_get_next_prz() → persistent_ram_save_old() 10. buffer_size() returns Y, but old_log is X bytes 11. Y > X: memcpy_fromio() overflows heap Requirements: - a prior crash record exists that did not fill the record size (almost impossible since the crash handler writes as much as it can possibly fit into the record, capped by max record size and the kmsg buffer almost always exceeds the max record size) - pstore_update_ms >= 0 (disabled by default) - Non-fatal oops (system survives) Free and reallocate the buffer when the new size differs from the previously allocated size. This ensures old_log always has sufficient space for the data being copied.
- Yayın
- 3 Haz 2026
- Güncelleme
- 5 Ağu 2026
- EPSS
- %0,2 · 8. yüzdelik
- CWE
- CWE-787
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
31
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,2
CNA ile NVD puanı
- NVD
- —
- CNA · Linux
- 7,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 kernel3.5.1 ve sonrası · 5.10.252 öncesi
- linux linux kernel5.11 ve sonrası · 5.15.202 öncesi
- linux linux kernel5.16 ve sonrası · 6.1.165 öncesi
- linux linux kernel6.2 ve sonrası · 6.6.128 öncesi
- linux linux kernel6.7 ve sonrası · 6.12.75 öncesi
- linux linux kernel6.13 ve sonrası · 6.18.14 öncesi
- linux linux kernel6.19 ve sonrası · 6.19.4 öncesi
- linux linux kernel3.5
Ü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
- 3.5etkilenir
- 201e4aca5aa179e6c69a4dcd36a3562e56b8d670 ve sonrası · 58bda5a1d1ee98254383ef34f76b2c35140513ea öncesietkilenir · git
- 201e4aca5aa179e6c69a4dcd36a3562e56b8d670 ve sonrası · 06d2c8bd108cea503f6f6e13e47495ed1085275f öncesietkilenir · git
- 201e4aca5aa179e6c69a4dcd36a3562e56b8d670 ve sonrası · 2fa9a047c6a50ec80c3890dd623b85e237f0d1fd öncesietkilenir · git
- 201e4aca5aa179e6c69a4dcd36a3562e56b8d670 ve sonrası · cff0ef043e16feb5a02307c8f9d0117a96c5587c öncesietkilenir · git
- 201e4aca5aa179e6c69a4dcd36a3562e56b8d670 ve sonrası · 9a6fc69a570c0780834246d52c856cc3dbc2605f öncesietkilenir · git
- 201e4aca5aa179e6c69a4dcd36a3562e56b8d670 ve sonrası · 4f73486ca822305c1cf5b8ebc0b53a6ab3801a81 öncesietkilenir · git
- 201e4aca5aa179e6c69a4dcd36a3562e56b8d670 ve sonrası · 7cfe964e61c0ab667abd5f5b68e0acbf783efa4f öncesietkilenir · git
- 201e4aca5aa179e6c69a4dcd36a3562e56b8d670 ve sonrası · 5669645c052f235726a85f443769b6fc02f66762 öncesietkilenir · git
- 3.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.18.14-1 öncesi | 6.18.14-1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-64kb | 5.14.21-150400.24.228.1 öncesi | 5.14.21-150400.24.228.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-docs | 5.14.21-150400.24.228.1 öncesi | 5.14.21-150400.24.228.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-obs-build | 5.14.21-150400.24.228.1 öncesi | 5.14.21-150400.24.228.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-syms | 5.14.21-150400.24.228.1 öncesi | 5.14.21-150400.24.228.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-64kb | 5.14.21-150500.55.177.1 öncesi | 5.14.21-150500.55.177.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-docs | 5.14.21-150500.55.177.1 öncesi | 5.14.21-150500.55.177.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-obs-build | 5.14.21-150500.55.177.1 öncesi | 5.14.21-150500.55.177.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-syms | 5.14.21-150500.55.177.1 öncesi | 5.14.21-150500.55.177.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_57 | 1-150400.9.3.1 öncesi | 1-150400.9.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_43 | 1-150500.11.5.1 öncesi | 1-150500.11.5.1 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-default | 6.4.0-150600.23.125.1 öncesi | 6.4.0-150600.23.125.1 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_29 | 1-150600.13.7.1 öncesi | 1-150600.13.7.1 |
| SUSE:Linux Enterprise Micro 5.3 | kernel-default | 5.14.21-150400.24.228.1 öncesi | 5.14.21-150400.24.228.1 |
| SUSE:Linux Enterprise Micro 5.3 | kernel-default-base | 5.14.21-150400.24.228.1.150400.24.116.1 öncesi | 5.14.21-150400.24.228.1.150400.24.116.1 |
| SUSE:Linux Enterprise Micro 5.3 | kernel-rt | 5.14.21-150400.15.176.1 öncesi | 5.14.21-150400.15.176.1 |
| SUSE:Linux Enterprise Micro 5.3 | kernel-source | 5.14.21-150400.24.228.1 öncesi | 5.14.21-150400.24.228.1 |
| SUSE:Linux Enterprise Micro 5.3 | kernel-source-rt | 5.14.21-150400.15.176.1 öncesi | 5.14.21-150400.15.176.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-default | 5.14.21-150500.55.177.1 öncesi | 5.14.21-150500.55.177.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-default-base | 5.14.21-150500.55.177.1.150500.6.83.2 öncesi | 5.14.21-150500.55.177.1.150500.6.83.2 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-rt | 5.14.21-150500.13.151.1 öncesi | 5.14.21-150500.13.151.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-source | 5.14.21-150500.55.177.1 öncesi | 5.14.21-150500.55.177.1 |
+10
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 | 06d2c8bd108cea503f6f6e13e47495ed1085275f | Üretici (CNA) |
| Linux Linux | 2fa9a047c6a50ec80c3890dd623b85e237f0d1fd | Üretici (CNA) |
| Linux Linux | 4f73486ca822305c1cf5b8ebc0b53a6ab3801a81 | Üretici (CNA) |
| Linux Linux | 5669645c052f235726a85f443769b6fc02f66762 | Üretici (CNA) |
| Linux Linux | 58bda5a1d1ee98254383ef34f76b2c35140513ea | Üretici (CNA) |
| Linux Linux | 7cfe964e61c0ab667abd5f5b68e0acbf783efa4f | Üretici (CNA) |
| Linux Linux | 9a6fc69a570c0780834246d52c856cc3dbc2605f | Üretici (CNA) |
| Linux Linux | cff0ef043e16feb5a02307c8f9d0117a96c5587c | Üretici (CNA) |
| debian:linux | 6.1.170-1 · Debian:12 | Paket deposu (OSV) |
| suse:kernel-64kb | 5.14.21-150400.24.228.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Paket deposu (OSV) |
| suse:kernel-default | 5.14.21-150400.24.228.1 · SUSE:Linux Enterprise Micro 5.3 | Paket deposu (OSV) |
| suse:kernel-default-base | 5.14.21-150400.24.228.1.150400.24.116.1 · SUSE:Linux Enterprise Micro 5.3 | Paket deposu (OSV) |
| suse:kernel-docs | 5.14.21-150400.24.228.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Paket deposu (OSV) |
| suse:kernel-livepatch-SLE15-SP4_Update_57 | 1-150400.9.3.1 · SUSE:Linux Enterprise Live Patching 15 SP4 | Paket deposu (OSV) |
| suse:kernel-livepatch-SLE15-SP5_Update_43 | 1-150500.11.5.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Paket deposu (OSV) |
| suse:kernel-obs-build | 5.14.21-150400.24.228.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Paket deposu (OSV) |
| suse:kernel-rt | 5.14.21-150500.13.151.1 · SUSE:Linux Enterprise Micro 5.5 | Paket deposu (OSV) |
| suse:kernel-source | 5.14.21-150400.24.228.1 · SUSE:Linux Enterprise Micro 5.3 | Paket deposu (OSV) |
| suse:kernel-source-rt | 5.14.21-150500.13.151.1 · SUSE:Linux Enterprise Micro 5.5 | Paket deposu (OSV) |
| suse:kernel-syms | 5.14.21-150400.24.228.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Paket deposu (OSV) |
| suse:kernel-zfcpdump | 5.14.21-150400.24.228.1 · SUSE:Linux Enterprise Server 15 SP4-LTSS | 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
- yüksek · veri ya da yapılandırma değiştirilebilir
- 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
- Yüksek
- Erişilebilirlik etkisi
- Yüksek
Zayıflık sınıfı (CWE)
CWE-787 · Out-of-bounds WriteCVSS vektörü
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-secondary
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/06d2c8bd108cea503f6f6e13e47495ed1085275f
- git.kernel.org/stable/c/2fa9a047c6a50ec80c3890dd623b85e237f0d1fd
- git.kernel.org/stable/c/4f73486ca822305c1cf5b8ebc0b53a6ab3801a81
- git.kernel.org/stable/c/5669645c052f235726a85f443769b6fc02f66762
- git.kernel.org/stable/c/58bda5a1d1ee98254383ef34f76b2c35140513ea
- git.kernel.org/stable/c/7cfe964e61c0ab667abd5f5b68e0acbf783efa4f
- git.kernel.org/stable/c/9a6fc69a570c0780834246d52c856cc3dbc2605f
- git.kernel.org/stable/c/cff0ef043e16feb5a02307c8f9d0117a96c5587c
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.