English

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

Cryptography and Security 2023-02-03 v1

Abstract

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.

Keywords

Cite

@article{arxiv.2302.01131,
  title  = {An Attack on The Speculative Vectorization: Leakage from Higher Dimensional Speculation},
  author = {Sayinath Karuppanan and Samira Mirbagher Ajorpaz},
  journal= {arXiv preprint arXiv:2302.01131},
  year   = {2023}
}
R2 v1 2026-06-28T08:30:21.545Z