~/talk

Exciting new compiler flags for kernel security

slides:none on file

Describes two concrete toolchain paths: selective sanitization using -lower-allow-check-percentile-cutoff-hot plus -fsanitize-ignorelist that reuses FDO/PGO profiles to instrument UBSAN/bounds only on cold functions, claiming “large coverage for a small portion of the cost”; and clang’s allocation-token plumbing (info_alloc_token / alloc-partition RFC) that computes a type-hash (pointer-split, 16 buckets default) to isolate slab caches. clang22 implements the builtin, kernel RFC proposes typed kmalloc caches, but full protection requires a complementary slab-vto/cross-cache mitigation before deployment.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Selective sanitization concept
  3. 4:56Heap isolation overview
  4. 7:47Allocation token mechanism
  5. 11:00Kernel implementation details
  6. 13:09Slab virtualization need
  7. 14:13Q&A on selective sanitization
  8. 16:26Q&A on profiling data
~/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.