By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Linux 6.18 Expected To Land Google’s Rust Binder Driver
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Linux 6.18 Expected To Land Google’s Rust Binder Driver
Computing

Linux 6.18 Expected To Land Google’s Rust Binder Driver

News Room
Last updated: 2025/09/21 at 7:46 AM
News Room Published 21 September 2025
Share
SHARE

The past few years Google engineers have been reimplementing Android’s Binder driver in the Rust programming language. Binder is a critical part of Android for inter-process communication (IPC) and now with Linux 6.18 it looks like the Rust rewrite will be upstreamed.

Queued this week into Greg Kroah Hartman’s char-misc-next Git branch is the Rust Binder driver. With it making it into the char/misc area’s “next” branch, it’s expected to be submitted for the upcoming Linux 6.18 merge window kicking off in the next week or two.

As for this major rewrite of the Android Binder IPC kernel driver in Rust, Google engineer Alice Ryhl explains with the patch adding the new Rust Binder driver:

“We’re generally not proponents of rewrites (nasty uncomfortable things that make you late for dinner!). So why rewrite Binder?

Binder has been evolving over the past 15+ years to meet the evolving needs of Android. Its responsibilities, expectations, and complexity have grown considerably during that time. While we expect Binder to continue to evolve along with Android, there are a number of factors that currently constrain our ability to develop/maintain it. Briefly those are:

1. Complexity: Binder is at the intersection of everything in Android and fulfills many responsibilities beyond IPC. It has become many things to many people, and due to its many features and their interactions with each other, its complexity is quite high. In just 6kLOC it must deliver transactions to the right threads. It must correctly parse and translate the contents of transactions, which can contain several objects of different types (e.g., pointers, fds) that can interact with each other. It controls the size of thread pools in userspace, and ensures that transactions are assigned to threads in ways that avoid deadlocks where the threadpool has run out of threads. It must track refcounts of objects that are shared by several processes by forwarding refcount changes between the processes correctly. It must handle numerous error scenarios and it combines/nests 13 different locks, 7 reference counters, and atomic variables. Finally, It must do all of this as fast and efficiently as possible. Minor performance regressions can cause a noticeably degraded user experience.

2. Things to improve: Thousand-line functions, error-prone error handling, and confusing structure can occur as a code base grows organically. After more than a decade of development, this codebase could use an overhaul.

3. Security critical: Binder is a critical part of Android’s sandboxing strategy. Even Android’s most de-privileged sandboxes (e.g. the Chrome renderer, or SW Codec) have direct access to Binder. More than just about any other component, it’s important that Binder provide robust security, and itself be robust against security vulnerabilities.

It’s #1 (high complexity) that has made continuing to evolve Binder and resolving #2 (tech debt) exceptionally difficult without causing #3 (security issues). For Binder to continue to meet Android’s needs, we need better ways to manage (and reduce!) complexity without increasing the risk.

The biggest change is obviously the choice of programming language. We decided to use Rust because it directly addresses a number of the challenges within Binder that we have faced during the last years. It prevents mistakes with ref counting, locking, bounds checking, and also does a lot to reduce the complexity of error handling. Additionally, we’ve been able to use the more expressive type system to encode the ownership semantics of the various structs and pointers, which takes the complexity of managing object lifetimes out of the hands of the programmer, reducing the risk of use-after-frees and similar problems.”

The Rust Binder driver has been tested on the Android emulator as well as a Google Pixel 6 Pro. The Rust Binder driver does implement all features that the C binder driver supports.

Rust Binder

Barring any last minute objections or issues raised by Linus Torvalds, it looks like for the upcoming Linux 6.18 cycle will be the first major Rust kernel driver to be used by future Android devices.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article This subtle new Google Photos change has simplified how I manage my library
Next Article Project Management Dashboard: 14 Real-World Examples
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

I Tried the Best Mushroom Gummies—Here Are My Top 3
Gadget
20 Popular Apps from the Slack App Directory |
Computing
10 Best CrackStreams Alternative Sites for Live Sports
News
The US launched a pulse to China with the tariffs and China has responded not buying soybeans. It is wreaking havoc
Mobile

You Might also Like

Computing

20 Popular Apps from the Slack App Directory |

60 Min Read
Computing

The Math Behind Persistence and Extinction in Freshwater Ecosystems | HackerNoon

12 Min Read
Computing

Linux Ready To Upstream Support For Google’s PSP Encryption For TCP Connections

3 Min Read
Computing

Meituan shifts focus from GMV to order volume amid declining sales · TechNode

1 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?