Memory-Safe Sudo-rs To Become Default In Ubuntu 25.10

Source: Slashdot Memory-Safe Sudo-rs To Become Default In Ubuntu 25.10

Rust-y Linux Is A Good Thing

Ubuntu has a fairly large announcement that may not be terribly exciting for many, will help many security specialists sleep better at night.  The current Sudo command is vulnerable to several privilege escalation vulnerabilities, stemming from it’s C and C++ roots.  Certain processes can be abused to trigger things like dangling pointers and use-after-free errors which hackers can take advantage of, and Sudo as it exists now does not enforce single ownership.  All in all, moving to Sudo-rs is a good step forward in securing one of the major causes of crashes and unauthorized access to Linux based devices.

All is not perfect, the Rust programming language is not necessarily installed on all Linux distributions by default and if you wish to switch you may need to recompile your kernel.  In many cases it is a simple install, but there are always custom builds to worry about.  There is work to be done to ensure compatibility with NOEXEC, control of AppArmor profiles and, as of now, sudoedit is not compatible.  The team at the Trifecta Tech Foundation is working on those challenges, as well as adding support for Linux Kernels older than version 5.9.

You can test Sudo-rs on your own now if you want to see what effect it has on your systems, before the release of Ubuntu 25.10.

The decision to adopt sudo-rs is in line with Canonical's commitment to Carefully But Purposefully increase the resilience of critical system software, by adopting Rust. Rust is a programming language with strong memory safety guarantees that eliminates many of the vulnerabilities that have historically plagued traditional C-based software.

Video News

About The Author

Jeremy Hellstrom

Call it K7M.com, AMDMB.com, or PC Perspective, Jeremy has been hanging out and then working with the gang here for years. Apart from the front page you might find him on the BOINC Forums or possibly the Fraggin' Frogs if he has the time.

Leave a reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest Podcasts

Archive & Timeline

Previous 12 months
Explore: All The Years!