~/talk

Advancing Kernel Control Flow Integrity with eBPF

Talkat Linux Plumbers Conference 2023 · 2023-11-13..11-15· [security]
links:none on file
slides:none on file

Proposes an eBPF-based kCFI implementation that rewrites indirect-call no-ops into a trampoline which saves registers, packs caller/callee into the BPF context, and invokes synchronous eBPF policy programs; control-flow graph lives in eBPF maps and policy returns decide allow/kill. Prototype EKCFI trampoline matches LLVM-kCFI coverage, shows similar microbenchmark cost but is up to 3x slower on some lmbench tests; kprobe earlier incurred 26x kprobe overhead, fprobe cannot attach to ~10k of 59k functions and thus lacks coverage. Instrumenting every instruction can cost up to ~75% overhead.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:49Control Flow Integrity basics
  3. 3:16Limitations of static kernel CFI
  4. 4:43Why eBPF for kernel CFI
  5. 6:11Threat model and scope
  6. 7:39Kprobe overhead issues
  7. 9:26Fprobe approach and limits
  8. 13:45Comparison of kprobe and fprobe
  9. 14:28Need for new eBPF hooking
  10. 15:12EKCFI framework overview
  11. 17:43EKCFI performance evaluation
  12. 19:57Instrumentation overhead analysis
  13. 20:41Limitations of eBPF-based CFI
  14. 21:44Conclusion and future work
  15. 22:27Q&A session begins
~/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.