In Pursuit of Lean OS Kernels: Improving Configuration-Based Debloating

Akshith Gunasekaran, Gabriel Ritter, Rakesh B. Bobba2025

Abstract

Modern OS kernels are bloated to support diverse hardware and features, yet most deployments use only a small subset. This paper advances configuration-based kernel debloating to reduce attack surface and code size in systems with known workloads. We present Tracie,a trace-based specialization tool that improves precision through better workload attribution and trace-to-config mapping, achieving a 21.67% reduction—outperforming prior work by 8%—and removing 1 additional CVEs. We also introduce Dice, a novel trace-free, dependency-aware debloating approach that iteratively prunes the configuration graph, achieving 35.59% reduction and eliminating 10 more CVEs. Finally, we empirically analyze the Linux kconfig system and show that structural limitations—such as coarse granularity and rigid dependencies—constrain the effectiveness of configuration-based debloating.
BibTeX
@misc{gunasekaran2025pursuit,
  author = {Akshith Gunasekaran and Gabriel Ritter and Rakesh B. Bobba},
  title = {{In Pursuit of Lean OS Kernels: Improving Configuration-Based Debloating}},
  year = {2025},
  doi = {10.1109/acsac67867.2025.00027},
}

Loading related content...

Figure