Skip to content
ZDNET·

💻Linux Kernel Embraces Rust for New Work

Rust is coming to Linux, but not all at once

TL;DR

The Linux kernel is adopting Rust for new subsystems and drivers. Over 13 CVEs are reported daily, many due to C's inherent risks. Rust promises safer coding practices but won't rewrite the entire kernel immediately.

Linux is gradually integrating Rust into its development process, with a focus on new work in key subsystems like graphics drivers and IPC mechanisms such as Binder. This shift aims to reduce common vulnerabilities that stem from C's limitations. Over 13 CVEs are reported daily, many of which could be mitigated by Rust’s safety features. The transition is gradual, ensuring existing C code remains untouched while new projects embrace Rust for its robust security benefits.

Linux Kernel Embraces Rust for New Work — ZDNET

Key Points

1

Over 13 CVEs reported daily to Linux kernel, many due to C's inherent risks

2

Rust adoption for new work in key subsystems such as graphics drivers and Binder

3

Binder now has parallel C and Rust implementations; C version will be phased out

4

Linux kernel leadership has officially endorsed Rust as a first-class language

5

150 core maintainers review the majority of Linux's 5,000+ developer contributions

Why It Matters

If you're working on new Linux subsystems or drivers, Rust adoption means safer coding practices and fewer vulnerabilities. For example, Binder's transition to Rust eliminates common C mistakes while maintaining backward compatibility. However, existing C code remains untouched, ensuring stability for legacy systems.

rustlinuxsecuritycoding-practiceskernel-development

Frequently Asked Questions

Why does this matter?

If you're working on new Linux subsystems or drivers, Rust adoption means safer coding practices and fewer vulnerabilities. For example, Binder's transition to Rust eliminates common C mistakes while maintaining backward compatibility. However, existing C code remains untouched, ensuring stability for legacy systems.

What happened?

The Linux kernel is adopting Rust for new subsystems and drivers. Over 13 CVEs are reported daily, many due to C's inherent risks. Rust promises safer coding practices but won't rewrite the entire kernel immediately.

Comments

Subscribe to join the conversation...

Be the first to comment

Enjoyed this article?

Get it daily. 7am. Free. Reads in 5 minutes.

Also get