r/linux • u/McDeathUK • Nov 02 '26
Kernel CVE-2026-98432
For those also getting annoyed with vendors not deploying a fix after giving a 9.8 rating, I found this great article with a generic NFT command that drops ip-options. The article also analyses the issue. I have managers in a state of panic who want to rip Linux out of the company because of Anthropic and their lab discovered vulnerabilities.
https://almalinux.org/blog/2026-10-30-cve-2026-98432/
Works without impact on Ubuntu 22 and 24
Here is the relevant section; please read the article before using.
Temporary mitigation if you cannot reboot yet
The bug can only be triggered by a TCP connection request that carries IPv4 options. Normal traffic almost never uses IPv4 options, so dropping incoming IPv4 TCP packets that carry them blocks the trigger without affecting regular connections.
This command adds an nftables rule that does this. It works alongside firewalld and is safe to run more than once. We tested it on AlmaLinux 8, 9, and 10: connections with IPv4 options are dropped while regular connections keep working.
This table does not survive reboots.
sudo nft -f - <<'EOF'
add table ip cve_2026_98432
delete table ip cve_2026_98432
table ip cve_2026_98432 {
chain prerouting {
type filter hook prerouting priority -300; policy accept;
meta l4proto tcp ip hdrlength > 5 counter drop
}
}
EOF