arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.15130cs.SEcs.CRcs.PL
收藏

选择 CHERI 分配器:安全与性能考量

Picking a CHERI Allocator: Security and Performance Considerations

Jacob Bramley, Dejice Jacob, Andrei Lascu, Jeremy Singer, Laurence Tratt

AI总结:

本文评估了多个移植到 CHERI 平台的开源内存分配器在安全性和性能上的表现,发现除一个外其余均存在漏洞,并指出混合与纯能力模式间的性能比较缺乏意义。

摘要:

多个开源内存分配器已被移植到 CHERI(一种硬件能力平台)。在本文中,我们考察了这些分配器在 Arm 的实验性 Morello 平台上运行于 CheriBSD 下时的安全性和性能。我们引入了一系列安全攻击,并表明除一个分配器外,所有分配器(包括默认的 CheriBSD 分配器)都容易受到某些攻击的影响。随后我们指出,虽然某些形式的分配器性能比较是有意义的,但混合模式与纯能力模式(即“非 CHERI 模式运行”与“CHERI 模式运行”)分配器之间的性能比较似乎并无意义。尽管我们尚未完全理解其原因,但这似乎至少同样归因于编译器工具链不成熟等因素,而非能力特性对硬件的影响。

英文摘要:

Several open-source memory allocators have been ported to CHERI, a hardware capability platform. In this paper we examine the security and performance of these allocators when run under CheriBSD on Arm's experimental Morello platform. We introduce a number of security attacks and show that all but one allocator are vulnerable to some of the attacks - including the default CheriBSD allocator. We then show that while some forms of allocator performance are meaningful, comparing the performance of hybrid and pure capability (i.e. 'running in non-CHERI vs. running in CHERI modes') allocators does not appear to be meaningful. Although we do not fully understand the reasons for this, it seems to be at least as much due to factors such as immature compiler toolchains as it is due to the effects of capabilities on hardware.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