~/talk

Thwarting Unknown Bugs: Hardening Features in the Mainline Linux Kernel

links:none on file
slides:none on file

Kernel hardening reduces exploitability by adding concrete defenses now in mainline: debug_rodata and module RO mappings enforce page permissions (read/execute/data separation) with minimal runtime cost; stack protector and canaries stop many stack-overflows; KASAN finds use-after-free/out-of-bounds in testing and UBSAN catches undefined-behavior at runtime; user/kernel segregation via PAN/SMEP/SMAP prevents executing or reading user-controlled pages. Hundreds of long-lived kernel CVEs and average lifetimes over five years motivate enabling these options; some are slated to be mandatory on arm64 and x86.

AI-written summary · about

  1. 0:00Introduction
  2. 3:38What is hardening
  3. 6:04DebugRoData
  4. 9:31Stack Smashing Protection
  5. 13:10User Memory Segregation
  6. 18:55Kernel Address Sanitizer
~/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.