Files
chef/site-cookbooks
raucao b299910dc6 Add interim mitigations for CVE-2026-98432
CVE-2026-98432 is a use-after-free in the Linux IPv4 TCP option
handling (inet_opt/ireq_opt are freed with a plain kfree()) that is
reachable by sending a TCP SYN carrying IP options. No fixed kernel has
been released for any supported Ubuntu release yet, so mitigate in
role[base] until one is:

* Drop inbound IPv4 TCP segments that carry IP options (no legitimate
  traffic uses them) and log the drops, rate limited, so probing is
  visible. The rules are added to /etc/ufw/before.rules so they survive
  ufw reloads, and are idempotent.

* Disable Multipath TCP where the kernel supports it (5.6+). Go
  programs built with Go >= 1.24 open MPTCP listeners by default, which
  is the precondition of the published exploit; nothing here needs
  MPTCP. Hosts on older kernels (5.4, no MPTCP) skip this.

The sysctl drop-in is written directly rather than via the core sysctl
resource, whose reload runs `sysctl -p` against /etc/sysctl.conf - a
file that no longer exists on Ubuntu 26.04.

Opt node_exporter (Go >= 1.24, so it opened an MPTCP listener) out of
MPTCP with GODEBUG=multipathtcp=0, and restart it when the unit
changes so the change takes effect without a separate restart.
2026-10-31 14:33:13 +04:00
..
2026-08-17 14:58:42 -06:00
2026-04-12 16:11:40 +04:00
2026-07-13 16:00:05 +02:00
2026-10-28 18:22:21 +04:00
2026-10-30 00:53:50 +04:00
2026-04-07 11:40:35 +02:00
2020-06-07 12:40:39 +02:00
2026-08-07 08:26:08 -06:00
2023-07-30 12:39:41 +02:00