Exploiting System Management Mode with a very long interrupt
- Security
- Hardware
- Infrastructure
The repo demonstrates a System Management Mode attack on x86 that depends on a very long-running instruction, specifically one delayed by slow MMIO, so one core misses the firmware’s expected rendezvous window. SMM is a hidden high-privilege CPU mode used for low-level platform work like thermal handling and power management. Firmware expects all cores to enter it together, but the sample code shows what happens when one core is still stuck inside a single instruction while another core enters SMM, waits up to about a second, gives up, does its work, and exits. The late core can then enter SMM after the first is already back in normal execution, breaking the assumption that SMM owns the whole machine at once.
If you ship systems that rely on firmware stop-the-world behavior across CPU cores, audit every timeout and partial-progress path as a security boundary, not just a reliability detail. For operators, this is another reminder that root on modern machines often reaches into firmware behavior in ways many threat models still ignore.
-
github.com
- Discuss on HN