~/talk

Control Flow Integrity in the Linux Kernel

slides:none on file

Control Flow Integrity is implemented in the kernel by using clang LTO to generate per-prototype jump tables that validate indirect calls (assembly uses an address subtract + rotate index check into the table), with a software shadow call stack for returns; ThinLTO reduces the huge link-time slowdowns (full LTO added minutes to hours). Pixel 3+ kernels ship forward and backward CFI, LKDTM triggers panics unless CFI permissive is set, and out‑of‑tree modules must be built with the same CFI-enabled toolchain.

AI-written summary · about

  1. 0:00Introduction
  2. 0:58Agenda
  3. 1:31Why Care About CFI?
  4. 4:25Control Flow Attacks
  5. 8:18CFI Mechanisms
  6. 10:34Clang CFI Implementation
  7. 14:07Alternative Implementations
  8. 17:02Backward Edge Protection
  9. 20:37Android Implementation
  10. 21:43Upstreaming Challenges
  11. 25:24Upstreaming Status
  12. 29:10How to Use CFI
  13. 32:36Q&A Session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.