Who Watches the Watcher? Hardening eBPF in Production Security Deployments
summary
eBPF-based security stacks rely on the kernel verifier but the verifier has had real CVEs (CVE 2023, CVSS 10) and ongoing copy failures, and CAP_BPF plus distro defaults expose near-root privileges. Concrete issues: fixed buffer overflow from a 4096-byte PID buffer that crashed on >1024 PIDs, map-change data leaks that bypass Tetragon/Falco/DataDog, and past rootkits like BPFDoor and Symbiote that use the same probes as defenders. Defenses that work now: BPF tokens scoping, LSM hooks on BPF loads, and reducing privileged capabilities.
AI-written summary · about
