~/talk

Does Making the Kernel Harder Make Making the Kernel Harder?

Talkat Linux Security Summit Europe 2018 · on Thursday, 2018-10-25· at 15:10· Moorfoot· [security]
slides:none on file

Argument that kernel hardening measurably raises exploitation cost by changing real code: adoption of refcount_t prevents classic refcount bugs and touches about 180 files with ~500 instances, removing variable length arrays eliminates a common memory-layout hazard and sometimes speeds code, while harden_user_copy and added checks impose real runtime cost (one network benchmark shows a transient 2% hit that was later mitigated). Discussion covers tools like checkpatch, compiler warnings and the tradeoffs between developer ergonomics, churn and security value.

AI-written summary · about

  1. 0:00Start
  2. 2:04Old as the C compiler
  3. 4:11Clever and precise
  4. 8:06String functions
  5. 9:15Automatic arrays
  6. 10:11Casts
  7. 12:31Convenient for mucking up
  8. 13:26Harder to get the wrong stack data
  9. 13:45Erase what's no longer needed
  10. 13:57A random thought
  11. 14:12Attackers and developers hate randomization
  12. 15:19Structures
  13. 16:47Stack pages are just pages
  14. 20:05Vulnerability is quantum
  15. 21:08Code Churn
  16. 21:41Runtime overhead
  17. 22:39Developer experience
~/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.