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"
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
Padlock against circuit board/cybersecurity background
Kali laid bare: the most famous Linux hacking distro of all time
Latest in Software & Services
Windows 11 Start menu layout choices: Grid view
Windows 11 vs Linux for business: which operating system should you embrace?
A phone sitting on a laptop keyboard with the Microsoft Outlook logo on the screen.
Gmail vs Outlook for business: which email system is right for your organization?
Windows 11 logo
Windows 11 Pro vs Windows 11 Home: which version is right for you?
Canva HubSpot
HubSpot and Canva team up to level the creative playing field
a laptop computer
Windows 11 vs ChromeOS for business: Is one better than the other for your needs?
a laptop computer
Windows 11 vs macOS for business: which side are you on?
Latest in News
Q Acoustics Q SUB80, QSUB100 and QSUB120 subwoofers
Q Acoustics wants to bring the bass to your post-Oscars movie catch-up
Hospital
Major Oracle outage hits US Federal health record systems
Samsung Galaxy A56 display
Samsung’s new budget handsets are getting One UI 7 before the Galaxy S24 Ultra, and I’m as confused as you are
iPad Pro 13-inch 2024 on a table
The OLED iPad Pro is reportedly less popular than expected – and that could mean these changes to Apple's OLED iPad plans
Sam Porter cradles a baby
Death Stranding 2: On the Beach trailer confirms June release date and an even more harrowing post-apocalyptic world
The Ray-Ban Meta Coperni smart glasses
The new Ray-Ban Meta smart glasses design is an expensive disappointment