~/talk

Unmapped Private Memory for Confidential Guests

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

Proposes kernel-side infrastructure to back confidential guests with pages that user space cannot access, implemented as a private mem slot in KVM using a memfd back end; nested page faults consult that slot and KVM uses a new KVM exit memory fault (and a vmg exit) so the VMM allocates pages and issues ioctls to flip page state. Demonstrates working conversions, but highlights 2x memory growth risk, a ~3x slowdown for frequent flip patterns, direct‑map splitting, batching and race concerns.

AI-written summary · about

  1. 0:00Introduction to UPM
  2. 1:48Private memory slot structure
  3. 7:07Pros and cons of UPM
  4. 11:22Kernel direct map handling
  5. 13:50Page state change requests
  6. 15:34Host kernel thread access
  7. 17:21Q&A and discussion
  8. 19:50Encrypted disk approaches
  9. 24:08Grub-based decryption
  10. 25:15Initrd-based decryption
  11. 28:03TPM-based approaches
  12. 30:16Hardware TPM comparison
  13. 33:07Guest-side decryption layer
  14. 34:28Open questions and summary
~/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.