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.

Mga Kaugnay na Artikulo

Illustration of Linus Torvalds announcing Linux kernel 6.18 LTS release with Tux penguin, kernel code, and feature icons in a conference setting.
Larawang ginawa ng AI

Linux kernel 6.18 released as long-term support version

Iniulat ng AI Larawang ginawa ng AI

Linus Torvalds announced Linux kernel 6.18 on the last Sunday of November 2025, marking the final release of the year. The kernel has been officially designated as a long-term support version, with maintenance promised until December 2027. It includes various hardware improvements, file system enhancements, and new features like the Rust Binder driver.

Following the recent approval of Rust as a permanent kernel language at the 2025 Kernel Maintainers Summit, new details emerge on performance benchmarks, ongoing challenges, and distribution rollouts, solidifying its role in addressing security vulnerabilities.

Iniulat ng AI

Building on Rust's new permanent status in the Linux kernel—following its history from 2019 experiments to the Tokyo Maintainers Summit approval—production deployments like Android 16's Rust allocator are live, alongside advanced drivers and safety gains, though criticisms highlight ongoing hurdles.

The Linux kernel project has introduced a formal continuity plan to address leadership transitions, particularly if creator Linus Torvalds steps away. Drafted by Dan Williams, the document outlines a swift process involving key community figures to ensure ongoing development. This move follows discussions at recent summits amid concerns over an aging maintainer base.

Iniulat ng AI

A new analysis of 20 years of Linux kernel development reveals that bugs often remain undetected for years, with an average lifespan of 2.1 years before discovery. The research, conducted by Pebblebed's Jenny Guanni Qu, highlights variations across kernel components and the prevalence of incomplete fixes. Some vulnerabilities persisted for over two decades.

After more than 34 years, the Linux kernel community has outlined a preliminary contingency plan to replace creator Linus Torvalds as its maintainer. The initiative, described as a 'plan for a plan,' follows discussions at the 2025 Maintainers Summit amid concerns over an aging core group of contributors. It aims to ensure smooth transitions for the project's leadership.

Iniulat ng AI

The upcoming Linux kernel 6.19 introduces key improvements to the sched_ext framework for better eBPF scheduler recovery and integrates Microsoft C extensions for cleaner code compilation. These updates aim to enhance stability, performance, and developer efficiency in various computing environments. Contributions from companies like Google, Meta, and Microsoft highlight growing collaboration in open-source development.

 

 

 

Gumagamit ng cookies ang website na ito

Gumagamit kami ng cookies para sa analytics upang mapabuti ang aming site. Basahin ang aming patakaran sa privacy para sa higit pang impormasyon.
Tanggihan