~/talk

Linux User Namespaces: A Blessing and a Curse

slides:none on file

Explains how unprivileged user namespaces let an unprivileged account map to root inside a namespace (useful for rootless containers) but also expose kernel privilege-path bugs that became exploitable—one reproduced a kernel crash that took down a Kubernetes cluster and became CVEs. Describes practical mitigations: kernel config/sysctls to disable, and a working policy built with BPF LSM that attaches a new security hook upstream (Linux ~6.2) implementing an allow list of services allowed to create namespaces; deployed policy is small and effective.

AI-written summary · about

  1. 0:00Introduction
  2. 1:26Linux namespaces and containers
  3. 2:32Mount namespaces in containers
  4. 7:09Network namespaces and veth pairs
  5. 11:02PID namespaces and isolation
  6. 13:53User namespaces and privilege mapping
  7. 16:02Unprivileged namespaces security
  8. 21:47Real-world unprivileged namespace apps
  9. 22:31Kernel bug escalation via namespaces
  10. 26:06Disabling vs securing namespaces
  11. 28:12BPF LSM policy enforcement
  12. 33:10BPF LSM policy for namespaces
  13. 35:40Summary
~/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.