~/talk

MPK/PKS Linux Kernel Compartmentalization

links:none on file
slides:none on file

Prototype uses Intel PKS to flip protection via two MSR writes on entry/exit, turning most kernel pages inaccessible and leaving a minimal eBPF isolation set (stack, maps, helpers). Hardware uses 4 PTE bits (max 16 keys) and 32-bit MSR controls; switching is cheap and a tracer benchmark shows ~1% overhead. Also implements a drop-in ASI replacement (no CR3 switch). Limitations: cannot revoke execute permission, limited key count, some helpers require temporary disable.

AI-written summary · about

  1. 0:00Intro
  2. 1:04Why compartmentalize?
  3. 2:35Transient execution attacks Spectre & friends
  4. 9:00Memory Protection Keys: PKU/PKS
  5. 10:27PKS in-depth
  6. 20:38Challenges
  7. 23:30PKS eBPF isolation
  8. 28:21eBPF mitigations
  9. 38:15ASI: Address Space Isolation
  10. 42:06Conclusion
~/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.