Thursday, May 8, 2025
Homecyber securityNew Linux Kernel Code Written in Rust Aims to Eliminate Memory Safety...

New Linux Kernel Code Written in Rust Aims to Eliminate Memory Safety Bugs

Published on

SIEM as a Service

Follow Us on Google News

The integration of Rust into the Linux kernel is a significant step forward in enhancing memory safety, a critical aspect of kernel development.

This effort, known as Rust for Linux, began in 2021 with the publication of an RFC by Miguel Ojeda, the project’s primary maintainer.

The goal is not to rewrite the entire kernel in Rust but to leverage Rust’s memory safety features to reduce vulnerabilities in new drivers and modules.

- Advertisement - Google News

Progress and Benefits

Rust’s language properties inherently reduce the risk of memory safety bugs, data races, and logic bugs, making it an attractive choice for kernel development.

The use of Rust also simplifies the process of writing new drivers and modules by providing modern abstractions that are easier to reason about.

Additionally, Rust’s tooling helps enforce documentation guidelines, ensuring that all public APIs, safety preconditions, and ‘unsafe’ blocks are well-documented.

This has led to increased confidence among maintainers in refactoring and accepting patches for modules.

According to Prosimmo Report, in October 2022, Rust was officially merged into the Linux kernel, marking a major milestone.

Since then, progress has continued with multiple companies dedicating full-time engineers to work on Rust in the Linux kernel.

Jonathan Corbet, a kernel maintainer and Executive Editor of LWN, noted that the project has already proven Rust’s viability for kernel development, which is crucial for the long-term viability of Linux.

Upcoming Developments

Several initiatives are underway to integrate Rust into various subsystems.

Drivers such as PHY drivers, the Null Block driver, and the Apple AGX GPU driver are being developed or targeted for upstreaming.

The recent Linux 6.13 merge window included Rust misc driver bindings, which are expected to pave the way for more Rust drivers in the future.

Greg Kroah-Hartman highlighted this as a tipping point, anticipating significant growth in Rust driver adoption.

The next merge window is expected to enable PCI and platform drivers, further expanding the scope for Rust integration.

As Rust drivers become more prevalent, products and services running Linux will benefit from enhanced security, directly impacting user safety.

The success of this effort is attributed to the tireless work of Miguel Ojeda and the financial support from the Alpha-Omega project.

The continued growth of the Rust for Linux community is set to solidify a more memory-safe future for the Linux kernel.

Are you from SOC/DFIR Teams? – Analyse Malware Incidents & get live Access with ANY.RUN -> Start Now for Free.

Aman Mishra
Aman Mishra
Aman Mishra is a Security and privacy Reporter covering various data breach, cyber crime, malware, & vulnerability.

Latest articles

Cisco IOS, XE, and XR Vulnerability Allows Remote Device Reboots

 Cisco has issued an urgent security advisory (cisco-sa-twamp-kV4FHugn) warning of a critical vulnerability in...

OpenCTI: Free Cyber Threat Intelligence Platform for Security Experts

OpenCTI (Open Cyber Threat Intelligence) stands out as a free, open source platform specifically...

LockBit Ransomware Group Breached: Internal Chats and Data Leaked Online

The notorious LockBit ransomware group, once considered one of the world’s most prolific cyber...

Cisco IOS XE Wireless Controllers Vulnerability Lets Attackers Seize Full Control

A critical security flaw has been discovered in Cisco IOS XE Wireless LAN Controllers...

Resilience at Scale

Why Application Security is Non-Negotiable

The resilience of your digital infrastructure directly impacts your ability to scale. And yet, application security remains a critical weak link for most organizations.

Application Security is no longer just a defensive play—it’s the cornerstone of cyber resilience and sustainable growth. In this webinar, Karthik Krishnamoorthy (CTO of Indusface) and Phani Deepak Akella (VP of Marketing – Indusface), will share how AI-powered application security can help organizations build resilience by

Discussion points


Protecting at internet scale using AI and behavioral-based DDoS & bot mitigation.
Autonomously discovering external assets and remediating vulnerabilities within 72 hours, enabling secure, confident scaling.
Ensuring 100% application availability through platforms architected for failure resilience.
Eliminating silos with real-time correlation between attack surface and active threats for rapid, accurate mitigation

More like this

Cisco IOS, XE, and XR Vulnerability Allows Remote Device Reboots

 Cisco has issued an urgent security advisory (cisco-sa-twamp-kV4FHugn) warning of a critical vulnerability in...

OpenCTI: Free Cyber Threat Intelligence Platform for Security Experts

OpenCTI (Open Cyber Threat Intelligence) stands out as a free, open source platform specifically...

LockBit Ransomware Group Breached: Internal Chats and Data Leaked Online

The notorious LockBit ransomware group, once considered one of the world’s most prolific cyber...