~/talk

Kernel Sanitizers Office Hours

Talkat Linux Plumbers Conference 2025 · 2025-12-11..12-13· [testing]
links:none on file
links:none on file
name:Dmitry V
links:none on file
name:Kees C
links:none on file
name:Marco E
links:none on file
slides:none on file

Overview of what each kernel sanitizer actually finds, how it’s used, and the real tradeoffs: KASAN hardware tag mode uses ARM MTE to cut runtime cost, while KFence runs sampled checks in production (used on Android) with very low overhead; KMSAN detects uses of uninitialized bits but currently requires Clang and heavy instrumentation; KCSAN finds data races but is extremely noisy (console flood and boot failure on some PowerPC systems) so it relies on KCSAN allowlist/ignorelist and debugfs toggles; UBSAN produced ~187 fixes over seven years and ~143 bounds fixes in five years.

AI-written summary · about

  1. 0:00Introduction to Kernel Sanitizers
  2. 1:51Address Sanitizer (KASAN) overview
  3. 2:35Kernel Electric Fence (KFENCE) explained
  4. 3:41Kernel Memory Sanitizer (KMSAN) details
  5. 4:24Kernel Concurrency Sanitizer (KCSAN) basics
  6. 5:49Undefined Behavior Sanitizer (UBSAN) features
  7. 9:03Undefined vs unintended behavior distinction
  8. 10:10Integer overflow sanitizer challenges
  9. 13:24Manual annotations for sanitizers
  10. 17:21KCSAN noise and configuration
  11. 20:33BPF and KCSAN compatibility
  12. 21:36Future sanitizer improvements
  13. 25:41Sanitizer instrumentation issues
  14. 28:53Compiler choice for sanitizers
  15. 30:38Tracking folio leaks and refcounts
  16. 32:25Inducing latency for race testing
  17. 36:22Virtualization in sanitizer testing
~/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.