tcp: correct handling of extreme memory squeeze
In the Linux kernel, the following vulnerability has been resolved: tcp: correct handling of extreme memory squeeze Testing with iperf3 using the "pasta" protocol splicer has revealed a problem in the way tcp handles window advertising in extreme memory squeeze situations. Under memory pressure, a socket endpoint may temporarily advertise a zero-sized window, but this is not stored as part of the socket data. The reasoning behind this is that it is considered a temporary setting which shouldn't influence any further calculations. However, if we happen to stall at an unfortunate value of the current window size, the algorithm selecting a new value will consistently fail to advertise a non-zero window once we have freed up enough memory. This means that this side's notion of the current window size is different from the one last advertised to the peer, causing the latter to not send any data to resolve the sitution. The problem occurs on the iperf3 server side, and the socket in question is a completely regular socket with the default settings for the fedora40 kernel. We do not use SO_PEEK or SO_RCVBUF on the socket. The following excerpt of a logging session, with own comments added, shows more in detail what is happening: // tcp_v4_rcv(->) // tcp_rcv_established(->) [5201<->39222]: ==== Activating log @ net/ipv4/tcp_input.c/tcp_data_queue()/5257 ==== [5201<->39222]: tcp_data_queue(->) [5201<->39222]: DROPPING skb [265600160..265665640], reason: SKB_DROP_REASON_PROTO_MEM [rcv_nxt 265600160, rcv_wnd 262144, snt_ack 265469200, win_now 131184] [copied_seq 259909392->260034360 (124968), unread 5565800, qlen 85, ofoq 0] [OFO queue: gap: 65480, len: 0] [5201<->39222]: tcp_data_queue(<-) [5201<->39222]: __tcp_transmit_skb(->) [tp->rcv_wup: 265469200, tp->rcv_wnd: 262144, tp->rcv_nxt 265600160] [5201<->39222]: tcp_select_window(->) [5201<->39222]: (inet_csk(sk)->icsk_ack.pending & ICSK_ACK_NOMEM) ? --> TRUE [tp->rcv_wup: 265469200, tp->rcv_wnd: 262144, tp->rcv_nxt 265600160] returning 0 [5201<->39222]: tcp_select_window(<-) [5201<->39222]: ADVERTISING WIN 0, ACK_SEQ: 265600160 [5201<->39222]: [__tcp_transmit_skb(<-) [5201<->39222]: tcp_rcv_established(<-) [5201<->39222]: tcp_v4_rcv(<-) // Receive queue is at 85 buffers and we are out of memory. // We drop the incoming buffer, although it is in sequence, and decide // to send an advertisement with a window of zero. // We don't update tp->rcv_wnd and tp->rcv_wup accordingly, which means // we unconditionally shrink the window. [5201<->39222]: tcp_recvmsg_locked(->) [5201<->39222]: __tcp_cleanup_rbuf(->) tp->rcv_wup: 265469200, tp->rcv_wnd: 262144, tp->rcv_nxt 265600160 [5201<->39222]: [new_win = 0, win_now = 131184, 2 * win_now = 262368] [5201<->39222]: [new_win >= (2 * win_now) ? --> time_to_ack = 0] [5201<->39222]: NOT calling tcp_send_ack() [tp->rcv_wup: 265469200, tp->rcv_wnd: 262144, tp->rcv_nxt 265600160] [5201<->39222]: __tcp_cleanup_rbuf(<-) [rcv_nxt 265600160, rcv_wnd 262144, snt_ack 265469200, win_now 131184] [copied_seq 260040464->260040464 (0), unread 5559696, qlen 85, ofoq 0] returning 6104 bytes [5201<->39222]: tcp_recvmsg_locked(<-) // After each read, the algorithm for calculating the new receive // window in __tcp_cleanup_rbuf() finds it is too small to advertise // or to update tp->rcv_wnd. // Meanwhile, the peer thinks the window is zero, and will not send // any more data to trigger an update from the interrupt mode side. [5201<->39222]: tcp_recvmsg_locked(->) [5201<->39222]: __tcp_cleanup_rbuf(->) tp->rcv_wup: 265469200, tp->rcv_wnd: 262144, tp->rcv_nxt 265600160 [5201<->39222]: [new_win = 262144, win_now = 131184, 2 * win_n ---truncated---
- Yayın
- 26 Şub 2025
- Güncelleme
- 5 Ağu 2026
- EPSS
- %0,3 · 18. yüzdelik
- CWE
- CWE-667
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
22
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,3
CNA ile NVD puanı
- NVD
- 5,5
- CNA · Linux
- 8,2
- 2,7 puan fark
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/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 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 kernel6.6 ve sonrası · 6.6.76 öncesi
- linux linux kernel6.7 ve sonrası · 6.12.13 öncesi
- linux linux kernel6.13 ve sonrası · 6.13.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
- 6.6etkilenir
- e2142825c120d4317abf7160a0fc34b3de532586 ve sonrası · b01e7ceb35dcb7ffad413da657b78c3340a09039 öncesietkilenir · git
- e2142825c120d4317abf7160a0fc34b3de532586 ve sonrası · 1dd823a46e25ffde1492c391934f69a9e5eb574f öncesietkilenir · git
- e2142825c120d4317abf7160a0fc34b3de532586 ve sonrası · b4055e2fe96f4ef101d8af0feb056d78d77514ff öncesietkilenir · git
- e2142825c120d4317abf7160a0fc34b3de532586 ve sonrası · 8c670bdfa58e48abad1d5b6ca1ee843ca91f7303 öncesietkilenir · git
- 6.6 öncesietkilenmez · semver
- 6.6.76 ve sonrası · 6.6.* dahil öncesietkilenmez · semver
- 6.12.13 ve sonrası · 6.12.* dahil öncesietkilenmez · semver
- 6.13.2 ve sonrası · 6.13.* dahil öncesietkilenmez · semver
- 6.14 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:13 | linux | 6.12.13-1 öncesi | 6.12.13-1 |
| openSUSE:Leap 15.6 | dtb-aarch64 | 6.4.0-150600.23.81.1 öncesi | 6.4.0-150600.23.81.1 |
| openSUSE:Leap 15.6 | kernel-debug | 6.4.0-150600.23.81.3 öncesi | 6.4.0-150600.23.81.3 |
| openSUSE:Leap 15.6 | kernel-kvmsmall | 6.4.0-150600.23.81.3 öncesi | 6.4.0-150600.23.81.3 |
| openSUSE:Leap 15.6 | kernel-obs-qa | 6.4.0-150600.23.81.1 öncesi | 6.4.0-150600.23.81.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-64kb | 5.14.21-150400.24.235.1 öncesi | 5.14.21-150400.24.235.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-docs | 5.14.21-150400.24.235.1 öncesi | 5.14.21-150400.24.235.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-obs-build | 5.14.21-150400.24.235.1 öncesi | 5.14.21-150400.24.235.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-syms | 5.14.21-150400.24.235.1 öncesi | 5.14.21-150400.24.235.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-64kb | 5.14.21-150500.55.182.1 öncesi | 5.14.21-150500.55.182.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-docs | 5.14.21-150500.55.182.1 öncesi | 5.14.21-150500.55.182.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-obs-build | 5.14.21-150500.55.182.1 öncesi | 5.14.21-150500.55.182.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-syms | 5.14.21-150500.55.182.1 öncesi | 5.14.21-150500.55.182.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_58 | 1-150400.9.7.1 öncesi | 1-150400.9.7.1 |
| SUSE:Linux Enterprise Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_44 | 1-150500.11.5.1 öncesi | 1-150500.11.5.1 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_18 | 1-150600.13.3.3 öncesi | 1-150600.13.3.3 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_18 | 1-150600.13.3.3 öncesi | 1-150600.13.3.3 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6-RT_Update_18 | 1-150600.1.3.1 öncesi | 1-150600.1.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6-RT_Update_18 | 1-150600.1.3.1 öncesi | 1-150600.1.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7_Update_7 | 1-150700.15.3.1 öncesi | 1-150700.15.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7-RT_Update_7 | 1-150700.1.3.1 öncesi | 1-150700.1.3.1 |
| SUSE:Linux Enterprise Micro 5.3 | kernel-default | 5.14.21-150400.24.235.1 öncesi | 5.14.21-150400.24.235.1 |
| SUSE:Linux Enterprise Micro 5.3 | kernel-default-base | 5.14.21-150400.24.235.1.150400.24.118.3 öncesi | 5.14.21-150400.24.235.1.150400.24.118.3 |
| SUSE:Linux Enterprise Micro 5.3 | kernel-rt | 5.14.21-150400.15.181.1 öncesi | 5.14.21-150400.15.181.1 |
+59
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 | 1dd823a46e25ffde1492c391934f69a9e5eb574f | Üretici (CNA) |
| Linux Linux | 8c670bdfa58e48abad1d5b6ca1ee843ca91f7303 | Üretici (CNA) |
| Linux Linux | b01e7ceb35dcb7ffad413da657b78c3340a09039 | Üretici (CNA) |
| Linux Linux | b4055e2fe96f4ef101d8af0feb056d78d77514ff | Üretici (CNA) |
| debian:linux | 6.12.13-1 · Debian:13 | Paket deposu (OSV) |
| opensuse:dtb-aarch64 | 6.4.0-150600.23.81.1 · openSUSE:Leap 15.6 | Paket deposu (OSV) |
| opensuse:kernel-64kb | 6.4.0-150600.23.81.3 · openSUSE:Leap 15.6 | Paket deposu (OSV) |
| opensuse:kernel-debug | 6.4.0-150600.23.81.3 · openSUSE:Leap 15.6 | Paket deposu (OSV) |
| suse:kernel-64kb | 6.4.0-150600.23.81.3 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Paket deposu (OSV) |
| suse:kernel-64kb | 6.4.0-150700.53.25.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7 | Paket deposu (OSV) |
| suse:kernel-default | 6.4.0-150600.23.81.3 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Paket deposu (OSV) |
| suse:kernel-default | 6.4.0-150700.53.25.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7 | Paket deposu (OSV) |
| suse:kernel-default-base | 6.4.0-150600.23.81.3.150600.12.36.3 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Paket deposu (OSV) |
| suse:kernel-default-base | 6.4.0-150700.53.25.1.150700.17.17.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7 | Paket deposu (OSV) |
| suse:kernel-docs | 6.4.0-150600.23.81.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP6 | Paket deposu (OSV) |
| suse:kernel-docs | 6.4.0-150700.53.25.2 · SUSE:Linux Enterprise Module for Development Tools 15 SP7 | Paket deposu (OSV) |
| suse:kernel-livepatch-SLE15-SP6_Update_18 | 1-150600.13.3.3 · SUSE:Linux Enterprise Live Patching 15 SP6 | Paket deposu (OSV) |
| suse:kernel-livepatch-SLE15-SP7_Update_7 | 1-150700.15.3.1 · SUSE:Linux Enterprise Live Patching 15 SP7 | Paket deposu (OSV) |
| suse:kernel-obs-build | 6.4.0-150600.23.81.3 · SUSE:Linux Enterprise Module for Development Tools 15 SP6 | Paket deposu (OSV) |
| suse:kernel-obs-build | 6.4.0-150700.53.25.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP7 | Paket deposu (OSV) |
| suse:kernel-source | 6.4.0-150600.23.81.2 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Paket deposu (OSV) |
| suse:kernel-source | 6.4.0-150700.53.25.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7 | Paket deposu (OSV) |
| suse:kernel-syms | 6.4.0-150600.23.81.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP6 | Paket deposu (OSV) |
| suse:kernel-syms | 6.4.0-150700.53.25.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP7 | Paket deposu (OSV) |
| suse:kernel-zfcpdump | 6.4.0-150600.23.81.3 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Paket deposu (OSV) |
| suse:kernel-zfcpdump | 6.4.0-150700.53.25.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7 | 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
- 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)
CWE-667 · Improper LockingCVSS 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ı.
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/1dd823a46e25ffde1492c391934f69a9e5eb574f
- git.kernel.org/stable/c/8c670bdfa58e48abad1d5b6ca1ee843ca91f7303
- git.kernel.org/stable/c/b01e7ceb35dcb7ffad413da657b78c3340a09039
- git.kernel.org/stable/c/b4055e2fe96f4ef101d8af0feb056d78d77514ff
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.