seL4® is formally verified right now
At the base of KOS is the seL4® microkernel. This microkernel is stripped to its essential functions, managing memory, running processes, and handling communication between them, implemented in roughly 10,000 lines of code.
A conventional monolithic kernel like Linux runs tens of millions of lines of code in privileged mode. With seL4® 's much smaller footprint, there is a much smaller attack surface, before proof is even considered.
What makes seL4® different is that its implementation has a machine-checked mathematical proof that it behaves exactly according to a formal specification. In addition, seL4® has proofs that the specification itself provides the isolation properties, confidentiality and integrity, needed to build secure systems on top of it. Access to memory, threads, CPU time, and inter-process communication is governed by fine-grained, capability-based access control. The access-control behavior is also part of what's been proven.
The result is that whole categories of vulnerability, buffer overflows, memory corruption, privilege escalation, undefined behavior, are ruled out in the kernel by proof, not reduced in likelihood by testing. Whether or not a fuzzer or a red team could find such a flaw in the kernel is irrelevant because the whole category of flaw has been provably eliminated from the code.


