~/talk

Breaking and Fixing the Kernel: Crashes, Debugging & Performance Tun...

links:none on file
links:none on file
slides:none on file

Covers four concrete kernel crash classes—null pointer dereference, stack overflow, use after free and divide by zero—reproduced on Azure Linux VMs and diagnosed with gdb and KASAN traces from dmesg and kernel crash reports. Shows a stack overflow module and a use after free module that KASAN flags, demonstrates live backtraces with gdb, and quantifies a real-world cost: enabling the SRSO mitigation in newer kernels causes about a 12% performance drop versus 5.15. Explains srso_untrained_return_alias/srso_safe_return_alias and the security versus performance tradeoffs of disabling mitigations.

AI-written summary · about

  1. 0:00Kernel crashes and debugging
  2. 1:09Three stages of kernel breakage
  3. 2:35Stack overflow debugging
  4. 6:07KASAN for memory errors
  5. 8:14Runtime debugging with GDB
  6. 9:41Use-after-free debugging
  7. 12:53Null pointer dereference impact
  8. 15:19Divide-by-zero errors
  9. 17:28Kernel crash prevention
  10. 19:13Kernel command line and performance
  11. 23:01Kernel mitigations explained
  12. 24:03Speculative execution flaws
  13. 26:13Mitigating SRSO with RSB
  14. 30:08Performance impact of mitigations
  15. 31:34Q&A
~/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.