Publication | Closed Access
Comprehensive formal verification of an OS microkernel
329
Citations
91
References
2014
Year
EngineeringHardware Verification LanguageVerificationComputer-aided VerificationSoftware AnalysisKernel DesignFormal VerificationHardware SecurityFormal TechniqueRuntime VerificationComprehensive Formal VerificationOperating System SecurityComputer EngineeringComputer ScienceSoftware VerificationOperating SystemsProgram AnalysisFormal MethodsSel4 MicrokernelSystem Software
The paper presents a comprehensive machine‑checked formal verification of the seL4 microkernel. The authors prove functional correctness of seL4’s C implementation and extend this to formally verified IPC fastpath, binary‑code correctness, access‑control enforcement, information‑flow noninterference, worst‑case execution‑time analysis, and an automatic initialiser linking kernel and user‑level reasoning. The results show that seL4 is the only general‑purpose OS kernel fully formally verified to this extent, the sole example of a formally proven system maintained over nearly a decade, and the authors share lessons from sustaining this evolving verified code base.
We present an in-depth coverage of the comprehensive machine-checked formal verification of seL4, a general-purpose operating system microkernel. We discuss the kernel design we used to make its verification tractable. We then describe the functional correctness proof of the kernel's C implementation and we cover further steps that transform this result into a comprehensive formal verification of the kernel: a formally verified IPC fastpath, a proof that the binary code of the kernel correctly implements the C semantics, a proof of correct access-control enforcement, a proof of information-flow noninterference, a sound worst-case execution time analysis of the binary, and an automatic initialiser for user-level systems that connects kernel-level access-control enforcement with reasoning about system behaviour. We summarise these results and show how they integrate to form a coherent overall analysis, backed by machine-checked, end-to-end theorems. The seL4 microkernel is currently not just the only general-purpose operating system kernel that is fully formally verified to this degree. It is also the only example of formal proof of this scale that is kept current as the requirements, design and implementation of the system evolve over almost a decade. We report on our experience in maintaining this evolving formally verified code base.
| Year | Citations | |
|---|---|---|
Page 1
Page 1