arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.01131cs.CR
收藏

对推测向量化的一种攻击:高维推测的泄漏

An Attack on The Speculative Vectorization: Leakage from Higher Dimensional Speculation

Sayinath Karuppanan, Samira Mirbagher Ajorpaz

摘要:

本文认为,并表明,投机向量化,其中一个循环与罕见或未知的内存依赖关系仍然是向量化,是从根本上脆弱的,不能减轻现有的防御。我们实现了一个简单的概念证明,并显示在苹果M2 SoC的泄漏。我们使用微架构泄漏描述符MLD描述泄漏的来源,我们还描述了原则,以扩展MLD的其他优化。此外,作为实现的一部分,我们对M2缓存大小进行逆向工程,并使用线程计时器来区分缓存命中和未命中。

英文摘要:

This paper argues and shows that speculative vectorization, where a loop with rare or unknown memory dependencies are still vectorized, is fundamentally vulnerable and cannot be mitigated by existing defenses. We implement a simple proof of concept and show the leakage in Apple M2 SoC. We describe the source of leakage using Microarchitectural Leakage Descriptors MLD and we additionally describe principles to extend MLD for other optimization. Also as part of implementation we reverse engineer the M2 cache size and use threaded timer to differentiate between cache hit and miss.

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

↑