CVE-2026-23247: tcp: secure_seq: add back ports to TS offset
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
tcp: secure_seq: add back ports to TS offset
This reverts 28ee1b746f49 ("secure_seq: downgrade to per-host timestamp offsets")
tcp_tw_recycle went away in 2017.
Zhouyan Deng reported off-path TCP source port leakage via SYN cookie side-channel that can be fixed in multiple ways.
One of them is to bring back TCP ports in TS offset randomization.
As a bonus, we perform a single siphash() computation to provide both an ISN and a TS offset.
The Linux kernel CVE team has assigned CVE-2026-23247 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.11 with commit 28ee1b746f493b7c62347d714f58fbf4f70df4f0 and fixed in 6.18.17 with commit eae2f14ab2efccdb7480fae7d42c4b0116ef8805 Issue introduced in 4.11 with commit 28ee1b746f493b7c62347d714f58fbf4f70df4f0 and fixed in 6.19.7 with commit 46e5b0d7cf55821527adea471ffe52a5afbd9caf Issue introduced in 4.11 with commit 28ee1b746f493b7c62347d714f58fbf4f70df4f0 and fixed in 7.0-rc3 with commit 165573e41f2f66ef98940cf65f838b2cb575d9d1 Issue introduced in 4.10.14 with commit 443fac9f2618b93cbc5ab068dc594530236b3a23
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-23247
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
include/net/secure_seq.h include/net/tcp.h net/core/secure_seq.c net/ipv4/syncookies.c net/ipv4/tcp_input.c net/ipv4/tcp_ipv4.c net/ipv6/syncookies.c net/ipv6/tcp_ipv6.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/eae2f14ab2efccdb7480fae7d42c4b0116ef8805 https://git.kernel.org/stable/c/46e5b0d7cf55821527adea471ffe52a5afbd9caf https://git.kernel.org/stable/c/165573e41f2f66ef98940cf65f838b2cb575d9d1