LazyFP: Leaking FPU Register State using Microarchitectural Side-Channels
Julian Stecklina, Thomas Prescher

TL;DR
This paper demonstrates a side-channel attack exploiting lazy FPU context switching to leak FPU and SIMD register contents across processes and VMs, highlighting security risks in modern processors.
Contribution
It introduces a novel attack method that leverages microarchitectural side channels to recover register states, exposing vulnerabilities in lazy FPU context switching.
Findings
Attack works on processors with lazy FPU switching
FPU register contents can be reconstructed via cache side effects
Lazy FPU switching poses significant security risks
Abstract
Modern processors utilize an increasingly large register set to facilitate efficient floating point and SIMD computation. This large register set is a burden for operating systems, as its content needs to be saved and restored when the operating system context switches between tasks. As an optimization, the operating system can defer the context switch of the FPU and SIMD register set until the first instruction is executed that needs access to these registers. Meanwhile, the old content is left in place with the hope that the current task might not use these registers at all. This optimization is commonly called lazy FPU context switching. To make it possible, a processor offers the ability to toggle the availability of instructions utilizing floating point and SIMD registers. If the instructions are turned off, any attempt of executing them will generate a fault. In this paper, we…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Advanced Memory and Neural Computing · Physical Unclonable Functions (PUFs) and Hardware Security
