CHERIoT: Complete Memory Safety for Embedded Devices


연구 분야: Verification



학회: MICRO '23: Proceedings of the 56th Annual IEEE/ACM International Symposium on Microarchitecture


초록

The ubiquity of embedded devices is apparent. The desire for increased functionality and connectivity drives ever larger software stacks, with components from multiple vendors and entities. These stacks should be replete with isolation and memory safety technologies, but existing solutions impinge upon development, unit cost, power, scalability, and/or real-time constraints, limiting their adoption and production-grade deployments. As memory safety vulnerabilities mount, the situation is clearly not tenable and a new approach is needed. To slake this need, we present a novel adaptation of the CHERI capability architecture, co-designed with a green-field, security-centric RTOS. It is scaled for embedded systems, is capable of fine-grained software compartmentalization, and provides affordances for full inter-compartment memory safety. We highlight central design decisions and offloads and summarize how our prototype RTOS uses these to enable memory-safe, compartmentalized applications. Unlike many state-of-the-art schemes, our solution deterministically (not probabilistically) eliminates memory safety vulnerabilities while maintaining source-level compatibility. We characterize the power, performance, and area microarchitectural impacts, run microbenchmarks of key facilities, and exhibit the practicality of an end-to-end IoT application. The implementation shows that full memory safety for compartmentalized embedded systems is achievable without violating resource constraints or real-time guarantees, and that hardware assists need not be expensive, intrusive, or power-hungry.


Author Profile
Saar Amar

Microsoft Israel

Israel
Author Profile
David Chisnall

Microsoft United Kingdom and University of Cambridge United Kingdom

Andorra
Author Profile
Tony Chen

Microsoft USA

United States

📄 논문 정보

발행 연도 2023년
인용수 13
출판 국가 Andorra, Israel, Armenia, United States, United Kingdom
사이트 ACM
좋아요 수 0

연관 논문 목록 (107건)