DirtyClone is a Linux kernel local privilege escalation vulnerability in the networking stack caused by failure to preserve the SKBFL_SHARED_FRAG marker when fragment descriptors are transferred between socket buffers. The bug affects multiple skb frag-transfer and aggregation paths, including __pskb_copy_fclone(), skb_shift(), skb_gro_receive(), skb_gro_receive_list(), tcp_clone_payload(), skb_segment(), and related coalescing logic. When these helpers move frags from a source skb to a destination skb without propagating skb_shinfo()->flags, the destination skb can still reference externally owned or page-cache-backed pages while skb_has_shared_frag() incorrectly reports false. This breaks the invariant relied on by in-place writers to trigger copy-on-write via skb_cow_data() before modifying shared backing pages. A documented exploitation path uses netfilter packet duplication to send a cloned skb into ESP input processing, where in-place decryption can write attacker-controlled data into shared page-cache-backed memory. This can corrupt the cached contents of privileged read-only executables without modifying the on-disk file, enabling subsequent execution of attacker-modified code with elevated privileges.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
7 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (2 hidden).
This repository is a small standalone exploit PoC for CVE-2026-43503 (DirtyClone). It contains three files: an MIT LICENSE, a README describing the vulnerability and usage, and a single Python exploit script, dirtyclone.py, which is the sole code entry point. The exploit is a real local privilege escalation tool, not a detector. Its purpose is to abuse the DirtyClone Linux kernel bug by combining user/network namespaces, xfrm ESP-in-UDP processing, and an iptables TEE rule to corrupt file-backed page cache contents. The script targets /etc/passwd and computes crafted IV values so that in-place decryption transforms existing file cache blocks into attacker-chosen plaintext. The chosen payload inserts a new root-equivalent account named 'firefart' with a hardcoded SHA-512 password hash corresponding to password 'pwned'. Operational flow: the script loads libcrypto.so.3 and libc.so.6 via ctypes; creates new user and network namespaces with unshare(); writes /proc/self/{setgroups,uid_map,gid_map} to establish namespace mappings; configures loopback, xfrm state/policy, and an iptables TEE rule; opens /etc/passwd read-only; repeatedly sends crafted UDP/ESP traffic to 127.0.0.1:4500 while using sendfile() from the passwd file descriptor to trigger the vulnerable kernel path; then checks whether the injected account exists. If successful, it runs 'su' with the hardcoded password to execute 'id' and optionally spawns an interactive /bin/bash shell as root. Repository structure is minimal and focused: README provides context and claims, while dirtyclone.py fully implements the exploit chain in Python without compilation. The exploit includes a basic but complete payload and post-exploitation step, making it operational rather than a bare proof-only trigger.
This repository is a small standalone exploit repo with 2 files: a README describing the DirtyClone Linux kernel local privilege escalation PoC and one Python entry point, dirtyclone.py. The code is a real exploit rather than a detector. It targets CVE-2026-43503, described as a Linux kernel page-cache corruption issue reachable through cloned socket buffers involving the netfilter TEE target and ESP-in-UDP processing. The exploit flow is: create new user and network namespaces with unshare(); configure loopback IPsec/xfrm state and policy plus an iptables TEE rule; open /etc/passwd read-only and derive crafted IVs by AES-decrypting existing file blocks with a fixed key; send ESP-in-UDP traffic over 127.0.0.1:4500 so decrypted data is written into file-backed page cache; thereby replace the beginning of /etc/passwd with a payload that preserves the root line and appends a new UID 0 account named 'firefart' with a hardcoded SHA-512 password hash; then use su to authenticate with password 'pwned', run 'id' as proof, and optionally spawn an interactive /bin/bash shell. Main capabilities: local privilege escalation from unprivileged user to root, page-cache overwrite of /etc/passwd, creation of a persistent root-capable account entry, privilege verification, and interactive shell access. The exploit is operational because it contains a complete hardcoded payload and end-to-end exploitation logic, but it is not part of a larger exploitation framework.
Repository contains a single C proof-of-concept exploit (dirtyclone.c) plus a README. The code is a local privilege escalation tool targeting a Linux kernel/XFRM/IPsec exploit path identified in the source as CVE-2026-43503. Its workflow is: perform pre-flight kernel/architecture checks, create isolated user and network namespaces, configure loopback and XFRM/IPsec state/policy, optionally add a TEE/iptables-assisted forwarding path, build a crafted plaintext containing architecture-specific shellcode, encrypt it with a static AES-CBC key via OpenSSL EVP APIs, deliver it through UDP/ESP or a raw IP fallback to 10.99.0.2:4500, monitor a mapped view of /usr/bin/su for expected byte changes at a fixed offset, and if the page cache appears modified, execute the target SUID binary to gain root. The exploit includes embedded x86_64 and AArch64 shellcode that executes /bin/sh with elevated privileges, cleanup handlers, signal handling, retry logic, and verbose/quiet CLI modes. This is not a framework module; it is a standalone operational PoC with a hardcoded target path, hardcoded AES key, static IP/port values, and a fixed privilege-escalation payload.
Single-file Python proof-of-concept for CVE-2026-43503 ('DirtyClone'), a local Linux kernel privilege-escalation issue involving page-cache manipulation through IPsec in-place decryption and packet cloning. The repository contains one executable script, dirtyclone_poc.py, which serves as the main and only entry point. The script is structured as a DirtyClonePoC class with helper methods for command execution, environment checks, namespace creation, IPsec/XFRM setup, iptables TEE configuration, target-file preparation, exploitation flow, verification, and cleanup. It uses subprocess calls to system tools such as uname, cat, ip, and iptables rather than implementing packet logic directly in Python. Core exploit capability: it attempts to create the kernel conditions needed to trigger the vulnerability by setting up an isolated network namespace, enabling loopback networking, assigning 10.99.0.2/24 to lo, configuring XFRM state/policy for ESP transport mode over 127.0.0.1, and installing an iptables mangle/OUTPUT TEE rule for UDP destination port 4500. This combination is intended to force packet cloning and exercise the vulnerable kernel path. The chosen target for page-cache manipulation defaults to /usr/bin/su, indicating the intended privilege-escalation objective. The visible code does not include a full post-trigger payload such as shell spawning, credential overwrite, or direct binary patch logic; instead it behaves as a demonstrative PoC that reports whether the vulnerability may have been triggered and states that a real exploit would modify page cache to allow privilege escalation. Because of that, the maturity is best classified as POC rather than operational weaponization. Notable fingerprintable artifacts include the namespace name dirtyclone_test, namespace path /var/run/netns/dirtyclone_test, kernel tunable /proc/sys/kernel/unprivileged_userns_clone, target binary /usr/bin/su, fallback file /tmp/vuln_test, loopback/XFRM endpoint 127.0.0.1, namespace IP 10.99.0.2, and UDP port 4500. Overall, this repository is a local kernel exploit PoC focused on reproducing vulnerability conditions rather than delivering a polished privilege-escalation payload.
This repository is a small standalone local privilege escalation exploit PoC for CVE-2026-43503 ('DirtyClone'). It contains two files: a README describing the vulnerability and affected Linux kernel versions, and a single Python exploit script, dirtyclone.py, which is the main entry point. The exploit is clearly intended for local execution on Linux, not remote exploitation. Its overall flow is: create a new user and network namespace, map the current user to UID/GID 0 inside the namespace, configure loopback networking, prepare XFRM/IPsec-related state, and then trigger a kernel memory corruption condition associated with clone/namespace handling. The script indicates use of kernel attack primitives to obtain an arbitrary write and overwrite credentials or otherwise hijack execution to gain root. Notable capabilities visible in the code include: - Namespace setup via unshare() using CLONE_NEWUSER and CLONE_NEWNET. - Writes to /proc/self/setgroups, /proc/self/uid_map, and /proc/self/gid_map to establish namespace privileges. - Loopback configuration using the ip command and assignment of 10.99.0.2/24 to lo. - Use of AF_ALG and XFRM/IPsec-related constants, suggesting the exploit abuses kernel crypto/IPsec plumbing as part of heap shaping or trigger logic. - A hardcoded target SUID binary (/usr/bin/su) and offset constant, implying a file overwrite or code-stomping stage against a privileged executable. - Embedded x86_64 shellcode that calls setgid(0), setuid(0), and execve('/bin/sh'). - Fallback/interactive root shell behavior via /bin/bash when already privileged. The repository appears to be more than a detector: it contains operational exploit logic and a real payload. Based on the visible code, it is best classified as an OPERATIONAL PoC rather than a framework-integrated or highly modular weaponized exploit. The script includes environment checks, troubleshooting guidance, and local system manipulation consistent with a practical LPE exploit.
Repository contains a single C proof-of-concept exploit and a README describing the vulnerability. The exploit targets CVE-2026-43503 ('DirtyClone'), a Linux kernel local privilege escalation bug in networking/SKB fragment handling. The code is a standalone local exploit, not part of a framework. Structure: README.md provides vulnerability background, impact, and fixed kernel versions. CVE-2026-43503.c is the operational exploit entry point. It creates new user and network namespaces, writes /proc/self/{setgroups,uid_map,gid_map}, and brings up the loopback interface. It then interacts with the kernel XFRM/IPsec subsystem over NETLINK_XFRM, creating many security associations whose SPI/sequence-related values are derived from an embedded 192-byte ELF payload. The exploit appears to use a page-cache corruption/write primitive against /usr/bin/su, writing the payload in 4-byte chunks. After the corruption stage, it verifies expected bytes at a fixed entry offset and, on success, executes /usr/bin/su -c /bin/sh to obtain a root shell. Main capability: local privilege escalation to root by modifying the page cache of a root-owned executable (/usr/bin/su) and then invoking it. The payload is embedded and hardcoded rather than user-configurable, so the exploit is best classified as OPERATIONAL rather than weaponized. No external C2 or remote network infrastructure is present; all networking activity is local to the host, primarily loopback and kernel netlink/XFRM interactions.
This repository is a compact two-file local privilege escalation PoC for CVE-2026-43503 (DirtyClone). The main code is in CVE-2026-43503.py, with README.md providing a short vulnerability description, usage example, and prerequisites. The exploit is not part of a larger framework. The Python script targets a Linux kernel flaw involving cloned sk_buff handling during ESP-in-UDP processing. It creates new user and network namespaces with unshare(), configures loopback XFRM/IPsec state and policy using ip xfrm, and installs an iptables TEE rule to clone outbound UDP/4500 traffic toward 127.0.0.2. It then opens /etc/passwd read-only, derives crafted IVs using AES decryption with a static 16-byte key, and sends specially formed ESP-in-UDP packets over 127.0.0.1:4500 so that in-place decryption corrupts file-backed page-cache memory. The intended corruption replaces the beginning of /etc/passwd in cache with a new root-level account entry. The hardcoded payload injects account 'firefart' with password 'pwned' and a preset SHA-512 hash, preserving the original root line and appending a second UID 0 entry. After the overwrite attempt, the script checks whether the account is visible through the system password database, runs 'su' with the known password to execute 'id', and if successful offers an interactive root shell via /bin/bash on a PTY. Capabilities include: local kernel exploitation, namespace setup, XFRM/IPsec and iptables manipulation, page-cache-only modification of /etc/passwd, creation of a usable UID 0 account, privilege verification, and interactive root shell access. There are no external internet endpoints; all network activity is local loopback traffic using 127.0.0.1/127.0.0.2 and UDP port 4500.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
129 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Упомянутая в контексте майской волны локальных уязвимостей повышения привилегий в ядре Linux уязвимость DirtyClone.
A critical local privilege escalation vulnerability in the Linux kernel's XFRM/IPsec packet processing path that enables page cache manipulation and could allow an unprivileged local user to gain full root access.
A high-severity Linux kernel local privilege escalation vulnerability, dubbed DirtyClone, that affects multiple Linux distributions including Ubuntu and may also enable container escape in some containerized deployments.
Локальная уязвимость повышения привилегий в ядре Linux, связанная с zero-copy networking и повреждением/изменением страничного кеша через клонированные сетевые пакеты, что позволяет получить root-доступ.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.