JoinChang/ghostlock-oneplus

Public

GhostLock (CVE-2026-43499) kernel exploit for Android devices with locked bootloader

  • Stars438+9 tuần này
  • Forks93
  • Watchers15
  • Issues43
  • Ngày tạo12/07/2026
  • Cập nhật gần nhất17/09/2026
  • Ngôn ngữC
  • Giấy phép—
README.md20.3 KBRaw

GhostLock — Locked Bootloader Jailbreak

Kernel exploit for Android devices with locked bootloader. Achieves temporary root + KernelSU installation without unlocking bootloader or modifying boot image. Runtime auto-detection of kernel version with multi-device offset table.

GhostLock running on OnePlus Ace 6T with KernelSU (LKM, Jailbreak mode)

Vulnerability

CVE-2026-43499 — Futex PI (Priority Inheritance) Use-After-Free

Affects Linux kernel 5.7 ~ 7.1. Fixed in stable 6.1.175, 6.6.140, 6.12.86. Most Android devices remain unpatched as of September 2026.

The pselect6 syscall copies fd_set data onto the kernel stack. When combined with the futex PI waiter mechanism, a freed stack frame can be reclaimed as an rt_mutex_waiter structure. The rb-tree rebalance during PI chain walk then writes controlled values to arbitrary kernel addresses.

Supported Devices

Verified Working

Device SoC Kernel GKI Branch SHIFT
OnePlus Ace 6T (PLR110) SM8845 6.12.38 android16-5 0
OnePlus 15 (CPH2745/2747/2749) SM8850 6.12.23 android16-5 0
OnePlus 15 (PLK110) SM8850 6.12.58 android16-6 0
Xiaomi 17 (pudding) SM8850 6.12.23 / 6.12.69 android16-5 / android16-6 0
OnePlus 13 (IN2060) SM8750 6.6.89 android15-8 -2
OPPO Pad 4 Pro SM8750 6.6.89 android15-8 -2

Offsets Extracted (pending device test)

Device SoC Kernel Notes
OnePlus 15T (PLZ110) SM8845 6.12.38 Same kernel as Ace 6T
OPPO Reno10 Pro+ (CPH2521) SM8475 5.10.236 5.10 compact waiter, waiter word=0
Sony Xperia 1 IV (nagara) SM8450 5.10.218 5.10 compact waiter, waiter word=0
OPPO Find X9 Pro (PLG110) D9400 6.12.23 MediaTek, android16-5
Vivo X200 Ultra (V2454A) SM8750 6.6.89 C ashmem, traditional hooks
Vivo X Fold3 Pro (PD2337) SM8650 6.1.124 6.1 compact waiter, waiter word=3
Vivo T4 SM8650 6.1.145 6.1 compact waiter, waiter word=3

Not Feasible

The pselect stack overlay requires the freed rt_mutex_waiter to land within the user-controllable stack_fds region (words 0–14). Where it lands is determined by compiler PGO/LTO profiles, not the kernel version. See Stack Layout.

Nội dung README thuộc về JoinChang và cộng đồng đóng góp, giấy phép Không có giấy phép. Nguồn: github.com/JoinChang/ghostlock-oneplus