~/talk

BPF Signing and IMA integration

Talkat Linux Plumbers Conference 2022 · 2022-09-12..09-14· [security]
name:KP Singh
links:none on file
slides:none on file

Proposal signs BPF by embedding a signature into the loader/skeleton artifact (instruction buffer plus relocations) and verifies it at the BPF prog_alloc LSM hook, supporting either IMA policy format or custom maps, with a reference implementation using PKCS7 and bpf2/bpf-tool integration. Stable instruction buffer comes from light skeletons that record loader syscalls; verification runs in-kernel before relocations, tests run under config MODSIGN and exercise the self-test, and a few issues remain around dynamic pointers and API exposure.

AI-written summary · about

  1. 0:00Introduction and goals
  2. 2:09Why sign BPF programs
  3. 6:50IMA and BPF integration challenges
  4. 10:01Light skeletons and stable buffers
  5. 14:33Implementation details and verification
  6. 19:19Trusted code generator use case
  7. 23:53Q&A and wrap-up
~/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.