[Paper Review] Contemporary Processors Are Leaky -- and There's Nothing You Can Do About It
This paper demonstrates that contemporary x86 and ARM processors inherently expose significant timing channels through microarchitectural features like caches, TLBs, branch predictors, and prefetchers, and that existing OS-level flushing mechanisms fail to fully close these channels. The key finding is that at least one major timing channel persists across all tested processors, rendering complete channel mitigation impossible on current mainstream hardware.
Timing channels are information flows, encoded in the relative timing of events, that bypass the system's protection mechanisms. Any microarchitectural state that depends on execution history and affects the rate of progress of later executions potentially establishes a timing channel, unless explicit steps are taken to close it. Such state includes CPU caches, TLBs, branch predictors and prefetchers; removing the channels requires that the OS can partition such state or flush it on a switch of security domains. We measure the capacities of channels based on these microarchitectural features on several generations of processors across the two mainstream ISAs, x86 and ARM, and investigate the effectiveness of the flushing mechanisms provided by the respective ISA.We find that in all processors we studied, at least one significant channel remains. This implies that closing all timing channels seems impossible on contemporary mainstream processors.
Motivation & Objective
- To investigate whether timing channels in mainstream processors can be fully mitigated using existing OS-level flushing mechanisms.
- To measure the capacity of timing channels arising from microarchitectural features such as caches, TLBs, branch predictors, and prefetchers.
- To evaluate the effectiveness of flushing mechanisms provided by x86 and ARM ISAs in closing these channels.
- To determine whether it is feasible to eliminate all timing channels on contemporary processors through software or hardware means.
Proposed method
- The authors measured timing channel capacities on multiple generations of x86 and ARM processors using controlled execution workloads.
- They analyzed microarchitectural states that depend on execution history and influence execution progress rates.
- The study evaluated the flushing mechanisms available in x86 and ARM ISAs to assess their ability to clear sensitive microarchitectural state across security domain switches.
- Timing channel capacity was quantified by measuring observable timing variations in controlled, side-by-side execution scenarios.
- The analysis focused on features like CPU caches, TLBs, branch predictors, and prefetchers as sources of covert information leakage.
Experimental results
Research questions
- RQ1Can existing OS-level flushing mechanisms fully close timing channels in modern x86 and ARM processors?
- RQ2What is the maximum information leakage capacity of timing channels in contemporary mainstream processors?
- RQ3Which microarchitectural features contribute the most to persistent timing channels?
- RQ4Is it possible to achieve complete timing channel mitigation on current mainstream processor architectures?
Key findings
- At least one significant timing channel remains active in every tested x86 and ARM processor, despite the use of OS-level flushing mechanisms.
- The persistent channels arise from microarchitectural features such as caches, TLBs, branch predictors, and prefetchers that cannot be fully cleared by existing ISA-provided flushing instructions.
- The capacity of these residual channels is sufficient to leak meaningful information, indicating a fundamental limitation in current processor design.
- The study concludes that closing all timing channels on contemporary mainstream processors is not feasible with current software or hardware techniques.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.