Skip to content
KitploitKITPLOIT
FerramentasExploitsBlog
Log in
Enviar
FerramentasExploitsBlog
Enviar

Ferramentas de Hacking, PenTest e Cibersegurança para o seu Arsenal de Segurança!

Kitploit é um diretório de ferramentas de hacking, cibersegurança e pentesting. Descubra as últimas atualizações de projetos para encontrar vulnerabilidades, analisar sistemas, automatizar testes e fortalecer sua segurança.

FeedsContatoPrivacidade© 2026 Kitploit

Diretório de Ferramentas

Categorias

Ver todas as categorias
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
Ferramentas/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.

Ver Repositório
219há 5 diasAinda não revisado
Compartilhar
Conteúdo não disponível no idioma solicitado. Mostrando versão em inglês.

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:

Baixar ferramenta

Mais Populares

Ver todos →

Descubra as ferramentas mais usadas pela nossa comunidade.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 O kit definitivo de OSINT: grafo de investigação, pontuação de confiança, famílias de alias, mapa, linha do tempo e relatórios. 49 módulos, mais de 400 sites, sem necessidade de chaves de API.

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # Aplicativo de Execução em Um Toque GhostLock (CVE-2026-43499)

    627
  • 3

    looking-glass

    anonghosty/looking-glass

    Plataforma CSIRT que ingere relatórios do Shadowserver no MongoDB e os reproduz como mapas interativos, análises, descobertas, avisos e painéis executivos.

    413
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer é uma plataforma de código aberto de Gerenciamento de Acesso Privilegiado (PAM) que fornece às equipes de DevOps e TI acesso seguro e sob demanda a endpoints SSH, RDP, Kubernetes, Banco de Dados e RemoteApp através de um navegador web.

    350
  • 5

    ARTEX

    baarai/artex

    Plataforma autônoma de testes de penetração multiagente com LLM, com agentes planejador/executor, grafos de ativos e de exploração, registro de tráfego MITM e reteste de vulnerabilidades.

    329
  • 6

    Aliens_eye

    arxhr007/aliens_eye

    Mecanismo OSINT com IA para descobrir e mapear mais de 7.700 identidades em redes sociais na web

    283

Explore todas as ferramentas

Navegue pela nossa coleção de ferramentas

Ver todas as ferramentas →