Rust in Linux Kernel: From Experiment to Permanence

Marking a historic shift after the 2025 Kernel Maintainer Summit's approval—detailed in our prior coverage on benchmarks and challenges—Rust is now a permanent fixture in the Linux kernel, with deep roots tracing back to 2019 and ambitious plans ahead.

Discussions on Rust for the kernel ignited in 2019 at the Linux Security Summit, where maintainers noted two-thirds of vulnerabilities arose from memory safety flaws. Rust's features—no undefined behavior in safe code, strict types, and safe/unsafe boundaries—offered a compelling fix.

Momentum built in August 2020 via a Linux Plumbers Conference talk by developers like Miguel Ojeda. Google funded Ojeda full-time in 2021 through the Prossimo initiative. An April 2021 RFC clarified Rust's role: targeting drivers and leaf modules atop the C core, avoiding major rewrites.

At the Tokyo summit, the 'Rust experiment' label was dropped from docs. Ojeda posted on the kernel list: “the experiment is done, i.e. Rust is here to stay.” Not all configs, arches, or toolchains are ready, and work continues on gccrs for GCC kernel builds, with updates expected soon.

Proof points abound: Greg Kroah-Hartman praises Rust drivers' safety and low issues. Android 16 on kernel 6.12 uses a Rust allocator across millions of devices. DRM's Dave Airlie eyes Rust mandates for new drivers in a year.

Looking ahead, kernels will build with Rust from Debian stable, with hard requirements in APT by May 2026. Hurdles remain for arches like s390 and formal specs. This cements Rust's enterprise momentum, countering 2024 survey concerns on adoption.

관련 기사

Linux kernel maintainer Greg Kroah-Hartman presented a new Rust type at RustWeek 2026 that could prevent most security vulnerabilities. The approach focuses on handling untrusted data from userspace and hardware. It builds on existing Rust safety features already in the kernel.

AI에 의해 보고됨

Developers have released Linux kernel 7.0, featuring improvements for Intel and AMD hardware, enhanced storage handling, and the removal of the experimental label from Rust support. Linus Torvalds announced the update, which is not a long-term support version. The release includes preparations for upcoming CPUs and GPUs, alongside self-healing filesystem capabilities.

이 웹사이트는 쿠키를 사용합니다

사이트를 개선하기 위해 분석을 위한 쿠키를 사용합니다. 자세한 내용은 개인정보 보호 정책을 읽으세요.
거부