MIT researchers uncover TONTOU CPU attack affecting Intel and AMD
MIT researchers have identified a new Spectre-style CPU attack called TONTOU that can bypass some branch predictor defenses on Intel and AMD processors.
The attack targets what the researchers call a post-neutralization window, a brief gap after a processor wipes or isolates branch predictor state but before prediction hardware is used again.
Daniël Trujillo and Mengjia Yan at MIT’s Computer Science and Artificial Intelligence Laboratory developed the technique, which they named Time-of-Neutralization to Time-of-Use, or TONTOU.
Modern CPUs use speculative execution to predict what software will do next and process work ahead of time. When those predictions are wrong, the processor discards the results, but traces can remain and leak data through side channels.
After Spectre emerged in 2018, chipmakers added defenses intended to clean or isolate branch predictor state before sensitive code runs. The MIT researchers said those cleanup steps and the next use of prediction hardware cannot occur at exactly the same moment, leaving a narrow opening for a new attack.
TONTOU exploits that opening by injecting a carefully timed interrupt and poisoning the branch predictor again. The researchers said the method uses high-frequency timer interrupts to land inside the vulnerable window and corrupt structures including the return stack buffer and branch history buffer.
The researchers tested the attack on Intel Cascade Lake Refresh and Arrow Lake processors, and on AMD Zen 2 and Zen 4 processors. They said they were able to trigger the needed branch mispredictions on both platforms.
AMD’s Safe RET defense left a window that was two instructions wide and typically lasted tens of nanoseconds, the researchers found. They said they were still able to hit that window through timing manipulation.
On an AMD Zen 2 system running a stock Linux kernel, the researchers built an end-to-end exploit that broke Linux kernel address space layout randomization in all 10 attempts. They also leaked the /etc/shadow file, which contains root password hashes, in five of the 10 runs.
MIT measured the protected-memory read rate at about five bytes per second. The Register reported that each complete exploit attempt took about 18 minutes and required specific software conditions on Intel systems.
Trujillo and Yan notified AMD and Intel in February, and Linux kernel maintainers in March. AMD later released a kernel patch to mitigate the attack.
Intel told the researchers it did not plan additional mitigations because real-world exploitation depended on several conditions, including the availability of suitable disclosure gadgets. Intel also awarded the researchers a bug bounty payment.
Featured image credit






