~/talk

Welcome & Opening Remarks & Meaningful Bounds Checking in the Linux Kernel

slides:none on file

Analyzes three years of kernel CVEs and finds 25 heap buffer overflows with 11 memcpy overflows that the compiler could have detected; instruments an allmodconfig build and sees ~35,000 memcpy calls (22,000 unknown size, ~12,000 fully known, ~1,200 dynamic copy-size cases) and ~200–300 intentional cross-member copies to fix. Implements helpers like struct_group and bounded-flex-array/memdup-style APIs, uses -Warray-bounds, -fsanitize=bounds, __builtin_object_size and a temporary unsafe_memcpy, and progressively enables compile- and runtime checks toward a 5.20 kernel roll-out.

AI-written summary · about

  1. 0:00Start
  2. 10:44Array Index Overflow Case
  3. 12:5011 Memcapi Buffer Overflow Flaws
  4. 21:35Intentional Cross Member Mem Copy Overflows
  5. 26:37Background on Flexible Arrays
  6. 26:48Flexible Array Structure
  7. 27:51Flexible Arrays
  8. 39:17Bounded Flex Array Helper
  9. 44:04Failure Cases
~/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.