CVE-2026-98549
KritikTeknik Veri (Otomatik)
- CVSS Skoru
- 9.1
- EPSS
- 0.4%
- CWE
- —
- KEV Durumu
- Hayır
Yayım tarihi: 18 Ekim 2026
Linux çekirdeğinde aşağıdaki güvenlik açığı çözülmüştür: tcp: rtx kuyruğundaki sınırda skbs'nin çökmesini önleme tcp_write_collapse_fence(), cihaz şifrelemesine geçişten sonra kuyruğa alınan skbs'nin daha önceki skbs'lerle birleştirilmesini önlemek için tcp_write_queue_tail(sk) için TCP_SKB_CB(skb)->eor = 1 ayarlıyor. Eğer tüm önceki veriler, geçiş anında zaten iletilmişse, çit işleminin bir etkisi olmaz: sk->sk_write_queue boştur. Henüz onaylanmamış önceki skbs'ler, eor 0 ile sk->tcp_rtx_queue'de bekler. Sonraki bir yeniden iletim veya SACK kaydırma sırasında, tcp_retrans_try_collapse() veya tcp_shift_skb_data(), geçişten sonra kuyruğa alınan bir skbs'yi, ondan önce kuyruğa alınan bir skbs ile birleştirebilir. Çitin iki kullanıcısı da etkilenir: - psp: cihazlar, yalnızca skb->decrypted ayarlanmış skbs'leri şifreler. Birleştirilen skbs, önceki skbs'den decrypted = 0 değerini korur, bu nedenle psp_sock_assoc_set_tx()之后 iletilen birleştirilen veriler açık metin olarak yeniden iletilir. - tls cihaz ofload: birleştirilen skbs, tls_set_device_offload() tarafından ayarlanan başlangıç işaretçisini aşar. Yazılım geri dönüşü (fill_sg_in() -EINVAL döndürür) ve mlx5, nfp ve funeth sürücüler, bu tür bir skbs'i işleyemez ve atar. Her yeniden iletim, aynı skbs'yi yeniden oluşturur, bu nedenle bağlantı durur. İki yerde, derinlemesine savunma için bunu düzeltin: 1. tcp_write_collapse_fence() içinde, tcp_write_queue_tail(sk) NULL olduğunda tcp_rtx_queue_tail(sk)'e geri dönün. 2. tcp_skb_can_collapse() içinde !skb_cmp_decrypted(to, from) koşulunu kontrol edin, tıpkı tcp_skb_can_collapse_rx()ın alıcı tarafında yaptığı gibi. skb_shift(), her iki birleştirme yolunun da çağırdığı, zaten bu koşul için bir DEBUG_NET_WARN_ON_ONCE() sahiptir.
Orijinal açıklama (İngilizce)
In the Linux kernel, the following vulnerability has been resolved: tcp: prevent collapsing skbs across boundary in rtx queue tcp_write_collapse_fence() sets TCP_SKB_CB(skb)->eor = 1 on tcp_write_queue_tail(sk) to prevent skbs queued after a switch to device encryption from being collapsed into earlier skbs. The fence is a no-op if all earlier data has already been transmitted when the switch happens: sk->sk_write_queue is empty. The not yet acknowledged earlier skbs wait in sk->tcp_rtx_queue with eor 0. On a subsequent retransmit or SACK shift, tcp_retrans_try_collapse() or tcp_shift_skb_data() can then merge an skb queued after the switch into one queued before it. Both users of the fence are affected: - psp: devices only encrypt skbs with skb->decrypted set. The merged skb keeps decrypted = 0 from the earlier skb, so merged data sent after psp_sock_assoc_set_tx() is retransmitted in cleartext. - tls device offload: the merged skb straddles the start marker set in tls_set_device_offload(). The software fallback (fill_sg_in() returns -EINVAL) and the mlx5, nfp and funeth drivers cannot handle such an skb and drop it. Every retransmit rebuilds the same skb, so the connection stalls. Fix this in two places, for defense in depth: 1. Fall back to tcp_rtx_queue_tail(sk) in tcp_write_collapse_fence() when tcp_write_queue_tail(sk) is NULL. 2. Check !skb_cmp_decrypted(to, from) in tcp_skb_can_collapse(), as tcp_skb_can_collapse_rx() does on receive. skb_shift(), which both collapse paths call, already has a DEBUG_NET_WARN_ON_ONCE() for this condition.
Referanslar
- https://git.kernel.org/stable/c/08e835f5ec6e261c79d8c39f8618b3af29e3b0da
- https://git.kernel.org/stable/c/1ae7aee395245874d797890380d9192bd858fb7e
- https://git.kernel.org/stable/c/533344a00ad968181e60d0980c076a9d0de57482
- https://git.kernel.org/stable/c/7061aafc680e14e22b191f178b768886475f8524
- https://git.kernel.org/stable/c/7ba87509c54cd519e7ed362e0c85e8431f066a18
- https://git.kernel.org/stable/c/9e2a2f98e8c0197108c6d97a1fa43bfd89071c30
Bu CVE için henüz editoryal inceleme yapılmadı. Sadece otomatik teknik veri gösteriliyor.