New TONTOU CPU attack bypasses Spectre v2 fixes, leaks Linux password hashes
Researchers found a way to bypass recent mitigations for Spectre v2 speculative execution side-channel attacks and developed an exploit to leak secrets from Linux machines.
Intelligence analysis by Llama

A new attack, called TONTOU, bypasses Spectre v2 fixes and leaks Linux password hashes. The attack works against AMD and Intel processors that rely on sanitizing or isolating branch predictors.
Imagine your computer's processor is like a super-fast runner. It tries to guess where it's going to run next, and if it's wrong, it can leak secrets. The TONTOU attack is like a trick that makes the runner go the wrong way, so it leaks secrets. It's a new way for hackers to get sensitive information from computers.
Analysis
TONTOU Attack Overview
The TONTOU attack is a new method of exploiting Spectre v2 vulnerabilities in Linux machines. It bypasses recent mitigations for Spectre v2, which were designed to prevent attacks that manipulate the CPU's indirect branch predictor.
How the Attack Works
The TONTOU attack works by introducing a primitive that enables re-poisoning the CPU's state after the cleaning but before it is used. This is done by scheduling timer interrupts to occur during kernel execution, which allows the attacker to force the kernel to be redirected to the interrupt handler and use this handler to poison microarchitectural states within the post-neutralization window.
Impact of the Attack
The TONTOU attack has significant implications for security teams. It can be used to leak sensitive data from Linux machines, including password hashes. The attack is particularly concerning because it bypasses recent mitigations for Spectre v2, making it a more difficult vulnerability to defend against.
Mitigation and Prevention
To mitigate the TONTOU attack, security teams should focus on implementing robust defenses against Spectre v2 vulnerabilities. This includes using sanitizing or isolating branch predictors, as well as implementing additional software requirements to prevent the attack. Regular security audits and penetration testing can also help identify vulnerabilities and prevent attacks like TONTOU.
Key points
- The TONTOU attack bypasses recent mitigations for Spectre v2 vulnerabilities.
- The attack works by introducing a primitive that enables re-poisoning the CPU's state after the cleaning but before it is used.
- The TONTOU attack can be used to leak sensitive data from Linux machines, including password hashes.
- Security teams should focus on implementing robust defenses against Spectre v2 vulnerabilities.
- Regular security audits and penetration testing can help identify vulnerabilities and prevent attacks like TONTOU.
If this vulnerability is addressed quickly, it could lead to improved security measures for Linux machines, making them more resistant to attacks like TONTOU. This could also lead to the development of new security technologies that can better defend against Spectre v2 vulnerabilities.
If the TONTOU attack is not addressed quickly, it could lead to a significant increase in data breaches and cyber attacks on Linux machines. This could also lead to a loss of trust in Linux as a secure operating system.



