We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.CR

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Cryptography and Security

Title: Software Mitigation of RISC-V Spectre Attacks

Abstract: Speculative attacks are still an active threat today that, even if initially focused on the x86 platform, reach across all modern hardware architectures. RISC-V is a newly proposed open instruction set architecture that has seen traction from both the industry and academia in recent years. In this paper we focus on the RISC-V cores where speculation is enabled and, as we show, where Spectre attacks are as effective as on x86. Even though RISC-V hardware mitigations were proposed in the past, they have not yet passed the prototype phase. Instead, we propose low-overhead software mitigations for Spectre-BTI, inspired from those used on the x86 architecture, and for Spectre-RSB, to our knowledge the first such mitigation to be proposed. We show that these mitigations work in practice and that they can be integrated in the LLVM toolchain. For transparency and reproducibility, all our programs and data are made publicly available online.
Subjects: Cryptography and Security (cs.CR); Operating Systems (cs.OS)
Cite as: arXiv:2206.04507 [cs.CR]
  (or arXiv:2206.04507v2 [cs.CR] for this version)

Submission history

From: Paul Irofti [view email]
[v1] Thu, 9 Jun 2022 13:47:18 GMT (24kb,D)
[v2] Mon, 6 Nov 2023 22:34:46 GMT (40kb)

Link back to: arXiv, form interface, contact.