HTML5 Plyr

The iOS kernel thought it was safe to free() this object...

Billy Ellis · Dec 18, 2025 · 10:15

Are you a security researcher or reverse engineer?

For 50% off IDA Products use promo code BILLY50, https://hex-rays.com/pricing *
For 30% off IDA Training use promo code BILLY30, https://hex-rays.com/training **

*License discounts are only valid for individuals, not corporations. Cannot be combined with any other promo code or discount.
** Cannot be combined with any other promo code or discount.

/////////////////////////////////////

Hey guys,
In today's video we're rewinding the clock and diving into CVE-2017-13861, an iOS kernel bug from 2017 that was found to be exploited in the wild on iOS 11 devices.

The root cause of this kernel vulnerability is an incorrect handling of reference counting semantics on an ipc_port structure (the structure that represents a mach port).
Mach ports in the kernel use reference counters to keep track of their lifecycle. When a ports' reference count drops to 0, the kernel will free() that ipc_port structure back to the allocator.
In this video we explore how CVE-2017-13861 is used to drop one-too-many references on a mach port to achieve a use-after-free condition.
We also look at how this bug can be exploited to build kernel exploitation primitives and gain code execution.

Thanks for watching,
~ Billy

References:
https://projectzero.google/2019/08/in...
https://sparkes.zone/blog/ios/2019/04...
https://blog.siguza.net/v0rtex/
https://newosxbook.com/QiLin/qilin.pdf
https://github.com/blacktop/async_wake
Comments (60 saved) click to expand
Loading comments…
mirrors
video (qu.ax): https://qu.ax/uAScG
video (Anonhost): https://r2.anonhost.cc/M1o107K6gb.mp4
video (pasted.sh): https://pasted.sh/c1P6.mp4
video (Gofile): https://gofile.io/d/T6lRc8n9
video (VikingFile): https://vikingfile.com/f/602kpP120V
video (Hexupload): https://hexload.com/13eqm37j5kmo
video (AnonMP4): https://anonmp4.art/v/tLZqRS5E4bjugwV
video (BiteBlob): https://biteblob.com/Information/n4jaAIn3u0AMNR
video (Streamain): https://streama.in/KemnBLHFmDK3Ufr/watch
video (Vidmoly): https://vidmoly.me/v/kqt6wdeiswvx