Home/Technology/Google shoehorned Rust into Pixel 10 modem to make legacy code safer

Google shoehorned Rust into Pixel 10 modem to make legacy code safer

TechnologyApril 13, 20262 min readAttributed summary
Google shoehorned Rust into Pixel 10 modem to make legacy code safer
Cellular modems are complex black boxes of legacy code, but Google is making them safer with Rust.
Reading Settings

Modern smartphone operating systems have myriad systems in place to improve security, but none of that helps when attackers target the modem. Google's Project Zero team has shown it's possible to secure remote code execution on Pixel phone modems over the Internet, which prompted Google to reevaluate how it secures this vital, low-level system. The solution wasn't to rewrite modem software but rather to shoehorn a safer Rust-based component into the Pixel 10 modem.

Cellular modems are something of a black box. Your phone's baseband is its own operating system running legacy C and C++ code, which makes it an increasingly appealing attack surface. The core issue is that memory management in these systems is difficult and often leads to memory-unsafe firmware code on production devices. That can allow attackers to leverage serious vulnerabilities like buffer overflows and memory leaks to compromise devices.

So that's not great—why are we still using this stuff? Part of the issue is just the inertia of embedded systems. Companies have been developing modem firmware based on 3GPP specifications for decades, so there's a lot of technical debt at this point. Modems also have to operate in real time to send and receive data effectively, and C/C++ code is fast.

Read full article

Comments

Source: Ars Technica

Related technology stories

Healthcare AI’s next test is integration
Sourced report
technologyreview.com11 hours ago

Healthcare AI’s next test is integration

The entrance of major AI companies into healthcare is a meaningful and welcome development, accelerating the technical foundation available to the industry. Their models are increasingly capable of pr

6 min briefingRead signal →
God told them to sell crypto. Their investors lost everything.
Sourced report
technologyreview.com11 hours ago

God told them to sell crypto. Their investors lost everything.

This article was produced in partnership with Type Investigations and with support from the Fund for Investigative Journalism. When Eli Regalado first heard God speak to him, he wondered whether he wa

35 min briefingRead signal →