Apex › Systems & OS

How Meltdown reads kernel memory (transient execution)

Spectre’s sibling, and the attack that forced kernel page-table isolation into every OS. An unprivileged read of a kernel address faults — but out-of-order execution forwards the byte to later instructions transiently, before the fault retires, and they cache probe[secret]. Architecturally the read never happened; but Flush+Reload times all 256 lines and the one fast line names the byte. Verified: the oracle recovers every value 0–255. Sandboxed simulation, defenses-forward (KPTI unmaps the kernel). Set a secret and recover it by timing.

More in Systems & OS