Google Adds Rust-Based DNS Parser into Pixel 10 Modem to Enhance Security
好的,我现在需要帮用户总结这篇文章的内容,控制在100字以内。首先,我得通读全文,抓住主要信息。 文章主要讲的是Google在Pixel设备的安全性方面采取的新措施。他们把Rust语言集成到调制解调器固件中,特别是DNS解析器部分。Rust是一种内存安全的语言,这样可以减少漏洞风险。 接下来,文章提到Pixel 10是第一个采用这种技术的设备。Google还提到了之前用Clang sanitizer来检测未定义行为,以及防范2G漏洞和基带攻击。此外,他们还详细说明了为什么选择DNS协议,因为它对现代蜂窝通信很重要,漏洞可能导致恶意攻击。 最后,Google使用了"hickory-proto" crate和"cargo-gnaw"工具来实现这个DNS解析器,并且提到了一些优化方法。 总结一下,关键点包括:Rust集成、Pixel 10首发、DNS解析器的安全性提升、内存安全措施以及相关工具和技术细节。现在需要把这些信息浓缩到100字以内,确保涵盖所有重要方面。 </think> Google在Pixel设备的调制解调器固件中集成了基于Rust的DNS解析器,以提升安全性并推动内存安全代码的应用。该技术减少了漏洞风险,并为未来在其他领域的应用奠定了基础。Pixel 10成为首款采用内存安全语言的Pixel设备。 2026-4-14 13:55:0 Author: thehackernews.com(查看原文) 阅读量:7 收藏

Mobile Security / Network Security

Google has announced the integration of a Rust-based Domain Name System (DNS) parser into the modem firmware as part of its ongoing efforts to beef up the security of Pixel devices and push memory-safe code at a more foundational level.

"The new Rust-based DNS parser significantly reduces our security risk by mitigating an entire class of vulnerabilities in a risky area, while also laying the foundation for broader adoption of memory-safe code in other areas," Jiacheng Lu, a software engineer part of the Google Pixel Team, said.

The security boost via Rust integration is available for Pixel 10 devices, making it the first Pixel device to integrate a memory-safe language into its modem.

The move builds upon a series of initiatives the tech giant has taken to harden the cellular baseband modem against exploitation. In late 2023, it highlighted the role played by Clang sanitizers like Overflow Sanitizer (IntSan) and BoundsSanitizer (BoundSan) to catch undefined behavior during program execution.

A year later, it also detailed the various security measures built into the modem firmware to combat 2G exploits and baseband attacks that exploit memory-safety vulnerabilities like buffer overflows to achieve remote code execution.

These security advances have been complemented by Google's steady adoption of Rust into Android and low-level firmware. In November 2025, the company revealed that the number of memory safety vulnerabilities fell below 20% of total vulnerabilities discovered in the mobile operating system last year.

Google said it opted for the DNS protocol for its Rust implementation owing to the fact that it underpins modern cellular communications and that vulnerabilities in the system can expose users to malicious attacks when designed in a memory-unsafe language, resulting in out-of-bound memory accesses, as in the case of CVE-2024-27227.

"With the evolution of cellular technology, modern cellular communications have migrated to digital data networks; consequently, even basic operations such as call forwarding rely on DNS services," it added. "Implementing the DNS parser in Rust offers value by decreasing the attack surfaces associated with memory unsafety."

To that end, Google has chosen the "hickory-proto" crate, a Rust-based DNS client, server, and resolver, to implement the protocol, while modifying it to support bare metal and embedded environments. Another important component of this change is the use of a custom tool called "cargo-gnaw" to easily resolve and maintain more than 30 dependencies introduced by the crate.

The internet company also noted that the DNS Rust crate is not optimized for use in memory-constrained systems, and that one possible code size optimization could be achieved by adding extra feature flags to ensure modularity and selectively compile only required functionality.

"For the DNS parser, we declared the DNS response parsing API in C and then implemented the same API in Rust," Google said. "The Rust function returns an integer standing for the error code. The received DNS answers in the DNS response are required tobe updated to in-memory data structures that are coupled with the original C implementation;therefore, we use existing C functions to do it. The existing C functions are dispatched from the Rust implementation."

Found this article interesting? Follow us on Google News, Twitter and LinkedIn to read more exclusive content we post.


文章来源: https://thehackernews.com/2026/04/google-adds-rust-based-dns-parser-into.html
如有侵权请联系:admin#unsafe.sh