CVE-2026-98549
In the Linux kernel, the following vulnerability has been resolved:
tcp: prevent collapsing skbs across boundary in rtx queue
tcpwritecollapsefence() sets TCPSKB_CB(skb)->eor = 1 on
tcpwritequeue_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->skwritequeue is empty. The not yet
acknowledged earlier skbs wait in sk->tcprtxqueue with eor 0.
On a subsequent retransmit or SACK shift, tcpretranstry_collapse() or
tcpshiftskb_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
pspsockassocsettx() is retransmitted in cleartext.
- tls device offload: the merged skb straddles the start marker set in
tlssetdeviceoffload(). The software fallback (fillsg_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:
- Fall back to tcprtxqueuetail(sk) in tcpwritecollapsefence()
when tcpwritequeue_tail(sk) is NULL.
- Check !skbcmpdecrypted(to, from) in tcpskbcan_collapse(), as
tcpskbcancollapserx() does on receive. skb_shift(), which both
collapse paths call, already has a DEBUGNETWARNONONCE() for this
condition.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
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, https://git.kernel.org/stable/c/bf785a303e5faad16439c563826a07cb811856c8, https://git.kernel.org/stable/c/fc6d80eb504458d6416b75a94188b268c95c6533, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98549.json, https://nvd.nist.gov/vuln/detail/CVE-2026-98549, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git