Unfenced: Atomic Guards Against Spectre: ISA-Level Lock-Free Mitigation for Multi-Core RISC-V Processors
Speculative execution attacks, such as Spectre Variant 1, leak sensitive data through transient microarchitectural effects. This paper introduces batched atomic guards: ISA-level software wrappers that use the lr.w.aq/sc.w.rl acquire/release pair to re-validate a security bound once per N = 16 iterations on a dedicated...