
Python Proof of Concept for DirtyClone (CVE-2026-43503) - Linux kernel LPE via page-cache corruption
Non-official Python port of DirtyClone — a Linux kernel local privilege escalation vulnerability.
This repository contains a working Proof of Concept that allows an unprivileged local user to gain root privileges by exploiting page-cache corruption via cloned socket buffers.
DirtyClone (CVE-2026-43503) is the fourth member of the Dirty family* (DirtyPipe → DirtyFrag → DirtyClone).
It abuses improper flag propagation in __pskb_copy_fclone() when using the TEE netfilter target with ESP-in-UDP. This allows an attacker to perform in-place decryption directly into file-backed page cache memory, even after previous DirtyFrag mitigations.
48f6a5356a33)user.max_user_namespaces > 0)Credits: Original research and technique by JFrog Security Research. This is an independent Python reimplementation.
/etc/passwd to add a new uid=0 userDemo
Disclaimer This tool is for educational and security research purposes only. Unauthorized use on systems you do not own is illegal. Use responsibly.
References
JFrog Security Research - DirtyClone Writeup (link when available) CVE-2026-43503 Linux kernel fix: 48f6a5356a33
# 1. Clone the repo
git clone https://github.com/entra1337/DirtyClone.git
cd DirtyClone
# 2. Run the exploit
python3 dirtyclone.py