iOS 18.7.2 kernel UAF and control research hero
CVE-2026-28992 CVE-2026-20687 Platform Status License Build

«Паника — это не конец. Это доказательство, что мы уже в ядре.»

CRASH → CONTROL → JAILBREAK

Overview

hidgate-poc documents two kernel bugs on an iPhone XR (A12) running iOS 18.7.2: the IOHIDFamily fast-path race (CVE-2026-28992) and the AppleJPEGDriver decoder timeout UAF (CVE-2026-20687). Both are reachable from the normal app sandbox without entitlements.

IOHID

Crash-only

FastPath open/teardown race. The provider-side object is not reachable by userland sprays, and copyEvent never delivers an event on this SPU.

AppleJPEG

UAF + reclaim

Deferred JpegRequest UAF, a controlled 10 s timeout, and same-type reclaim without a panic.

Target

iOS 18.7.2 / A12

iPhone XR (iPhone11,8), xnu-11417.140.69.702.20~1.

Kernel control status

No kernel read/write yet. The current rung is a controlled free and a same-type reclaim in AppleJPEGDriver. The public PoC's direct *(*(request+0)+0x28)() path is PAC-protected on A12 (autda + blraa), so the next gate is a double-free/write primitive, not a fake vtable.

0. Crash PASS 1. Reproducible UAF PASS 2. Controlled free PASS kIOReturnTimeout, 10.001 s 3. Same-type reclaim PASS kernel survives 4. Persistent stale node PARTIAL power-state wedge 5. Write / read primitive NOT YET 6. PAC / PPL bypass NOT YET 7. Kernel r/w + jailbreak NOT YET

Research roadmap

From a reproducible crash to a controlled primitive. Control is the active stage; the rest is still open.

Crash to control to jailbreak roadmap
UAF → phase A trigger → control → KASLR → kernel r/w → jailbreak.

The race

sel0 gates on entitlement keys in the caller-supplied dictionary. sel1 drops provider state without the lock, while sel2/open paths walk the same provider-facing objects.

FastPath open teardown race diagram
Two locking domains, one provider: teardown frees state while the open path walks it.

The panic

The crash is a kernel data abort on a virtual call through a corrupted object pointer. The backtrace contains IOHIDFamily and AppleSPU.

Kernel data abort panic excerpt
Faulting instruction: ldr x8, [x16, #0x38]! · x16 = 0x0020000000000000.
IOHIDFamily — kernel data abort pc = 0xfffffff02405c388 x16 = 0x0020000000000000 far = 0x0020000000000038 esr = 0x0000000096000004 0xfffffff008424388: ldr x8, [x16, #0x38]!
AppleJPEGDriver — deferred UAF pc = ... (AppleJPEGDriver) x5 = 0xfeedfacefeedfacf x6 = 0xfeedfacefeedfacf x12 = 0 far = 0x308 0xfffffff008df3418: ldrb w12, [x12, #0x308]
Crash is not control. The repository documents a controlled free and a same-type reclaim, not kernel read/write. There is no PAC/PPL/SPTM bypass, no persistence, and no jailbreak. The test builds intentionally panic or wedge the kernel.

Patch timeline

CVE-2026-28992 patch timeline
Vulnerable through 18.7.1 · tested on 18.7.2 · patched in 18.7.9 and 26.5.

Build it yourself

No prebuilt IPA is committed. Build the app and package an unsigned IPA on macOS:

# clone git clone https://github.com/hidra0x/hidgate-poc.git # build the app + IPA cd hidgate-poc make # outputs build/Payload/hidgate4.app build/hidgate4-unsigned.ipa

Sign the IPA with your own certificate or sideloading workflow before installing.

Credits

Original discovery and PoCs: Johnny Franks (@0xjohnny) for both IOHIDFamily and AppleJPEGDriver. This repository adds standalone builds, service enumeration, redacted panic analysis, a controlled timeout/reclaim test set, and a reproducible IPA workflow.