~/talk

Finer-grained kernel control flow integrity and challenges

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

Kernel RFCs add riscv hardware-assisted forward CFI using a 20-bit label in LPAD matched against a caller-set X7 register and finer-grained KCFI-like hashing via a label-scheme=function-signature toolchain; backward CFI piggybacks on the hardware shadow stack using CSR SSP but hits vmalloc direct-map/TLB shootdown pain that slows fork. Patches propose a kernel CFI config, runtime-disable for UEFI/modules, tracing/eBPF handling, and a preallocated shadow-stack pool (example: 84 MB for 10,000 stacks) to avoid frequent shootdowns.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:44Forward CFI overview
  3. 4:51Backward CFI and shadow stack
  4. 5:56RISC-V kernel CFI
  5. 8:10Hardware-assisted shadow stack
  6. 9:58Open challenges and solutions
  7. 15:53EFI runtime and CFI compatibility
  8. 16:55Shadow stack allocation issues
  9. 23:10Q&A discussion
~/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.