Revealing the Unstable Foundations of eBPF-Based Kernel Extensions
eBPF programs significantly enhance kernel capabilities, but encounter substantial compatibility challenges due to their deep integration with unstable kernel internals. We introduce DepSurf, a tool that identifies dependency mismatches between eBPF programs and kernel images. Our analysis of 25 kernel images spanning 8 years reveals that dependency mismatches are pervasive, stemming from kernel source code evolution, diverse configuration options, and intricate compilation processes. We apply DepSurf to 53 real-world eBPF programs, and find that 83% are impacted by dependency mismatches, underscoring the urgent need for systematic dependency analysis. By identifying these mismatches, DepSurf enables a more robust development and maintenance process for eBPF programs, enhancing their reliability across a wide range of kernels.
Authors
- Andrea C. Arpaci-Dusseau (ORCID: https://orcid.org/0000-0001-8618-2738)
- Remzi H. Arpaci-Dusseau (ORCID: https://orcid.org/0000-0001-9965-7704)
- Shawn Zhong
- Jing Liu (ORCID: https://orcid.org/0000-0003-2485-4038)
Institutions
- Microsoft (United States) (US)
- University of Wisconsin–Madison (US)
Publication Details
- Published
- 2025-03-26
- DOI
- https://doi.org/10.1145/3689031.3717497
- Citations
- 3
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 9.74