~/talk

SLUB Internals for Exploit Developers

Talkat Linux Security Summit Europe 2024 · on Monday, 2024-09-16· at 14:50· Hall L3· [linux-and-operating-systems, security]
links:none on file
slides:none on file

Explains concrete SLUB internals needed to turn slab bugs into exploits: allocation tiers (lockless active slab, pcpu partials, per‑node, new slab), freelist layout and freelist hashed placement in the middle of slots, and limits like op_per_slab and per‑CPU partial counts on kernel 6.6. Shows practical shaping tactics—fill holes via repeated kmalloc/kfree, slab spraying, the “make‑holes” sequence—and tools (/proc/slabinfo, shrink, timing side‑channels, set_affinity). Notes real constraints: preemption, migration, and mitigations make success high (near 99.9%) but not guaranteed.

AI-written summary · about

  1. 0:00SLUB allocator intro
  2. 10:53SLABs and SLUB management
  3. 20:00SLUB internal structures
  4. 34:34Core SLUB concepts
  5. 48:08Memory shaping for OOB
  6. 55:49Use-after-free exploits
  7. 1:03:52Advanced memory shaping
  8. 1:19:49Double-free and mitigations
  9. 1:25:10Q&A
~/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.