~/talk

Linux user namespaces: a blessing and a curse

Talkat Incontro DevOps Italia 2025 · on Friday, 2025-03-14· [security, kubernetes]
slides:none on file

Explains that unprivileged Linux user namespaces let unprivileged processes map to root and sandbox apps (rootless containers, Chrome tab sandboxes, systemd core processing) but also make ordinary kernel bugs into CVEs: a Cloudflare reproducer crashes kernels when run inside a user+net namespace so one ping crash escalates privilege. Builds a working policy using BPF LSM to deny namespace creation by untrusted binaries while allowing trusted ones, demonstrates the reproducer, shows mount/net/pid examples and that the BPF policy actually blocks the exploit.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Containers with namespaces
  3. 5:45Mount namespaces
  4. 6:49Network namespaces
  5. 9:14Process namespaces
  6. 11:46User namespaces
  7. 15:41Unprivileged user namespaces
  8. 18:11Security warnings
  9. 23:50LSM policies
  10. 27:45BPF LSM
  11. 29:52Sandboxing risks
  12. 30:36Q&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.