tcp: secure_seq: add back ports to TS offset
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 28ee1b746f493b7c62347d714f58fbf4f70df4f0 · < 165573e41f2f66ef98940cf65f838b2cb575d9d1| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s TCP timestamp offset randomization can leak TCP source ports through a SYN cookie side channel. An off-path network attacker can use this side channel; the input does not specify authentication or user-interaction requirements.
Engineers running the Linux kernel should check whether their kernel includes the affected code; affected versions are not specified.