~ knotless Search/
↑↓ move↵ open⇧↵ all results

zat.dev/stream

jetstream v2 in zig · mirror of https://tangled.org/zat.dev/stream

0
0
26 lines · 1.5 KB Raw History

TCP options mitigation

Ubuntu still lists CVE-2026-98432 as vulnerable on Noble on 2026-11-04: https://ubuntu.com/security/CVE-2026-98432. MPTCP stays disabled; disabling it alone does not eliminate this TCP race.

The dedicated nftables table drops IPv4 TCP packets carrying IP options. Ordinary TCP options (timestamps, window scaling), IPv6, and existing firewall policy are unaffected. Connections requiring IPv4 options will fail. This is risk reduction, not a substitute for the fixed kernel.

The prerouting hook covers external traffic before Docker DNAT/forwarding; the output hook also covers host-originated traffic. Separate container network namespaces can still generate internal traffic outside these hooks. Do not claim protection against untrusted local/container workloads.

Install the nft file as /etc/stream-tcp-options-guard.nft and the unit in /etc/systemd/system/. Run nft -c -f /etc/stream-tcp-options-guard.nft, then systemctl daemon-reload and systemctl enable --now stream-tcp-options-guard. The unit owns only its named table. Do not enable the default nftables service or flush the ruleset: Docker owns other tables.

Verify with nft list table inet stream_tcp_options_guard, a fresh SSH session, HTTPS health/status checks, and advancing upstream sequences. Roll back with systemctl disable --now stream-tcp-options-guard. Keep the mitigation until a fixed Ubuntu kernel is available, installed, booted, and verified with uname -r.