Workaround for CVE-2026-98432 on NetBeez servers

CVE-2026-98432 is a flaw in the Linux kernel. A TCP connection that carries IPv4 header options can trigger it. It is not in the NetBeez application.

Ubuntu has not yet published a fixed kernel for the builds our servers run, including 7.0.0-1014-aws. Rebooting onto a kernel that is already installed does not remove the exposure. The workaround drops IPv4 packets that carry IP options before they reach the kernel. Ordinary traffic is unchanged. Normal TCP options, such as timestamps, SACK, MSS, and window scale, are not IP options and are not affected.

Cloud servers we host

We have applied this workaround on the NetBeez cloud servers we host. You do not need to power those servers off, and you do not need to run the steps below on them.

Servers you host

If you run the NetBeez server yourself, apply the workaround on the Ubuntu host. Run it on the host, not inside a container. You need a user that can use sudo.

  1. Download the script using:
curl -fsSL -o cve_2026_98432_mitigation.sh \
  https://netbeez-public.s3.us-east-1.amazonaws.com/workarounds/cve-2026-98432/cve_2026_98432_mitigation.sh
  1. Copy it to the server (if you haven’t performed the download on the server already).
  2. Run:
sudo bash cve_2026_98432_mitigation.sh

The first pass can print red checks. That is expected. The run succeeded when it prints Spellcaster converged.

Confirm all three of these:

systemctl is-enabled nbz-ipopt-mitigation.service
systemctl is-active nbz-ipopt-mitigation.service
sudo nft list table inet nbz_ipopt

The service should be enabled and active. The table should contain ip hdrlength != 5 counter drop.

These three commands only check the result. They do not install the workaround. If you save them as the script and run them, you will see not-found, inactive, and No such file or directory under list table inet nbz_ipopt. That means the workaround is not installed yet. Use the attached file. A complete copy is 258 lines and the first line is #!/usr/bin/env bash.

The workaround is restored on boot. It does not replace the kernel. When Ubuntu publishes the fixed kernel, install it, reboot onto it, and then remove the workaround. Reply here if you want the removal script.

If sudo bash cve_2026_98432_mitigation.sh does not print Spellcaster converged, reply here and we will help. That is most likely on Ubuntu 16.04, or on a host whose package manager is already in a broken state.

Powering the server off also removes the exposure, and it stops monitoring until the server is back on. Applying the workaround avoids that outage.

Worked flawlessly on 22.04. Thank you!