~/talk

Rex: Safe and Usable Kernel Extensions in Rust

Talkat Open Source Summit North America 2025 · 2025-06-23..06-25· [rust]
links:none on file
slides:none on file

Rex is a Linux kernel-extension framework that lets extensions be written in safe Rust only and eliminates the in-kernel verifier by emitting native code from a trusted Rust compiler plus a small kernel runtime. The compiler restricts code to a no-ref subset and enforces RAII wrappers for kernel resources; the runtime provides graceful panic handling with resource cleanup, per-CPU recorded helpers, runtime stack checks and a high-resolution timeout for safe termination. Supports kprobes/tracepoints/XDP/TC, reuses BPF maps, cuts LOC (300 vs 500) and matches or slightly outperforms eBPF.

AI-written summary · about

  1. 0:00Rex framework intro
  2. 1:04BPF safety limits
  3. 6:01Rust verifier gap
  4. 7:47Compile-time safety in Rex
  5. 14:35Runtime safety in Rex
  6. 18:50Stack protection in Rex
  7. 21:43Rex implementation
  8. 23:50Rex usability and performance
  9. 27:00Conclusion and open source
  10. 27:42Live demo: error injection
  11. 33:38Q&A on trust and verifiers
~/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.