# Incremental Path Towards a Safe OS Kernel

* Recent progress towards kernel safety&#x20;
  * ![](/files/G7eEBPletbpMUPR7xmks)
* How can we make incremental progress towards a safer Linux?&#x20;
* Linux vulnerabilities&#x20;
  * Increasing number of vulnerabilities each year
  * Each stable components contain many latent bugs&#x20;
* Steps towards a safer OS kernel
  * Approach: incremental benefit for incremental work, improve safety on a **module by module basis**&#x20;
    * Modulization&#x20;
      * Enable incremental development and replacement of kernel modules&#x20;
      * Necessary
        * Define abstract, implementation-independent interfaces
        * Develop tools to identify interfaces and automate the process&#x20;
        * Anticipate and mitigate potential performance costs&#x20;
    * Type safety
      * Redesign interfaces to eliminate type errors and unsafe casting&#x20;
    * Ownership safety
      * Prevent memory errors and data races without compromising performance&#x20;
    * Functional correctness&#x20;
      * Remove semantic bugs through module-by-module specifications and proofs&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sliu583.gitbook.io/blog/specific-work/seminar-and-talk/fall-21-reading-list/incremental-path-towards-a-safe-os-kernel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
