~/talk

Upstream Kernel Hardening: Recent Progress and Challenges

Talkat Open Source Summit Korea 2026 · on Tuesday, 2026-08-11· at 11:00· Orchid 1· [security, rust]
links:none on file
slides:none on file

Linux upstream hardening is shrinking long‑standing C hazards by combining source transformations, compiler changes and new helpers: enabling the -fflex-array-not-at-end option cuts flex‑array warnings from ~60,000 to about 100 (≈85% fixed), a new trailing overlap macro documents intentional mid‑structure overlaps, and ~500 counted_by attribute annotations add runtime bounds checks; added counted_by_ptr, game_alloc helpers, partial type‑based slab support, KMALLOC_FLEX, GCC/Clang patches and ARM64 randomized syscall stack work; the last issues need compiler changes or wire‑format‑preserving edits and broad maintainer buy‑in.

AI-written summary · about

  1. 0:00Linux kernel hardening intro
  2. 1:04Kernel hardening goals
  3. 3:17Flex array member compiler option
  4. 10:47Counted by annotations
  5. 12:54Type-based slab allocations
  6. 15:45Deprecation of string functions
  7. 16:28Fortify source and object size
  8. 21:32Abstract flex arrays ambiguity
  9. 25:49Randomized stack offset ARM64
  10. 26:32Kernel self-protection layers
  11. 29:05Enabling compiler options challenges
  12. 31:13Future work and extensions
  13. 33:22Takeaways and closing
~/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.