~/talk

Dealing with Uninitialized Memory in the Kernel

Talkat Linux Security Summit Europe 2019 · on Thursday, 2019-10-31· at 10:55· Forum 1· [security, linux-and-operating-systems]
links:none on file
slides:none on file

KMSAN, a compiler-instrumentation detector integrated with fuzzing, finds lots of real kernel bugs: KMSAN (compiler-based detector) reports about found ~240 bugs, ~200 real, 119 fixed over two years while covering ~12% of x86 kernel code. Linux 5.3 adds heap and stack init options init_on_alloc and init_on_free to eliminate classes of info leaks and use‑after‑free exploits, with clang/GCC plugin work, mitigation tradeoffs measured (performance, cache lines) and hope for hardware-assisted MTE tagging to make initialization cheap and reliable.

AI-written summary · about

  1. 0:00Start
  2. 1:19Kernel Memory Centers
  3. 7:08What Shall We Do To Never Have To Deal with an Initialized Memory Again
  4. 17:21The Increase in Stack Frame Size for Functions
  5. 19:19Is It Possible To Turn Memory Sanitizer into Runtime Mitigation Not Just Debugging Technique
  6. 20:54Why some Bugs Are Fixed Earlier than Others
  7. 22:05Code Coverage
~/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.