DirtyFrag
About 679 wordsAbout 2 min
DirtyFrag covers CVE-2026-43284. The chain patches the kernel and loads the module, then hands root to the manager.
Entry: Manual escalation → More actions → DirtyFrag.
Supported range
Matching uses the kernel series, comparing the major.minor pair:
5.10 5.15 6.1 6.6 6.12 6.18The native side picks the closest ko within the series. When the kernel version cannot be read, the kernel is treated as unsupported.
Prerequisites
| Requirement | Behavior when missing |
|---|---|
| Kernel series in range | The confirmation marks the kernel as unsupported and the terminal reports the kernel is not in the support list |
A manager providing libksud.so selected | The app asks for a manager to be selected in the pill |
| Not injected during this boot | The app reports that this boot was already injected and a reboot is required |
| Wireless ADB usable | The run fails during execution |
Confirmation
| Row | Value |
|---|---|
| Manager | Currently selected manager |
| Kernel | Device kernel, with an "unsupported" marker when out of range; "unknown" when unreadable |
| VR disarm | On / off |
| Auto offset | On / off |
| Soft reboot | On / off |
Risk note: SELinux is set to permissive during the run and the system may be briefly unstable; a reboot restores it. The primary action is Start.
Run parameters
Parameters come from the Escalation group in Settings and expand only after expert mode is enabled:
| Setting | Notes |
|---|---|
| Boot autostart of DirtyFrag | Runs once at boot and disables itself on failure. Enabling asks for confirmation first, explaining that a boot-stage failure may cause repeated reboots and recovery or a reflash may be required |
| Soft reboot on success | Reboots once so modules take effect; combined with boot autostart, a failed reboot may leave the boot without root |
| VR disarm | vivo only; removes the kernel-side VR protection first |
| Auto offset | Derives the offset from kernel BTF; available only with VR disarm on, otherwise greyed out |
The confirmation dialog's manual offset covers the case where auto derivation is unavailable. Values range from 1 to 256; an invalid value aborts before the handoff.
Extracting the offset from an image or OTA
Extract from image/OTA accepts:
| Input | Notes |
|---|---|
| Local image | A boot.img path |
| Direct OTA URL | HTTP/HTTPS, with download and unpack phases shown as percentages |
For self-signed direct links, "skip certificate validation" can be enabled. An empty input reports that a path or link is required; extraction failures print the raw native error in the terminal.
On success the terminal writes "VR offset resolved: value".
Stages
- Preflight: ADB, manager, kernel support, injection state for this boot.
- Patch.
- VR disarm (when enabled): derive or use the manual offset.
- Bootstrap and ksud load.
- Optional soft reboot.
Output is appended to the terminal in blocks, with the conclusion written at the end. While running, the title bar shows a progress ring; there is no per-stage panel.
Final classifications
| Conclusion | Meaning |
|---|---|
| Kernel module loaded; root handed to xxx | Full success |
| This kernel does not have the vulnerability | Native output DEVICE NOT VULNERABLE |
| Patch stage failed; see the output above | Patch failure |
| VR disarm failed; aborted before handoff | Offset or BTF unavailable |
| Kernel module loaded but bootstrap or ksud failed | Kernel side ready, handoff failed |
| Timed out waiting for the final marker; see the output above | Local wait timed out |
| The native side did not accept the run: reason | See the table below |
| No recognizable final marker | Evidence without a conclusion |
Acceptance failures:
| Reason code | Display |
|---|---|
alreadyArmed | A residency marker already exists |
busy | A task is already running |
noIpSec | The system has no IpSec service |
missingBinary | Manager or payload binary missing |
stagingFailed | Staging or launch failed |
badRequest | Invalid request parameters |
Exit codes here cannot be used alone: 2 appears in most successful runs, and -1 means no code was captured.
Handoff after success
A handoff to the selected manager runs automatically after success. The reason matches GhostLock: the kernel side delivers capability to the manager, and the shell side needs a separate --allow-shell handoff to obtain root.