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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
cve-2026-98432-audit — Read-only bash audit script that triages CVE-2026-98432, a Linux kernel IPv4 TCP use-after-free, by checking kernel changelogs, distro fix matrices, and TCP listener exposure. | Kitploit
ツール/GitHubGitHub/quaerendir/cve-2026-98432-audit
Defensive ToolsVulnerability ScannersVulnerability AnalysisScripting & AutomationConfiguration AuditingInformation GatheringIncident Response
GitHubquaerendir/cve-2026-98432-audit

cve-2026-98432-audit

Read-only bash audit script that triages CVE-2026-98432, a Linux kernel IPv4 TCP use-after-free, by checking kernel changelogs, distro fix matrices, and TCP listener exposure.

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

cve-2026-98432-audit

CVE Class CVSS Disclosed Shell License Version CI

Read-only audit script for CVE-2026-98432, a use-after-free in the Linux kernel's IPv4 TCP handshake. A SYN-ACK can be built from IP options that another CPU has just freed. The trigger is network traffic against an ordinary listening socket, so unlike the page-cache and checksum bugs in the sibling audits it needs no local access.

TL;DR

When a connection completes, tcp_v4_syn_recv_sock() hands the request socket's IP options (ireq->ireq_opt) to the new child socket without copying them. A retransmitted SYN for the same request socket, handled on another CPU, can still be building a SYN-ACK from those options. Since 079096f103fa (4.4) request sockets run without the listener lock, the child's options are freed with a plain kfree(), and ip_options_build() reads freed memory (CWE-416).

A second race exists in request socket migration, which is only on with net.ipv4.tcp_migrate_req=1 or a BPF SK_REUSEPORT_SELECT_OR_MIGRATE program. The fix switches both frees to kfree_rcu().

CVECVE-2026-98432
ComponentLinux kernel net/ipv4 (tcp_v4_syn_recv_sock, inet_sock_destruct, tcp_v4_reqsk_destructor)
ClassUse-after-free, remotely reachable over a listening TCP socket
Introduced079096f103fa "tcp/dccp: install syn_recv requests into ehash table" (4.4); migration part c905dee62232
Upstream fixe3f33b0a1d89 "ipv4: free inet_opt and ireq_opt after an RCU grace period" (Eric Dumazet), in 7.3-rc7
Stable fixes5.10.272, 5.15.223, 6.1.190, 6.6.159, 6.12.113, 6.18.56, 7.2.10
ReporterXinyang Ge
SeverityCNA: 9.8 (AC:L). Red Hat: 8.1 (AC:H, because of the race), no mitigation available. Ubuntu: High
Debianbookworm fixed in 6.1.190-1 (DLA-4841-1), trixie in 6.12.113-1 (DSA-6568-1), unstable in 7.2.10-1
Ubuntusource package linux: 26.10 7.3.0-10.10, 26.04 7.0.0-43.43, 24.04 6.8.0-149.149, 22.04 5.15.0-203.213; 20.04/18.04/16.04 pending; flavours and HWE kernels are fixed in their own builds
Red HatRHEL 6/7 not affected; RHEL 8 4.18.0-553.182.1.el8_10, RHEL 9 5.14.0-687.64.1.el9_8, RHEL 10 6.12.0-211.72.1.el10_2; EUS/AUS streams carry other builds

The stable versions were checked against the kernel.org ChangeLog-* files on 2026-10-29. In each branch the listed release is the first to carry the fix and the release before it lacks it. Mainline was checked by comparing tags: 7.3-rc6 lacks the commit and 7.3-rc7 has it. Series that have no fix row (4.x, 5.4, 6.2–6.5, 6.7–6.11, 6.13–6.17, 6.19, 7.0, 7.1) are end-of-life and are reported as vulnerable. Distro states were re-read on 2026-11-16 (Debian security tracker, ubuntu.com/security, Red Hat security data API).

The bug needs a listening TCP socket and a SYN that carries IP options, plus a lost race between two CPUs. The script cannot judge how reachable your network makes those options, so it reports what it can see (listeners) and leaves the rest to you.

What this script does

It only triages and changes nothing. It never loads a module, never opens a socket, never touches sysctl or firewall rules, and never runs a PoC, so it is safe to run in production.

  • Inventories the running kernel, the distro, and the package of the running kernel.
  • Fix detection that does not go stale: it searches the running kernel package's changelog (changelog.Debian.gz or rpm -q --changelog) for the CVE ID or the upstream commit subject. A fix found there always wins.
  • Uses a distro fix matrix (Debian, Ubuntu, RHEL family, Proxmox, Oracle UEK) and the verified upstream thresholds for kernels that follow upstream (Arch family, Fedora, WSL2, vanilla).
  • Enumerates the TCP listeners of this network namespace from /proc/net/tcp and /proc/net/tcp6:
    • external: an IPv4 listener on any non-loopback address, or an IPv6 wildcard listener, which takes IPv4 SYNs unless net.ipv6.bindv6only=1;
    • loopback only: reachable by every local user, which can set IP options on its own connection;
    • the same port on several addresses is counted once.
  • Reads net.ipv4.tcp_migrate_req and notes container runtimes, whose published ports and private network namespaces it cannot see. They count as exposure.
  • Greps the kernel journal for oops lines that name the functions in the bug's call chain. A hit is a lead to read, not proof, and a clean exploit leaves nothing.
  • Computes a risk score and prints a verdict, plus JSON with --json.

Matrix freshness

The distro rows are a snapshot (2026-11-16). Vendors will ship fixes after it, so an old copy can report a kernel as unfixed that has long been patched. The report prints the snapshot age and warns once it passes 14 days. The warning never changes the verdict, and the changelog check and the upstream thresholds do not age. With --quiet, a second NOTE: line appears only when stale, so a parser of line 1 is unaffected. JSON carries matrix_date, matrix_age_days and matrix_stale.

When it warns, pull the latest release of this script.

Verdicts

VerdictMeaningExit
PATCHEDFix found in the changelog or in the upstream/vendor tables0
NOT_APPLICABLEKernel predates 4.40
MITIGATEDUnfixed, but no TCP listener is reachable over IPv4 right now. Still patch: starting any service re-opens it1
VULNERABLEUnfixed and at least one listener (or an unreadable /proc/net/tcp, or a container runtime)2
UNKNOWNCannot tell, for example no changelog and no matrix row3
ERRORBad option or missing tool4

MITIGATED is rare on purpose: almost every server listens on something. A local user can also run a listener in a private user+network namespace; that route is noted in the report but not counted, because its exploitability is not verified.

Two cases where a plain version compare would be wrong are handled:

  • Proxmox VE reports ID=debian but runs its own proxmox-kernel-* series. The Debian floors do not apply, so it clears only through a changelog hit.
  • WSL2 runs Microsoft's kernel under a distro userland (...-microsoft-standard-WSL2). The distro's rule does not apply; the upstream table does. Update it from Windows with wsl --update.

Usage

sudo ./cve-2026-98432-audit.sh            # text report
./cve-2026-98432-audit.sh --json          # JSON on stdout
./cve-2026-98432-audit.sh --quiet         # one line, exit code carries the verdict
./cve-2026-98432-audit.sh --since 2026-09-01 --no-hunt

It runs without root, but then the journal hunt and some package queries may be empty. See examples/ for a real report.

What to do about it

Update the kernel and reboot. There is no runtime switch that fixes it, and Red Hat lists no mitigation. Until then you can lower exposure:

ツールをダウンロード

人気

すべて見る →

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

まだ人気データがありません。

すべてのツールを探索

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

すべてのツールを見る →