Google wants to help improve memory safety in Linux kernel

HTML code
(Image credit: Shutterstock.com / BEST-BACKGROUNDS)

The non-profit Internet Security Research Group (ISRG), together with financial support from Google, has contracted Linux kernel developer Miguel Ojeda to work to bring the advantages of the Rust programming language to the Linux kernel.

ISRG, which also supports the Let’s Encrypt free SSL certification authority, has contracted Ojeda to work full-time on extending the use of Rust as a second language to the Linux kernel, which is written in C. Ojeda’s been working on this effort as a side-project for quite some time.

Several developers and organizations like Google have taken a fancy to Rust, which brings with its memory safety guarantees that make it particularly useful for low-level systems programming. 

“We understand work in something as widely used and critical as the Linux kernel takes time, but we're thrilled to be able to help the ISRG support Miguel Ojeda's work dedicated to improving the memory safety of the kernel for Everyone," said Dan Lorenc, Software Engineer at Google.

Second language

As part of his efforts, Ojeda setup the Rust for Linux group, and has even managed to add the initial infrastructure for Rust to be used within the Linux kernel in the development stream of the kernel named Linux-Next.

A couple of months back in April, Ojeda put out a request for comments (RFC) to the kernel mailing list detailing the advantages of adding Rust code to the mainline kernel, which ISRG describes as “a perfect example of the consideration and diligence that goes into his efforts.”

Even Linus Torvalds, the principal developer of the main kernel, isn’t totally opposed to the idea. While he’s admitted to having some technical reservations about it, he is willing to participate in the discussions.

Google’s interest in Rust isn’t academic. The company has already greenlighted the use of Rust in Android’s low-level system-code in order to reign in the growing number of memory-based security vulnerabilities in the mobile operating system.

TOPICS
Mayank Sharma

With almost two decades of writing and reporting on Linux, Mayank Sharma would like everyone to think he’s TechRadar Pro’s expert on the topic. Of course, he’s just as interested in other computing topics, particularly cybersecurity, cloud, containers, and coding.

Read more
Google Chrome
Linux Foundation brings together top browser makers for more "open" approach
LinuxPDF
First Doom, now Linux: an unnamed high school student runs Linux OS in a PDF doc in Google Chrome so what's next?
ExpressVPN apps running on a laptop and mobile during TechRadar's testing
What's new in Lightway 2.0? Here are the 4 biggest changes I'm excited for
ExpressVPN Lightway protocol in Rust – promo image
ExpressVPN's latest upgrade to Lightway hopes to create "the VPN protocol of the future"
Application Security Testing Concept with Digital Magnifying Glass Scanning Applications to Detect Vulnerabilities - AST - Process of Making Apps Resistant to Security Threats - 3D Illustration
Google bug bounty payments hit nearly $12 million in 2024
A person standing in front of a rack of servers inside a data center
Changing a few lines of code in Linux could apparently save hyperscalers billions, research claims, but I am not convinced
Latest in Software & Services
TinEye website
I like this reverse image search service the most
A person in a wheelchair working at a computer.
Here’s a free way to find long lost relatives and friends
A white woman with long brown hair in a ponytail looks down at her computer in a distressed manner. She is holding her forehead with one hand and a credit card with the other
This people search finder covers all the bases, but it's not perfect
That's Them home page
Is That's Them worth it? My honest review
woman listening to computer
AWS vs Azure: choosing the right platform to maximize your company's investment
A person at a desktop computer working on spreadsheet tables.
Trello vs Jira: which project management solution is best for you?
Latest in News
Apple iPhone 16 Review
The latest iPhone 18 leak hints at a major chipset upgrade for all four models
Quordle on a smartphone held in a hand
Quordle hints and answers for Sunday, March 23 (game #1154)
NYT Strands homescreen on a mobile phone screen, on a light blue background
NYT Strands hints and answers for Sunday, March 23 (game #385)
NYT Connections homescreen on a phone, on a purple background
NYT Connections hints and answers for Sunday, March 23 (game #651)
Google Pixel 9 Pro Fold main display opened
Apple is rumored to be prioritizing battery life on the foldable iPhone – which could also feature a liquid metal hinge for added durability
Google Pixel 9
The Google Pixel 10 just showed up in Android code – and may come with a useful speed boost