Automated Detection, Exploitation, and Elimination of Double-Fetch Bugs using Modern CPU Features
Michael Schwarz
Daniel Gruss
Moritz Lipp
Clémentine MauriceThomas SchusterAFAnders Fogh
Stefan Mangard
Michael Schwarz

Daniel Gruss

Moritz Lipp

Clémentine Maurice
Thomas Schuster
AFAnders Fogh

Stefan Mangard
+7
The paper presents a fully automated framework for detecting, exploiting, and eliminating double-fetch bugs in operating-system kernels. It combines cache-based side-channel attacks with kernel fuzzing to identify double fetches, and then automatically narrows candidates to exploitable ones, achieving up to 97% exploitation success. For elimination, it introduces a generic technique using hardware transactional memory that retrofits code with double-fetch prevention transparently, with under 1% performance overhead.

arXiv ·
· November 3, 2017