Skip to content
KitploitKITPLOIT
ツールエクスプロイトブログ
Log in
提出
ツールエクスプロイトブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

フィードお問い合わせプライバシー© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
cve-2026-98432-mitigation — Interim mitigation for CVE-2026-98432 (Linux IPv4 TCP handshake use-after-free) on Ubuntu, until a fixed kernel ships | Kitploit
ツール/GitHubGitHub/lowerpower/cve-2026-98432-mitigation
Defensive ToolsVulnerability AnalysisScripting & AutomationConfiguration AuditingNetwork SecurityMisconfigurationIncident Response
GitHublowerpower/cve-2026-98432-mitigation

cve-2026-98432-mitigation

Interim mitigation for CVE-2026-98432 (Linux IPv4 TCP handshake use-after-free) on Ubuntu, until a fixed kernel ships

リポジトリを見る
2026年11月3日未レビュー
共有
要求された言語のコンテンツは利用できません。英語版を表示しています。

CVE-2026-98432 mitigation for Ubuntu

CVE-2026-98432 is a use-after-free in the Linux kernel's IPv4 TCP handshake. Every kernel from 4.4 up to the fixed releases has it. Anyone who can send a SYN to a listening port can reach the bug, and a public proof of concept gets root on servers with an MPTCP listener. Go 1.24 and later open MPTCP listeners by default.

The real fix is a patched kernel. As of 2 November 2026, Ubuntu hasn't released one. cve-2026-98432.sh blocks the trigger until you can install a fixed kernel and reboot.

Quick start

On each host:

curl -fsSLO https://raw.githubusercontent.com/lowerpower/cve-2026-98432-mitigation/v1.0.0/cve-2026-98432.sh && echo "6623c8526abee722b212289d1e490b8fcc5a1d1a86366dd65e816e4cf32a9c31  cve-2026-98432.sh" | sha256sum -c - && sudo bash cve-2026-98432.sh

This downloads the v1.0.0 release, checks its SHA-256, and runs it only if the hash matches. The script reports the host's state, applies the mitigation, tests it, and ends with a STATUS: line.

What it does

  1. Drops inbound TCP packets that carry IPv4 options. These are the trigger. One nftables rule at the earliest hook (prerouting, priority raw) drops them before the kernel's TCP code sees them. This covers every listener on the host, including SSH, mail, web servers, and Docker containers whose traffic comes in through the host. Normal TCP traffic never carries IPv4 options.
  2. Turns MPTCP off for new sockets (net.mptcp.enabled = 0), which closes the path the public exploit uses.
  3. Tests itself. It sends a normal SYN and a SYN with an IPv4 option to a local listener. The normal one should connect and the other should be dropped.

Both settings survive a reboot. The script doesn't touch existing firewall rules, ufw, iptables or Docker's rules. It adds only these files:

FilePurpose
/etc/nftables-cve-2026-98432.nftThe drop rule, in its own table ip cve_2026_98432
/etc/systemd/system/cve-2026-98432-mitigation.serviceLoads the rule at boot
/etc/sysctl.d/90-cve-2026-98432.confKeeps MPTCP off at boot, and records the previous value for --undo

If nft isn't installed, the script installs the nftables package.

Checking a host

sudo bash cve-2026-98432.sh --check

--check changes nothing. It reports:

  • whether the running kernel has the fix, read from its Ubuntu changelog
  • whether a fixed kernel is installed and waiting for a reboot
  • whether MPTCP is on, and whether the drop rule is loaded (with its drop count)
  • MPTCP listeners on the host, and the ones inside Docker containers that can be reached from outside the container
  • Go programs listening on public TCP ports

The last line is always one of:

STATUS: protected (running kernel has the fix)
STATUS: protected (interim mitigation active; kernel fix still needed)
STATUS: NOT protected (kernel not fixed, mitigation not applied)
STATUS: NOT protected (kernel fix not confirmed, mitigation not applied)

Exit codes: 0 protected, 2 not protected, 1 error (including not running as root).

Many hosts

for h in host1 host2 host3; do
  printf '%-20s ' "$h"
  ssh ubuntu@$h 'curl -fsSLO https://raw.githubusercontent.com/lowerpower/cve-2026-98432-mitigation/v1.0.0/cve-2026-98432.sh && echo "6623c8526abee722b212289d1e490b8fcc5a1d1a86366dd65e816e4cf32a9c31  cve-2026-98432.sh" | sha256sum -c --quiet - && sudo bash cve-2026-98432.sh' | tail -1
done

Each host prints one STATUS: line. To audit without changing anything, add --check after the script name.

