ghostlock-oneplus — GhostLock (CVE-2026-43499) kernel exploit for Android devices with locked bootloader
GhostLock is a public kernel exploit for Android devices with locked bootloaders, targeting CVE-2026-43499, a use-after-free in the futex PI (Priority Inheritance) mechanism affecting Linux kernels 5.7–7.1. The exploit achieves temporary root and KernelSU installation without bootloader unlock by leveraging pselect6 syscall stack manipulation combined with rb-tree rebalancing in the PI chain walk to write controlled values to arbitrary kernel addresses. Verified working on OnePlus, OPPO, Xiaomi, Vivo, and other OEM devices; feasibility depends on compiler PGO/LTO profiles affecting stack layout.