
CVE-2026-43284 - CVE-2026-43500 - CVE-2026-46300 Variant of dirtyfrag exploit
Multi-CVE Local Privilege Escalation chain for Linux kernel vulnerabilities
uid=1000 → root via xfrm-ESP, RxRPC, or Fragnesia page-cache write
CVE-KERNEL is a Python-based Local Privilege Escalation (LPE) tool that chains multiple Linux kernel CVEs to escalate from an unprivileged user to root. The exploit targets page-cache corruption primitives through kernel networking subsystems.
Modified By MadExploits — UI overhaul, colored terminal output, and improved exploit flow presentation.
| CVE | Vector | Target |
|---|---|---|
| CVE-2026-43284 | xfrm-ESP | /usr/bin/su binary corruption |
| CVE-2026-43500 | RxRPC + splice | /etc/passwd page-cache write |
| CVE-2026-46300 | Fragnesia (ESP-in-TCP) | Page-cache write via skb_try_coalesce |
/usr/bin/su or /etc/passwd is already compromisedsu - on successful exploitationesp4, esp6, rxrpc and CONFIG_ESPINTCPCAP_NET_RAW via unprivileged namespaces╔══════════════════════════════════════════════════════════╗
║ ║
║ Linux Kernel LPE Chains ║
║ CVE-2026-43284 | CVE-2026-43500 | CVE-2026-46300 ║
║ ║
║ Modified By MadExploits ║
║ ║
╚══════════════════════════════════════════════════════════╝
[*] Current user: uid=1000
── Exploit Chain ──
[ESP] Attempting to corrupt /usr/bin/su...
[+] Namespace created successfully
[*] (Full SU corruption requires XFRM SA setup - C only)
[RxRPC] Attempting to corrupt /etc/passwd...
[*] Current root entry: b'root:x:0:0:root:/root:/bin/b'
── Fragnesia (CVE-2026-46300) ──
[Fragnesia] Attempting CVE-2026-46300 exploit...
[+] ESP-in-TCP support detected
[+] User namespace created (CAP_NET_RAW acquired)
sudo modprobe esp4
sudo modprobe esp6
sudo modprobe rxrpc
lsmod | grep -E 'esp4|esp6|rxrpc'
git clone https://github.com/MadExploits/CVE-2026-46300.git
cd CVE-KERNEL
No external Python dependencies — uses only the standard library.
python3 main.py
| Code | Meaning |
|---|---|
0 | Exploit succeeded or already root |
1 | Exploit failed (patched system or missing modules) |
flowchart TD
A[Start] --> B{Already root?}
B -->|Yes| C[Spawn root shell]
B -->|No| D{Already patched?}
D -->|Yes| C
D -->|No| E[ESP - CVE-2026-43284]
E --> F[RxRPC - CVE-2026-43500]
F --> G{Patched?}
G -->|Yes| C
G -->|No| H[Fragnesia - CVE-2026-46300]
H --> I{Patched?}
I -->|Yes| C
I -->|No| J[Exploit failed]
Corrupts /usr/bin/su via XFRM Security Association and user namespace isolation. Requires XFRM netlink socket setup (full implementation in C).
Writes to /etc/passwd page cache through RxRPC key manipulation and splice()/vmsplice() syscalls.
Triggers skb_try_coalesce bug via ESP-in-TCP fragmented packets to achieve page-cache write primitive.
This repository ships the Python proof-of-concept. Full exploitation requires low-level syscalls available only in the C version:
# Quick diagnostic
lsmod | grep -E 'esp4|esp6|rxrpc'
grep ESPINTCP /boot/config-$(uname -r)
cat /proc/sys/kernel/unprivileged_userns_clone
CVE-KERNEL/
├── main.py # Main exploit script (Python PoC)
└── README.md # Documentation
FOR EDUCATIONAL AND AUTHORIZED SECURITY TESTING ONLY
This tool is provided strictly for educational purposes, security research, and authorized penetration testing on systems you own or have explicit written permission to test.
| Modified By | MadExploits |
| CVE References | CVE-2026-43284 · CVE-2026-43500 · CVE-2026-46300 |
This project is released for educational and research purposes. Use at your own risk.
Modified By MadExploits · Linux Kernel LPE Research
| Requirement | Description |
|---|
| OS | Linux (x86_64) |
| Python | 3.8 or higher |
| Privileges | Unprivileged user (uid ≠ 0) |
| Kernel modules | esp4, esp6, rxrpc (loadable) |
| Kernel config | CONFIG_ESPINTCP=y or =m |
| User namespaces | Enabled (/proc/sys/kernel/unprivileged_userns_clone) |
| Capability | Python | C |
|---|
| User namespace setup | ✅ | ✅ |
| Patch detection | ✅ | ✅ |
| RAW socket trigger | ✅ | ✅ |
| XFRM netlink sockets | ❌ | ✅ |
| splice / vmsplice | ❌ | ✅ |
| AF_ALG crypto ops | ❌ | ✅ |
| RxRPC protocol handling | ❌ | ✅ |
| Issue | Solution |
|---|
ESP modules not loaded | Run sudo modprobe esp4 esp6 |
ESP-in-TCP not enabled | Kernel lacks CONFIG_ESPINTCP — use different kernel |
unshare failed | Enable user namespaces or run on supported distro |
RAW sockets require CAP_NET_RAW | Ensure user namespaces are enabled |
| Exploit failed | System may be patched — check kernel version |