All of lore.kernel.org
 help / color / mirror / Atom feed
* [TECH TOPIC] Improving kernel security & integrity by generalizing ad-hoc safety mechanisms
@ 2026-09-07 16:53 igor.stoppa
  2026-09-07 19:46 ` Greg KH
  0 siblings, 1 reply; 35+ messages in thread
From: igor.stoppa @ 2026-09-07 16:53 UTC (permalink / raw)
  To: ksummit; +Cc: istoppa

TL;DR: We (NVIDIA) want to explore the possibility of upstreaming
mechanisms currently reserved for a safety-oriented fork of the
kernel.
Should there be a consensus that they can be valuable, we can plan for
the work required for upstreaming, but first we would like to discuss
the content, the expectations, and what it would entail to reach a
mergeable status.

--------------------------

The long pitch:

Intro

In the field of Functional Safety, there is a strong demand for use of
the Linux kernel as base operating system for safety applications.

Examples:
Assisted/Autonomous driving, industrial/humanoid robots, medical
equipment, aerospace.

Linux, though, was not designed for safety, and it cannot be used as-is.

While there are attempts at claiming safety compliance through
process, these are insufficient for advanced safety applications.

The reason why said claims are insufficient is that on one hand the
vanilla kernel would not survive negative testing (e.g. fault
injection) and on the other hand a process-based approach would
require demonstrable absence of safety-compromising bugs.

Which is more or less in the same ballpark as proving absence of bugs
across the entire code base. Not very realistic.

At NVIDIA we are developing kernel extensions that support Linux-based
safety through actual hardening mechanisms that can withstand that
sort of validation based on simulation of faults.

--------------------------

References

Some of the problems addressed:

Linux Virtual Address Space Safety
https://youtu.be/pe9OVjWdF-w

Identifying Safety Weaknesses and Fault Propagation in the Linux Kernel
[https://www.youtube.com/watch?v=gW0W9YPnsjI]


What we are working on:

NVIDIA Linux for Safety – A System-Level View
https://www.youtube.com/watch?v=9GPQVu7KDTw

NVIDIA Approach for Achieving ASIL B Qualified Linux
[https://www.youtube.com/watch?v=ueIPuhcyAUo]

--------------------------

Opportunity

While Safety was the primary goal for this exercise, it has become
apparent that the very same mechanisms could be employed, with
different policies, also for more traditional purposes, like integrity
and security. This is something that could benefit a broader number of
users than we had initially anticipated.

--------------------------

Question/Topic for discussion

Would the upstream community be interested in this sort of hardening?

We would like to understand if there could be a mutual interest.

Safety extensions were initially thought to be a standalone fork, due
to the low interest that they would probably command.

However, if there is an interest due to the adjacent applications,
like integrity and safety, a path to upstreaming can be considered.

We also want to explain the criteria we need to meet, in order to
retain compliance with safety standards (it's not as boring as it
might sound).

 --------------------------

Desired outcome from the discussion

The feature-set is not small; there is a significant number of changes involved.

It is expected that any attempt at upstreaming will require
significant - probably multi-year - effort, both for working on the
patches and for reviewing them.

Before embarking in such an endeavour, we believe it would be
beneficial to everyone to assess what these features can bring to
Linux, if they are seen as useful, and what implementing them would
imply.


--
thanks,
igor stoppa

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2026-09-10 10:11 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-07 16:53 [TECH TOPIC] Improving kernel security & integrity by generalizing ad-hoc safety mechanisms igor.stoppa
2026-09-07 19:46 ` Greg KH
2026-09-07 21:42   ` igor.stoppa
2026-09-08  3:51     ` Theodore Tso
2026-09-08 10:14       ` igor.stoppa
2026-09-08 13:55         ` Theodore Tso
2026-09-08 14:32           ` igor.stoppa
2026-09-08 19:29             ` Steven Rostedt
2026-09-08 21:13               ` igor.stoppa
2026-09-08 23:14                 ` Steven Rostedt
2026-09-08 23:48                   ` igor.stoppa
2026-09-09  7:44                     ` Gabriele Monaco
2026-09-09  9:40                       ` igor.stoppa
2026-09-09 15:22                         ` Gabriele Monaco
2026-09-09 16:07                           ` igor.stoppa
2026-09-09 16:14                             ` Steven Rostedt
2026-09-09 16:24                               ` igor.stoppa
2026-09-09 16:32                                 ` Steven Rostedt
2026-09-10 10:10                             ` Gabriele Monaco
2026-09-08  5:05     ` Greg KH
2026-09-08 11:26       ` igor.stoppa
2026-09-08 11:54         ` Greg KH
2026-09-08 12:25           ` igor.stoppa
2026-09-08 12:39             ` Greg KH
2026-09-08 12:52               ` igor.stoppa
2026-09-08 13:11             ` Miguel Ojeda
2026-09-08 13:52               ` igor.stoppa
2026-09-08 14:44                 ` Theodore Tso
2026-09-08 15:32                   ` igor.stoppa
2026-09-08 12:41         ` James Bottomley
2026-09-08 13:03           ` igor.stoppa
2026-09-08 15:40             ` Steven Rostedt
2026-09-08 16:09               ` igor.stoppa
2026-09-08 17:35                 ` Steven Rostedt
2026-09-09  1:31                   ` Theodore Tso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.