The Linux Kernel Working On A Rust-Based Untrusted Data API
The Linux kernel is developing a Rust-based Untrusted Data API to enhance security for data received from user-space. This API aims to explicitly mark and validate untrusted data before it is utilized within the kernel. Open-source developer Benno Lossin is leading the initiative, which includes a new validate trait and functions for data validation.
- ▪The Untrusted Data API is designed to improve security by marking data from user-space as untrusted.
- ▪The API introduces a wrapper type for untrusted data that must be validated before use.
- ▪Benno Lossin is leading the development of this new API, which is currently being integrated into the Linux kernel.
Opening excerpt (first ~120 words) tap to expand
The Linux Kernel Working On A Rust-Based Untrusted Data API Written by Michael Larabel in Linux Kernel on 19 May 2026 at 04:00 AM EDT. Add A Comment One of the newest interfaces being worked on for the Rust programming language support within the Linux kernel is an Untrusted Data API for data received into the kernel from user-space. For further enhancing the security of the Linux kernel from Rust code, an Untrusted Data API has been in development for being able to explicitly mark data received from user-space or other external data. As such data should first be validated/sanitized before making use of it within the kernel to prevent any security issues or bugs, the new API introduces a new wrapper type for marking said data as untrusted.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Phoronix.