«Паника — это не конец. Это доказательство, что мы уже в ядре.»
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.
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.
UAF + reclaim
Deferred JpegRequest UAF, a controlled 10 s timeout, and same-type reclaim without a panic.
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.
Research roadmap
From a reproducible crash to a controlled primitive. Control is the active stage; the rest is still open.
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.
The panic
The crash is a kernel data abort on a virtual call through a corrupted object pointer. The backtrace contains IOHIDFamily and AppleSPU.
ldr x8, [x16, #0x38]! · x16 = 0x0020000000000000.Patch timeline
Build it yourself
No prebuilt IPA is committed. Build the app and package an unsigned IPA on macOS:
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.