arrow
Return

Rust Meets Linux: Lessons from an Evolving Experiment

delete2026-05-01
delete0
PRE
AI
H
Hongyu Li
L
Liwei Guo
Y
Yang, Yexuan
S
Shangguang Wang
X
Xu, Mengwei *
DOI:10.1145/3789260delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Linux, developed over the past three decades, has become the cornerstone of modern computing, serving as the foundation for a wide array of applications ranging from large-scale supercomputers to resource-constrained embedded devices. However, this infrastructure has long been plagued by memory and concurrency bugs, primarily due to the permissive nature of memory operations in the C language. The Rust-for-Linux (RFL) project offers a promising solution to address these long-standing safety concerns by integrating Rust's advanced features, such as static ownership and type-checking, into the kernel. This integration could potentially eliminate memory and concurrency bugs while maintaining performance. Although RFL has matured and been merged into the Linux mainline, it remains understudied, and its effectiveness in balancing safety and performance is yet to be fully assessed. In this study, we present the first empirical analysis of RFL to evaluate its current state and benefits, focusing on how Rust integrates with Linux and whether this fusion ensures driver safety without significant overhead. We analyze eight RFL drivers, examining hundreds of issues and pull requests, thousands of GitHub commits, mail exchanges from the Linux mailing list, and over 12,000 discussions on Zulip. Our findings indicate that while Rust mitigates kernel vulnerabilities, it does not completely eliminate them. If not properly managed, Rust's safety features even introduce notable runtime overhead and increased development complexity.
Keywords:
Rust
linux
safety
performance
empirical study

Journal

A
ACM Transactions on Computer Systems
IF:
1.8
Papers:
26
Citations:
1.1K

Organization

B
beijing university of posts & telecommunications
Scholars:
1.4W
Papers: 1.2W
Citations: 9
U
university of electronic science & technology of china
Scholars:
3.2K
Papers: 970
Citations: 0
Cited Papers

Cited Papers

Snowboard
err2021-10-26
err0
errOAAI
errSishuai Gong; Deniz Altinbüken; Pedro Fonseca; Petros Maniatis
errShare
errSave
A Closer Look at the Security Risks in the Rust Ecosystem
err2023-12-21
err0
errOAAI
errZheng, Xiaoye; Wan, Zhiyuan; Zhang, Yun; Chang, Rui; Lo, David
errShare
errSave
RustBelt: securing the foundations of the Rust programming language
err2017-12-27
err0
errOAAI
errRalf Jung; Jacques-Henri Jourdan; Robbert Krebbers; Derek Dreyer
errShare
errSave
A Memory Model Sensitive Checker for C#
err2006-01-01
err0
PREAI
errHuynh,Thuan Quang; Roychoudhury,Abhik
errShare
errSave
GenMC: A Model Checker for Weak Memory Models
err2021-07-15
err0
errOAAI
errMichalis Kokologiannakis; Viktor Vafeiadis
errShare
errSave
Memory-Safety Challenge Considered Solved? An In-Depth Study with All Rust CVEs
err2021-09-28
err21
errOAAI
errXu, Hui; Chen, Zhuangbin; Sun, Mingshen; Zhou, Yangfan; Lyu, Michael R.
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
Verus: Verifying Rust Programs using Linear Ghost Types
err2023-04-06
err0
PREAI
errLattuada,Andrea; Hance,Travis; Cho,Chanhee; Brun,Matthias; Subasinghe,Isitha; Zhou,Yi; Howell,Jon; Parno,Bryan; Hawblitzel,Chris
errShare
errSave
researcher View more