In the Linux kernel, the following vulnerability has been resolved:
tcp: fix stale per-CPU tcp_tw_isn leak enabling ISN prediction
Blamed commit moved the TIME_WAIT-derived ISN from the skb control block to a per-CPU variable, assuming the value would always be consumed by tcp_conn_request() for the same packet that wrote it. That assumption is violated by multiple drop paths between the producer (__this_cpu_write(tcp_tw_isn, isn) in tcp_v{4,6}_rcv()) and the consumer (tcp_conn_request()):
- min_ttl / min_hopcount check - xfrm policy check - tcp_inbound_hash() MD5/AO mismatch - tcp_filter() eBPF/SO_ATTACH_FILTER drop - th->syn && th->fin discard in tcp_rcv_state_process() TCP_LISTEN - psp_sk_rx_policy_check() in tcp_v{4,6}_do_rcv() - tcp_checksum_complete() in tcp_v{4,6}_do_rcv() - tcp_v{4,6}_cookie_check() returning NULL
When a packet is dropped on any of these paths, tcp_tw_isn is left set.
The next SYN processed on the same CPU then consumes the non zero value in tcp_conn_request(), receiving a potentially predictable ISN.
This patch moves back tcp_tw_isn to skb->cb[], getting rid of the per-cpu variable.
Note that tcp_v{4,6}_fill_cb() do not set it.
Very litle impact on overall code size/complexity:
$ scripts/bloat-o-meter -t vmlinux.old vmlinux.new add/remove: 0/0 grow/shrink: 2/1 up/down: 8/-15 (-7) Function old new delta tcp_v6_rcv 3038 3042 +4 tcp_v4_rcv 3035 3039 +4 tcp_conn_request 2938 2923 -15 Total: Before=24436060, After=24436053, chg -0.00%
CVSS Details
- CVSS 3.1 Base Score: 9.4
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade kernel-livepatch-6.12.100-125.179Upgrade kernel6.18-toolsUpgrade python3-perf6.18Upgrade python3-perf6.18-debuginfoUpgrade kernel6.18-debuginfoUpgrade python3-perf6.12-debuginfoUpgrade kernel6.18-modules-extraUpgrade kernel6.18-headersUpgrade kernel6.18-debuginfo-common-x86_64Upgrade kernel6.18-develUpgrade perf6.12Upgrade microvm-kernel6.18Upgrade kernel6.18-tools-develUpgrade kernel6.18Upgrade kernel6.12-tools-debuginfoUpgrade kernel6.12-debuginfoUpgrade kernel6.18-tools-debuginfoUpgrade perf6.18Upgrade kernel6.12-toolsUpgrade kernel6.18-modules-extra-commonUpgrade kernel6.12-headersUpgrade kernel6.12-modules-extra-commonUpgrade perf6.12-debuginfoUpgrade bpftool6.18Upgrade bpftool6.12Upgrade kernel6.12-tools-develUpgrade kernel-livepatch-6.18.35-68.127Upgrade kernel6.12Upgrade kernel6.12-debuginfo-common-aarch64Upgrade kernel6.12-develUpgrade bpftool6.18-debuginfoUpgrade kernel6.12-modules-extraUpgrade python3-perf6.12Upgrade perf6.18-debuginfoUpgrade kernel6.18-debuginfo-common-aarch64Upgrade kernel6.12-debuginfo-common-x86_64Upgrade bpftool6.12-debuginfo | Aug 10, 2026 | Jul 19, 2026 |
| Redhat_linux | — | No solution exists | Aug 4, 2026 | Jul 19, 2026 |
| Ubuntu | — | Upgrade linux-image-nvidiaUpgrade linux-image-nvidia-64k-7.0Upgrade linux-image-nvidia-bos-7.0Upgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-7.0.0-1016-nvidiaUpgrade linux-image-aws-7.0Upgrade linux-image-azure-fde-7.0Upgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-7.0.0-1009-aws-64kUpgrade linux-image-aws-64kUpgrade linux-image-7.0.0-1016-nvidia-64kUpgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-raspi-realtime-7.0Upgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-raspiUpgrade linux-image-7.0.0-1010-azureUpgrade linux-image-aws-64k-7.0Upgrade linux-image-ibmUpgrade linux-image-ibm-7.0Upgrade linux-image-nvidia-bosUpgrade linux-image-7.0.0-1010-ibmUpgrade linux-image-7.0.0-2016-nvidia-bosUpgrade linux-image-oracle-7.0Upgrade linux-image-7.0.0-1015-raspiUpgrade linux-image-nvidia-bos-64kUpgrade linux-image-7.0.0-1009-awsUpgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-azureUpgrade linux-image-7.0.0-2016-nvidia-bos-64kUpgrade linux-image-nvidia-64kUpgrade linux-image-azure-fdeUpgrade linux-image-oracleUpgrade linux-image-nvidia-7.0Upgrade linux-image-7.0.0-1015-raspi-realtimeUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-7.0.0-1008-oracle-64kUpgrade linux-image-awsUpgrade linux-image-oracle-64kUpgrade linux-image-gcpUpgrade linux-image-gcp-64kUpgrade linux-image-raspi-7.0Upgrade linux-image-raspi-realtimeUpgrade linux-image-7.0.0-1008-oracleUpgrade linux-image-7.0.0-1014-azureUpgrade linux-image-oracle-64k-7.0Upgrade linux-image-azure-7.0Upgrade linux-image-gcp-7.0Upgrade linux-image-7.0.0-1009-azure-fde | Jul 21, 2026 | Jul 20, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 27, 2026 | Jul 19, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub