Low Severity CVE-2026-98432
Published: Nov 18, 2026

[GitHub] cve-2026-98432-root-shell

Other
Type
N/A
CVSS Score
4
Views
Anonymous
Author

Description

CVE-2026-98432 - Linux IPv4/TCP lab root-shell kit (by thiscitze)

# CVE-2026-98432 lab root-shell kit

This kit builds a **deliberately vulnerable Linux 6.12.112** kernel with a small
exploitability aid and turns the CVE-2026-98432 path into an interactive root
shell on the QEMU console.

It is a **lab aid, not a stock remote exploit**. The real CVE code paths are
used:

- a forged `ip_options_rcu` reaches `ip_options_build()` through the
retransmitted-SYN-ACK path;
- the SYN-ACK's `skb_shared_info` is corrupted;
- `skb_release_data()` calls the forged `ubuf_info->ops->complete` callback;
- a ROP chain calls `call_usermodehelper("/bin/sh", ...)`.

The aid is the forced free/forged object and the staged callback/ROP chain.
On a stock vulnerable kernel the missing piece is the reliable
same-slab/same-CPU reclaim and payload-staging primitive; it is not published.
See "Stock-kernel status" below.

## Requirements

- x86_64 Linux host, root, 4+ cores, 10 GB free disk
- KVM (`/dev/kvm`) strongly recommended; TCG works but is slow
- Debian/Ubuntu packages:

```bash
sudo apt-get update
sudo apt-get install -y build-essential flex bison bc libelf-dev libssl-dev \
cpio qemu-system-x86 busybox-static python3 python3-pip
```

- Optional, for automatic gadget resolution:

```bash
python3 -m pip install --user ROPgadget
```

## Build and boot

```bash
cd cve-2026-98432-root-shell
chmod +x build.sh
./build.sh
```

The first build downloads Linux 6.12.112, reverts the two `kfree_rcu()` calls,
applies the aid, builds `bzImage`, resolves symbols/gadgets from the patched
`vmlinux`, rebuilds, packs an initramfs, and boots QEMU with `nokaslr`.

If KVM is unavailable:

```bash
QEMU_ACCEL=tcg ./build.sh
```

(The script currently falls back to TCG automatically when `/dev/kvm` is not
writable; the `QEMU_ACCEL` variable is accepted for convenience.)

## Trigger the root shell

### A) Lab VM: root shell on the host console

In a second terminal on the host:

```bash
python3 trigger.py 127.0.0.1 9000
```

The guest init created `/tmp/cve98432_root.

Community Rating
0

Login to rate this exploit

Quick Actions