The kernel runs user-supplied programs: eBPF (checked by the verifier, then JIT-compiled), classic BPF for seccomp, and sometimes custom interpreters. A verifier that misjudges a register's range gives you out-of-bounds map or stack access; a JIT that emits your constants gives you executable bytes you control, even under SMEP/SMAP or CFI.
What you will learn
- eBPF basics: maps, helpers, the verifier's register state and range tracking
- From a verifier range bug to OOB map access to AAR/AAW
- JIT spraying: hiding instructions in immediates, finding JIT pages
- Using JIT code as a CFI-valid target
- Reversing and abusing custom in-kernel bytecode VMs
Prerequisites
Modules 02-03. Basic assembly and comfort reading kernel source.
References
Challenges
30-Day Scoreboard:
This scoreboard reflects solves for challenges in this module after the module launched in this dojo.
| Rank | Hacker | Badges | Score |