HotBPF - An On-demand and On-the-fly Memory Protection for the Linux Ker... Yueqi Chen & Zhenpeng Li
Analyzes hotBPF - An On-demand and On-the-fly Memory Protection for the Linux Ker... Yueqi Chen & Zhenpeng Li and evaluates key implications for security practitioners.
Summary
Motivation and threat window
Yueqi Chen and Zhenpeng Li present HotBPF, on-demand kernel memory protection for slab-allocated objects without recompiling or rebooting. They highlight the roughly 66-day average gap between vulnerability discovery and patch deployment when attackers can freely develop exploits.
Slab exploitation model
Use-after-free and out-of-bounds writes on slab objects let attackers corrupt adjacent victims and hijack function pointers. HotBPF isolates vulnerable objects in the non-overlapping vmalloc region so associated corruption cannot reach victims in direct-map slab memory.
Design and implementation
Challenges include pinpointing specific vulnerable structs among thousands of types without over-separating. A userspace agent parses fuzzer or static-analysis bug reports and stack traces, maps allocation sites via debug info, and loads eBPF hooks to divert vulnerable-object allocations dynamically at runtime.
Related talks
The Linux Foundation·43 min
Zicheng Wang · Yueqi Chen
Examines hotBPF++: A More Powerful Memory Protection for the Linux Kernel and evaluates key implications for security practitioners.
The Linux Foundation·35 min
Andrew Boie · Intel Corporation
Reviews zephyr OS Memory Protection and evaluates key implications for security practitioners.
Main Stage·39 min
Neil Sikka
Neil Sikka explores emet 4 0 pki mitigation at DEF CON 21, examining exploit-mitigation and practical defenses.


