Skip to content
Info disclosure Write-up Advanced

MileSan: Detecting μ-Architectural Leakage via Differential HW/SW Taint Tracking

MileSan is an RTL sanitizer that detects exploitable microarchitectural leakage by comparing architectural and microarchitectural information flows. Using RandOS, a fuzzer built on MileSan, the authors found 19 new leakages (13 CVEs) across 5 RISC-V CPUs.

comsec.ethz.ch

Published on comsec.ethz.ch

Microarchitectural performance optimizations introduce information flows inside CPU implementations that exceed those defined by the Instruction Set Architecture (ISA). Microarchitectural vulnerabilities, such as constant-time violations and various classes of transient execution attacks, are subsets of these…

The author, on comsec.ethz.ch

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the root cause is that microarchitectural performance optimisations introduce information flows that are not part of the instruction set architecture, and these flows can become architecturally observable through timing.

Impact

The discovered leakages could allow an attacker to infer secret data through timing differences, but the text does not detail specific exploit scenarios.

What the attacker needed

Access to the CPU design (RTL); ability to run programs on the CPU

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is a research tool that checks whether a CPU design leaks secret data through tiny timing differences. It compares what the CPU is supposed to do with what it actually does, and flags cases where secret information can affect execution time. The authors used it to find real bugs in several CPU designs.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.