Puppet module that deploys a temporary UFW/iptables rule dropping IPv4 TCP packets with IPv4 options to mitigate CVE-2026-98432 until vendor kernel fixes ship.
Temporary Ubuntu/UFW mitigation using Puppet. Drops IPv4 TCP packets carrying IPv4 options, not ordinary TCP options.
u32 rule filtering IPv4 header lengths 6–15.Choose your poison:
with-stdlib versionwithout-stdlib versionThen declare in the node catalog:
class { 'mitigate_cve_2026_98432':
ensure => 'present',
}
Sanity check:
sudo ufw status verbose
sudo iptables -S INPUT
sudo iptables -S ufw-before-input
Failed reloads are retried. Only covers local IPv4 traffic through this chain; excludes loopback and should not affect containers/VMs.
First install and boot the fixed kernel and reboot.
For either variant, replace the declaration with:
class { 'mitigate_cve_2026_98432':
ensure => 'absent',
}