~/talk

Guarded Control Stack on arm64: Challenges in Enabling Shadow Stack Support...

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

Adds Arm64 GCS support to CRIU by adapting x86 shadow‑stack work, using a FVP simulator and Fedora Rawhide with GCS patches for testing. Implements dump/restore logic that injects GCS token into sigframe via ptrace/poke and performs a temporary-to-original stack switch, hits kernel mismatches around expected tokens, and fixes parasite trampoline handling. Debugging moves from noisy printk to ftrace with kprobes, and proposes kernel improvements: controllable PRCTL stack size, mremap behavior clarifications, and optional tracepoints.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 1:57What is Guarded Control Stack
  3. 3:03Setting up the development environment
  4. 4:30Verifying GCS kernel patches
  5. 5:57Key kernel functions for GCS
  6. 7:30Challenges in dumping processes
  7. 8:56Restoring process and stack switching
  8. 10:00Debugging with F trace
  9. 12:31Upstream improvements needed
  10. 15:02Summary and acknowledgments
  11. 16:29Q&A session
~/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.