Description
ARM64 Linux and Android kernels
Stop reading exploit write-ups and start building working privilege-escalation chains.
This hands-on masterclass takes you from Linux heap fundamentals to reliable root exploitation on pinned, intentionally vulnerable aarch64 kernels — the same kernels that boot Android — inside your own isolated laboratory.
Every technique is developed from primitive to root shell — not demonstrated through slides or unexplained proof-of-concept code.
What you will learn
- Read the heap like a map. glibc ptmalloc2, tcache, the kernel SLUB allocator, chunks, bins, freelists, object reuse, heap spraying and deterministic grooming.
- Understand modern mitigations. Enable each protection, watch it break your exploit, and adapt your strategy.
- Weaponize real vulnerabilities. Move from the original bug to useful kernel primitives and complete privilege escalation.
- Turn primitives into root. Reclaim freed objects, abuse pipe buffers, overwrite credentials and complete data-only exploitation chains.
Modern mitigations
You will work against the protections as they ship on arm64:
PXN · PAN · KASLR · KPTI · seccomp · namespaces · PAC
PXN and PAN are the AArch64 counterparts to x86’s SMEP and SMAP. Pointer Authentication (PAC) is switched on for the final capstone.
Real CVE case studies
The masterclass examines three major kernel vulnerabilities, two of them drawn from the Android kernel world where arm64 exploitation actually lives — then a capstone that turns Pointer Authentication back on and defeats it.
- Dirty Pipe — CVE-2022-0847. Pipe-buffer corruption, page-cache modification and privilege escalation. A data-only logic bug that was weaponized against Android arm64 devices in the wild — the perfect bridge from desktop Linux to mobile.
- Bad Binder — CVE-2019-2215. A use-after-free in Android’s Binder IPC driver. Object-lifetime errors, SLUB reclamation and heap grooming converted into a kernel read/write primitive. One of the most consequential Android LPEs ever shipped.
- Unix-socket GC UAF — CVE-2021-0920. A use-after-free in the
SCM_RIGHTSfile-descriptor garbage collector, reached through anMSG_PEEKrace. Subtle object-lifetime reasoning, SLUB spraying, controlled replacement objects anduserfaultfd-assisted stabilization — another in-the-wild Android chain.
Each case study is developed from vulnerability analysis to a working root shell.
Capstone — defeating Pointer Authentication
We rebuild the lab kernel with Pointer Authentication enabled and watch a control-flow hijack that worked a moment ago fail under signed pointers.
Then we defeat it: first by pivoting to data-only chains that never touch an authenticated pointer — credential and modprobe_path overwrite — then by forging signed pointers, leaking the PAC keys through the kernel read primitive to compute valid signatures offline and reusing an in-kernel signing gadget.
From primitive to root
Finding a vulnerability is only the beginning. You will learn to convert limited corruption, disclosure and object-lifetime primitives into complete exploitation chains that stay reliable under modern kernel protections:
SLUB use-after-free reclaim · pipe buffer abuse · userfaultfd-assisted races · credential overwrite · modprobe_path overwrite · PAC key leak and pointer forging
Your exploitation laboratory
You will work with reproducible, pinned aarch64 kernels configured specifically for exploitation research. The lab lets you:
- Enable and disable individual mitigations.
- Inspect kernel crashes and allocator behaviour.
- Trace object allocation, freeing and reclamation.
- Develop and debug exploits safely.
- Repeat each chain until exploitation is reliable.
Mitigations are pinned to a known baseline, so every chain is deterministic and reproducible while you learn it. For the capstone, Pointer Authentication is switched on — you watch it break a working exploit, then defeat it.
Prerequisites
- Basic C programming skills.
- Basic AArch64 (ARM64) assembly knowledge.
- Familiarity with pointers, structures and memory management.
- Basic Linux kernel and operating-system fundamentals.
Previous kernel exploitation experience is not required. Bring curiosity. Leave with a root shell.
Certification path
Linux Kernel Exploitation Series ARM64 is the first of three practical masterclasses. Complete all three to earn your Linux Kernel Exploitation Certification.





