"Spectre and Meltdown: Speculative Execution Considered Harmful"
summary
Five independent research groups jointly disclose that speculative execution leaks secrets: Meltdown reliably reads kernel memory by transiently using protected loads and timing cache effects, often using TSX or fault-handling to avoid crashes; Spectre abuses branch predictors and the BTB to trick other processes or JavaScript into leaking data. Mitigations include KPTI/SEPARATE kernel mappings and compiler barriers or retpoline, but they cost performance (up to ~30% for KPTI, barriers can slow crypto ~60%) and leave many patterns unblocked, so the class of attacks persists.
AI-written summary · about
