~/talk

Overflowing with Fear: Detecting and Mitigating Implicit Panics in Rust

Talkat Linux Plumbers Conference 2025 · 2025-12-11..12-13· [rust, security]
links:none on file
slides:none on file

Rust integer overflow and slice indexing generate implicit panics inserted by the compiler with no warning, creating blind spots for kernel code that handles untrusted inputs. Proposed mitigations include a Clippy lint requiring comments on risky operations, post-optimization analysis by inspecting MIR/LLVM output or doing an assembly grep post-LLVM to find remaining panic calls, stronger typed/wrapped integer types and checked APIs, and a Kconfig option (enabled by default) to toggle overflow checks; several prototypes and CI checks exist but full automation is unfinished.

AI-written summary · about

  1. 0:00Introduction to implicit panics
  2. 1:08Examples of implicit panics
  3. 7:06Challenges with default panics
  4. 13:35Safety comments and linting
  5. 20:21Balancing panic requirements
  6. 27:03Community adoption of new rules
  7. 30:11Closing discussion
~/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.