Hardware Security

When a CPU hardware vulnerability is discovered, which is one countermeasure applied to CPUs already shipped?

  1. ARecalling all CPUs and replacing transistors one by one
  2. BUpdating the CPU microcode to change problematic internal behavior or add new controls the OS can use
  3. CChanging the marking on the CPU surface
Show answer and explanation

Answer: B. Updating the CPU microcode to change problematic internal behavior or add new controls the OS can use

Many CPUs (x86 in particular) implement complex instructions and some internal control in microcode, part of which can be fixed by patches loaded at boot. When a vulnerability is found, the vendor distributes a microcode update loaded at every boot through the BIOS or OS. This can suppress problematic behavior or add control features, such as one to clear branch predictor state. Problems rooted in the circuitry itself are generally fixed by design changes in later CPU generations.

  • A. Transistors cannot be replaced.
  • B. Correct. It is combined with OS and compiler countermeasures.
  • C. Changing the marking does not change behavior.