Live threats

All CVEs / Linux

CVE-2026-98549Linux

TCP packet collapse across boundaries in Linux kernel retransmit queue

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Oct 18, 2026
Updated
Oct 30, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

What happens

The Linux kernel allows TCP packets to incorrectly collapse across encryption boundaries in the retransmit queue. An unauthenticated remote attacker can cause data transmission in cleartext or connection stalls on systems using PSP device encryption or TLS offload.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available

Update the Linux kernel to a version that includes the fixes in tcp_write_collapse_fence() and tcp_skb_can_collapse().

Vendor advisory · git.kernel.org ↗

  1. Apply the vendor's security update for Linux.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Also: Red Hat (+9)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.