Removing it

Once Ubuntu ships the fixed kernel:

sudo apt update && sudo apt upgrade
sudo reboot
sudo bash cve-2026-98432.sh --check     # should say "running kernel HAS the fix"
sudo bash cve-2026-98432.sh --undo

--undo removes all three files, unloads the rule, and puts net.mptcp.enabled back to its value before the first apply. It refuses to run while the kernel still lacks the fix. --undo --force removes the mitigation anyway.

Running the script on a host that already has a fixed kernel does nothing.

Ubuntu's tracker names these fixed builds for the generic kernels. Cloud kernels (-aws, -gcp, -azure and so on) get their own version numbers.

ReleaseFixed linux build
26.107.3.0-10.10
26.04 LTS7.0.0-43.43
24.04 LTS6.8.0-149.149
22.04 LTS5.15.0-203.213

Compatibility

Ubuntu
24.04, 22.04Tested on production servers, including the AWS 6.8 and 7.0 kernels
26.04--check and the drop rule tested; a full apply hasn't been run yet
20.04Should work. The stock 5.4 kernel has no MPTCP, so the script skips that step and relies on the drop rule
18.04No. Its nftables is too old for the rule, so the script stops without changing anything
Inside an unprivileged containerNo. Run it on the host, which covers the containers

The script is written for Ubuntu. On other distributions it can't confirm a kernel fix, because it reads Ubuntu's changelog, and it can only install nftables with apt.

Notes

  • This is a stopgap, not the fix. Install the fixed kernel and reboot as soon as it's released.
  • Testing from another machine proves nothing. Many networks drop packets that carry IPv4 options before they arrive, so a test SYN can time out whether or not the rule is in place. The drop counter in --check and the script's self-test show whether the rule is working.
  • MPTCP listeners opened before the change stay MPTCP until their service restarts. The drop rule covers them in the meantime.
  • Containers keep their own MPTCP setting, because net.mptcp.enabled is per network namespace. The drop rule still covers their traffic. For a Go server in a container, also set GODEBUG=multipathtcp=0, or sysctls: [net.mptcp.enabled=0] in Docker Compose.
  • IPv6 is untouched. The bug is in the IPv4 handshake.

Sources

  • CVE-2026-98432: which Linux kernels are still vulnerable (ma.ttias.be)
  • RHEL fixed CVE-2026-98432, but Ubuntu kernels remain vulnerable (beri.net)
  • CVE-2026-98432: how to block the Linux TCP bug until Ubuntu and Red Hat ship a kernel (getrff.com)
  • oss-security: Protecting against CVE-2026-98432 when using Go programs
  • Ubuntu CVE tracker

License

MIT. See LICENSE.

ツールをダウンロード

関連ツール

  • wazuh

    オープンソースのXDRおよびSIEMプラットフォーム。脅威検出、ログ分析、ファイル整合性監視、脆弱性評価、コンプライアンス管理をエンドポイントおよびクラウドワークロード全体で実現します。

  • suricata

    リアルタイムのトラフィック検査、侵入検知・防御、プロトコル解析、およびルールベースの脅威ハンティングのためのオープンソースのネットワーク IDS/IPS/NSM エンジン。

  • zeek

    Zeekは、あなたが知っている典型的なIDSとは大きく異なる、強力なネットワーク分析フレームワークです。

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

  • 1

    Callisto

    jetp1ane/callisto

    Ghidraを介して実行可能ファイルを逆コンパイルし、Semgrepで擬似Cコードをスキャンし、GPT-3.5-Turboを使用して検出結果を検証することで誤検知を低減する、自動化されたバイナリ脆弱性解析ツール。

    2.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock ワンタップ実行アプリ(CVE-2026-43499)

    759
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    不正なGSMセルを展開してSMSを傍受し、メッセージを注入し、モバイル端末を追跡するIMSI Catcherプラットフォーム

    625
  • 4

    DFRoot

    a2333c/dfroot

    Samsung Galaxy S25 Ultra (SM-S938B) 向けの Android root ツール。DirtyFrag CVE-2026-43284 と CVE-2026-43499 を連鎖させ、KernelSU 経由で起動時に自動的に root を取得します。

    451
  • 5

    ARTEX

    baarai/artex

    プランナー/ワーカーエージェント、資産グラフと探索グラフ、MITMトラフィック記録、脆弱性の再テストを備えたLLMマルチエージェント自律ペネトレーションテストプラットフォーム。

    415
  • 6

    opencti

    opencti-platform/opencti

    オープンサイバー脅威インテリジェンスプラットフォーム

    374

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →