Exploit database

Vulnerability

CVE-2026-43284

xfrm: esp: avoid in-place decrypt on shared skb frags

Vulnerability details

Score
8.8
Severity
high

CVSS 3.1 · Linux

Vector string

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Description

In the Linux kernel, the following vulnerability has been resolved: xfrm: esp: avoid in-place decrypt on shared skb frags MSG_SPLICE_PAGES can attach pages from a pipe directly to an skb. TCP marks such skbs with SKBFL_SHARED_FRAG after skb_splice_from_iter(), so later paths that may modify packet data can first make a private copy. The IPv4/IPv6 datagram append paths did not set this flag when splicing pages into UDP skbs. That leaves an ESP-in-UDP packet made from shared pipe pages looking like an ordinary uncloned nonlinear skb. ESP input then takes the no-COW fast path for uncloned skbs without a frag_list and decrypts in place over data that is not owned privately by the skb. Mark IPv4/IPv6 datagram splice frags with SKBFL_SHARED_FRAG, matching TCP. Also make ESP input fall back to skb_cow_data() when the flag is present, so ESP does not decrypt externally backed frags in place. Private nonlinear skb frags still use the existing fast path. This intentionally does not change ESP output. In esp_output_head(), the path that appends the ESP trailer to existing skb tailroom without calling skb_cow_data() is not reachable for nonlinear skbs: skb_tailroom() returns zero when skb->data_len is nonzero, while ESP tailen is positive. Thus ESP output will either use the separate destination-frag path or fall back to skb_cow_data().

CVE Program

Exploit source choices

23 sources
xfrm-ESP Page-Cache Write via CVE-2026-43284
MSF-linux--local--cve_2026_43284_dirty_fragMetasploitLinux,Unix / remote

CVE-2026-43284 is a Linux kernel page-cache write vulnerability in the IPsec/xfrm subsystem affecting ESP (Encapsulating Security Payload) fragmentation. Dubbed "DirtyFrag", the bug allows a local unprivileged user to gain write access to read-only page-cache pages by triggering a race condition in how the kernel handles shared fragments when processing ESP-encapsulated UDP packets. The exploit overwrites a SUID binary on disk to execute an arbitrary payload as root.

2026-05-08cve_2026_43284_dirty_frag.rb
ankitrawatgit/dirtyfrag-android-root-jailbreak
GH-c49f2379464033dbd88649f9c2f39b8fGitHubUnofficial GitHub source

DirtyFrag Android Root is an Android app and helper module chain based on DirtyFrag (CVE-2026-43284). Tested on iQOO Z9 5G.

2026-10-0275 files · 84 stars
linnemanlabs/dirtyfrag-arm64
GH-0ddab77090155ea73a844335d59751a4GitHubUnofficial GitHub source

arm64/aarch64 port of V4bel/dirtyfrag (CVE-2026-43284). ESP-only - rxrpc path kernel-oopses on arm64 due to flush_dcache_page

2026-05-103 files · 42 stars
percivalll/dirty-frag-kubernetes-poc
GH-d318cce65b3e4f74ba079c3b04d5e72eGitHubUnofficial GitHub source

A proof-of-concept demonstrating how a default, unprivileged Kubernetes Pod can achieve node-level code execution on Amazon EKS by exploiting the Dirty Frag (CVE-2026-43284) Linux kernel page-cache corruption vulnerability through shared container image layers.

2026-05-0877 files · 19 stars
liamromanis101/dirtyfrag-detector
GH-a534d6dfcc8502b21142990f47afd16fGitHubUnofficial GitHub source

CVE-2026-43284/CVE-2026-43500 'DirtyFrag' Benign patch & mitigation detection script

2026-05-113 files · 16 stars
a2333c/dfroot
GH-8e610548d742506fcff554026a3e2e5fGitHubUnofficial GitHub source

三星 Galaxy S25 Ultra(SM-S938B)适配版 DFRoot:开机自动获取 root(DirtyFrag CVE-2026-43284 + CVE-2026-43499 双链路),全中文界面,fork 自 diabl0w/DFRoot

2026-09-2765 files · 9 stars
haydenjames/dirty-frag-check
GH-9e8eca5e16f74d45076b84e4d0f46edbGitHubUnofficial GitHub source

Read-only checker for CVE-2026-43284 / CVE-2026-43500 (Dirty Frag) Linux kernel local-root vulns

2026-05-094 files · 7 stars
noctide/redmi-k50-temp-root
GH-e9e1115bb806f99926501113e9bd69c9GitHubUnofficial GitHub source

Redmi K50 (rubens) 临时 Root 教程 — 基于 DirtyFrag (CVE-2026-43284) + libbase fallback

2026-11-0762 files · 6 stars
remipelloux/galaxycrash
GH-ad40390e667e73c536b438fd54295e27GitHubUnofficial GitHub source

Ephemeral root for Samsung Galaxy devices via CVE-2026-43284 — stability fork of DirtyFrag. Reboot to undo.

2026-10-1991 files · 6 stars
mcxiaochenn/iqooneo8-v2301a-dirtyfrag
GH-849a65e67e703ca325930ac68c341697GitHubUnofficial GitHub source

iQOO Neo8 (PD2301/V2301A) 一键越狱 — DirtyFrag (CVE-2026-43284) port on the pyb110 UI

2026-11-04198 files · 4 stars
ak777177/dirty-frag-analysis
GH-ee69bf2ae0dc311ceb5bcb7f8814d862GitHubUnofficial GitHub source

Dirty Frag (CVE-2026-43284/43500) - Linux Kernel LPE Deep Technical Analysis by Bomb

2026-05-084 files · 2 stars
jayhutajulu1/cve-2026-43284-dirtyfrag-poc
GH-3a299751b8afb0a898273232bf237d7aGitHubUnofficial GitHub source

Proof-of-concept for CVE-2026-43284 — 4-byte XFRM/ESP page-cache write primitive to patch a setuid binary (x86_64, user namespaces). Includes kernel preflight + SUID scan.

2026-05-264 files · 2 stars
kuniyal08/dirty-frag-cve-2026-43284
GH-40d088b44e5e7fba0994a7a7e57be39aGitHubUnofficial GitHub source

A report on Dirty Frag, which is a Linux Local Privilege Escalation (LPE) vulnerability chain that allows an unprivileged user to gain root access

2026-05-1922 files · 2 stars
lukeslp/redtail-ioc
GH-84cb850186ecb3d7a6c80307f10247b6GitHubUnofficial GitHub source

IOCs and a read-only triage checklist from a real Linux root compromise: RedTail miner, XorDDoS persistence, MoneroOcean miner, DirtyFrag LPE (CVE-2026-43284/43500). CC0.

2026-07-075 files · 2 stars
1neptune/dirtyfrag
GH-b7814891b3197afe605f88df49ead69eGitHubUnofficial GitHub source

Add go CVE-2026-43284 / CVE-2026-43500 (dirtyfrag) local privilege escalation exploit

2026-06-0310 files · 1 stars
nonameuserosint-hue/dirtyfrag-go
GH-bcdfd611a35423b75fdb63e1065a51c3GitHubUnofficial GitHub source

A Go implementation of dirtyfrag (CVE-2026-43284 / CVE-2026-43500)

2026-06-0110 files · 1 stars
aiyakami/rust_dirtyfrag
GH-1b50d2305a3058143848a33c6f5a3ff2GitHubUnofficial GitHub source

CVE-2026-43284的rust版本实现

2026-05-119 files · 0 stars
cyber-niz/dirty-frag
GH-f76f0aa50dea7febf33f456347bfa05cGitHubUnofficial GitHub source

CVE-2026-43284 - Dirty Frag

2026-05-163 files · 0 stars