
Proof-of-concept exploit for CVE-2026-68376 in Ubuntu kernel 7.0.0-30, leveraging SCTP chunk handling and PTE manipulation to escalate privileges to root.
This project contains a Proof-of-Concept (PoC) exploit for CVE-2026-68376, targeting Ubuntu kernel version 7.0.0-30. The exploit leverages a vulnerability in the SCTP (Stream Control Transmission Protocol) implementation to achieve privilege escalation through Page Table Entry (PTE) manipulation.
THIS TOOL IS FOR EDUCATIONAL AND RESEARCH PURPOSES ONLY.
CVE-2026-68376-Ubuntu-7.0.0-30-Poc/
├── CVE-2026-68376.go # Main Go source code for the exploit
├── n2p-exploit # Compiled binary executable
├── go.mod # Go module definition
├── .gitignore # Git ignore rules (generated)
└── README.md # This file
# Clone the repository
git clone <repository-url>
cd CVE-2026-68376-Ubuntu-7.0.0-30-Poc
# Build the Go project
go build -o n2p-exploit CVE-2026-68376.go
# Make the binary executable
chmod +x n2p-exploit
./n2p-exploit
./n2p-exploit [OPTIONS] [PID]
# Full exploit execution
./n2p-exploit
# With verbose output
./n2p-exploit --verbose
# Trigger vulnerability only (safe for analysis)
./n2p-exploit --vuln-trigger
# With verbose and vulnerability trigger
./n2p-exploit --vuln-trigger --verbose
# Show banner
./n2p-exploit --banner
# Show current configuration
./n2p-exploit --config
# Run as root helper for specific PID
./n2p-exploit 12345
CVE-2026-68376 affects the SCTP implementation in Linux kernel 7.0.0-30. The exploit leverages improper handling of SCTP chunks and PTE manipulation to escalate privileges from user space to root.
The exploit defines numerous constants for:
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
CVE-2026-68376-Ubuntu-7.0.0-30-Poc
| Option | Description |
|---|
--vuln-trigger | Trigger vulnerability only (no root escalation) |
--verbose, -V | Enable verbose output |
--banner | Display ASCII banner art |
--help, -h | Display this help message |
--version, -v | Display version information |
--config | Show current configuration |
PID | Run as root helper for specified PID |
| Variable | Default | Description |
|---|
N2P_REPORT_PATH | /tmp/n2p-root-report | Report output path |
N2P_FLAG_PATH | /flag | Flag file path |
N2P_TUN_DEVICE | /dev/net/tun | TUN device path |
N2P_CONSOLE | /dev/console | Console device path |
N2P_TTY | /dev/ttyS0 | TTY device path |
N2P_PROC_EXE | /proc/self/exe | Self executable path |
N2P_CORE_PATTERN | ` | /proc/%P/fd/666 %P` |
N2P_VERBOSE | (unset) | Enable verbose mode (1/true/yes) |