~/talk

Safe Solana Stack Smashing by OtterSec

Talkat Breakpoint 2024 · 2024-09-20..09-21· [security]
links:none on file
slides:none on file

Shows a Solana compiler bug that lets safe Rust code corrupt a caller’s stack: allocating a buffer sized 0xa0001 in the callee overwrites a 4‑byte is_admin in the caller while 0xa000 does not, because the rbpf frame increment is 0xa000 and the compiler emits a warning (not an error). Reproducers include assembly listings, and short fixes are available — disable direct mapping to enable stack‑frame gaps; patched in anza v2.0.

AI-written summary · about

~/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.