~/talk

Breaking and Protecting Linux Kernel Stack

slides:none on file

Kernel stacks move to vmalloc stacks with guard pages, remove thread_info and VLAs, and upstream the STACKLEAK cleanup, yet deterministic layout still enables stack-overflow and arbitrary read/write exploits. An introduced RANDOMIZE_KSTACK_OFFSET adds ~5 bits of entropy at syscall entry but requires fast randomness; microbenchmarks show getrandom-based seeding costs a few percent and some STACKLEAK-style defenses can cost tens of percent in pathological tests, so tradeoffs between mitigation strength and runtime overhead remain unresolved.

AI-written summary · about

  1. 0:00SECURITY
  2. 1:48Linux thread stack for x86_64
  3. 7:09Buffer overflows
  4. 8:13Stack Overflows
  5. 9:18Uninitialized Stack
  6. 13:09Stackjacking
  7. 18:09Inter-stack exploitation
  8. 21:25A more recent example
  9. 23:46Stack Clash
  10. 25:05Basic measures for x86_64
  11. 25:43VMAP-based stack
  12. 26:23Variable-Length Arrays removal
  13. 26:50STACKLEAK and stack initialization
  14. 27:31Gap analysis
  15. 30:11In-stack randomization: comparison
  16. 31:18CONFIG_RANDOMIZE_KSTACK_OFFSET
  17. 35:01Performance, performance, performance.....
  18. 38:23Discussion & Conclusions
  19. 39:14References
~/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.