~/talk

Mitigating Integer Overflow in C

Talkat Linux Security Summit North America 2024 · on Thursday, 2024-04-18· at 11:10· Terrace Suite 1+2· [c-and-cpp, security]
slides:none on file

Kernel work shows hundreds of CVEs tied to integer overflow over the last decade and pushes concrete fixes: extend sanitizers to detect overflows regardless of resolution, teach compilers to recognize common idioms, and add a wraps typedef attribute so types like u32_wp mean intentional wrap. Builds use -fno-strict-overflow, Coccinelle edits and check_add_overflow, clang 19 lands a sanitizer fix, Linux 6.9–6.11 schedule enables testing and incremental rollout.

AI-written summary · about

  1. 0:00The problem of overflows
  2. 1:41Understanding C overflows
  3. 7:18Available sanitizers
  4. 8:21Sanitizer limitations
  5. 8:58Refining sanitization
  6. 9:15Fixing sanitization logic
  7. 13:08Refactoring strategies
  8. 14:09Automated patching
  9. 14:27Introducing wrapping types
  10. 17:51Loop and constant issues
  11. 18:36Catching real-world flaws
  12. 21:32Implicit truncation issues
  13. 22:05Advanced sanitization
  14. 22:41Kernel development roadmap
  15. 23:40Future implementation plans
  16. 31:46Handling implicit conversions
  17. 33:58Exception handling in C
  18. 34:09Fuzzing and trap context
~/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.