Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
ghostlock-selinux-disabler — Use CVE-2026-43499 to disable SELinux on Android | Kitploit
Tools/GitHubGitHub/perongh/ghostlock-selinux-disabler
Android SecurityVulnerability AnalysisExploitationMobile SecurityLearning & EducationBinary Exploitation
GitHubperongh/ghostlock-selinux-disabler

ghostlock-selinux-disabler

Use CVE-2026-43499 to disable SELinux on Android

Share
View Repository
154844 months agoNot yet reviewed

GhostLock SELinux Disabler

Write-1-only extraction of JoinChang/ghostlock-oneplus for CVE-2026-43499. It disables SELinux enforcing on supported, vulnerable OnePlus kernels with a locked bootloader, and does nothing else: no cred overwrite, no root shell, no KernelSU, no bootstrap, and no KASLR leak.

Vulnerability

CVE-2026-43499 is a Linux kernel rtmutex use-after-free in the futex PI requeue path. During proxy-lock rollback, remove_waiter() operates on current instead of the waiter's task, leaving the waiter's pi_blocked_on pointer dangling. It is fixed upstream in Linux 6.12.86 and newer 6.12 releases.

What it does

A single child-node PI write:

fake_right = base + 0x100   ->  byte0 = 0 (enforcing), byte1 = 1

It reuses the full exploit's heap spray + pselect PI route, but bypasses KASLR (kaslr_slide = 0). It retries up to 20 times (with slab draining between attempts) and exits once /sys/fs/selinux/enforce reads 0.

What was dropped from the full exploit

RemovedReason
slide.cKASLR SLIDE leak — not needed (slide = 0)
pipe.cpipe-based physical R/W — only used by the CFI/root stage
root.ccred patching / install_android_root — Write 2 only
miniadb.cbootstrap mini ADB client — not used
try_cfi_stage, install_child_root, repair/refresh/leak/restore helpers (fops.c)CFI / KASLR-leak / pipe-physrw stage — never reached on the custom-write path
perf_find_task, spawn_child, write_root_script, run_exploit, run_bootstrap (main.c)Write 2 (cred → init_cred), root shell, KSU, bootstrap

The shared primitive (util.c heap spray, fops.c pselect route, kernelsnitch, and offset tables) is retained.

Tested kernels

See src/devices/offsets.h, keyed by uname -r:

  • OnePlus Ace 6T — 6.12.38-android16-5-...-ab14275539-4k
  • OnePlus Ace 6T — 6.12.38-android16-5-...-ab14552068-4k
  • OnePlus 15 — 6.12.23-android16-5-...-ab14541642-4k (offsets only, unverified)

Build

make            # uses /opt/android-ndk (or $ANDROID_NDK_HOME)

Produces selinux_disabler, an aarch64 PIE for Android API 35.

Usage

adb push selinux_disabler /data/local/tmp/a/e && chmod 755 /data/local/tmp/a/e
adb shell /data/local/tmp/a/e

Verify:

adb shell cat /sys/fs/selinux/enforce   # -> 0

Adding devices

Only boot.img is needed. Use the extraction utilities in the upstream project's tools directory, then add an entry under src/devices/<device>/offsets.h and #include it from src/devices/offsets.h.

License

For authorized security research and educational purposes only.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    790
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    508
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    435
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    346
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    263
  • 6

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    260

Explore all tools

Browse our collection of tools

View all tools →