Sunday, May 25, 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

Zero-Trust Policy Bypass Enables Exploitation of Vulnerabilities and Manipulation of NHI Secrets

A new project has exposed a critical attack vector that exploits protocol vulnerabilities to...

Threat Actor Sells Burger King Backup System RCE Vulnerability for $4,000

A threat actor known as #LongNight has reportedly put up for sale remote code...

Chinese Nexus Hackers Exploit Ivanti Endpoint Manager Mobile Vulnerability

Ivanti disclosed two critical vulnerabilities, identified as CVE-2025-4427 and CVE-2025-4428, affecting Ivanti Endpoint Manager...

Hackers Target macOS Users with Fake Ledger Apps to Deploy Malware

Hackers are increasingly targeting macOS users with malicious clones of Ledger Live, the popular...

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

Zero-Trust Policy Bypass Enables Exploitation of Vulnerabilities and Manipulation of NHI Secrets

A new project has exposed a critical attack vector that exploits protocol vulnerabilities to...

Threat Actor Sells Burger King Backup System RCE Vulnerability for $4,000

A threat actor known as #LongNight has reportedly put up for sale remote code...

Chinese Nexus Hackers Exploit Ivanti Endpoint Manager Mobile Vulnerability

Ivanti disclosed two critical vulnerabilities, identified as CVE-2025-4427 and CVE-2025-4428, affecting Ivanti Endpoint Manager...