paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Lightweight Fault Isolation: Practical, Efficient, and Secure Software Sandboxing

轻量级故障隔离:实用、高效且安全的软件沙箱化
ASPLOS Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 22024匹配度 2/10 · 论文属于系统安全领域的软件沙箱/SFI,与用户画像中 PL 与 AI/LLM 交叉、浮点程序分析、贝叶斯程序分析等核心方向无直接关联。虽然提到静态验证器,但并非面向 ML/Agentic 程序或利用 LLM 改进静态分析。引用 28 inbox
Zachary Yedidia
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出面向 ARM64 的多沙箱 SFI 方案 LFI,以 7% 运行时开销在单地址空间支持数万个 4GiB 沙箱。

云与 serverless 计算要求低延迟、低上下文切换地运行不可信代码,使软件故障隔离(SFI)重新重要;SFI 需权衡性能、TCB 大小、可扩展性与实现复杂度。本文在 ARM64 上重新审视经典 SFI,提出多沙箱方案 Lightweight Fault Isolation(LFI):在单一地址空间支持数万个 4GiB 沙箱,对 load、store、jump 做完整软件隔离,独立于现有编译器工具链,并用小型静态验证器缩小 TCB,同时抵御基本 Spectre 攻击。在 SPEC 2017 兼容子集上运行时开销为 7%,代码大小开销较低,还支持异常等语言机制与 SIMD 等 ISA 特性。

问题
云与 serverless 场景需要以低开销、低延迟隔离不可信代码,传统 SFI 在性能、TCB 大小、可扩展性和实现复杂度之间难以兼顾。
方法
提出面向 ARM64 的多沙箱 LFI,在单一地址空间中对访存与跳转做软件隔离,配合小型静态验证器缩小 TCB,并独立于既有编译器工具链实现。
评估
在 SPEC 2017 兼容子集上测得 7% 运行时开销与较低代码大小开销,并与现有多沙箱系统比较;同时验证了对基本 Spectre 攻击的加固以及对异常、SIMD 等语言和 ISA 机制的支持。
原文摘要(Abstract)

Software-based fault isolation (SFI) is a longstanding technique that allows isolation of one or more processes from each other with minimal or no use of hardware protection mechanisms. The demand for SFI systems has been increasing due to the advent of cloud and serverless computing, which require systems to run untrusted code with low latency and low context switch times. SFI systems must optimize for a combination of performance, trusted code base (TCB) size, scalability, and implementation complexity. With the rise of ARM64 in both cloud and personal computers, we revisit classic SFI in the context of ARM64 and present a new multi-sandbox SFI scheme that is practical to implement, efficient, and maintains a small TCB. Our technique, called Lightweight Fault Isolation (LFI), supports tens of thousands of 4GiB sandboxes in a single address space and does full software isolation of loads, stores, and jumps with a runtime overhead of 7% on the compatible subset of the SPEC 2017 benchmark suite. In addition to providing low runtime and code size overheads compared to existing multi-sandbox systems, LFI is implemented independently of existing compiler toolchains, has a small static verifier to reduce TCB size, is hardened against basic Spectre attacks, and has broad software support, including for language mechanisms like exceptions and ISA features such as SIMD.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{Yedidia24,
  title = {Lightweight Fault Isolation: Practical, Efficient, and Secure Software Sandboxing},
  author = {Zachary Yedidia},
  booktitle = {ASPLOS},
  year = {2024},
  doi = {10.1145/3620665.3640408}
}