It depends on the severity of the bug and the level of foresight of the hardware designer. In the worst case (e.g. the FDIV bug on the Pentium) you have to recall the CPU. Obviously, this is very bad. That&#x27;s why modern CPUs have what are called &quot;chicken bits&quot; or &quot;kill bits&quot;, which the BIOS or OS can set to disable specific features. The most recent use of kill bits I can recall is Intel disabling the TSX instructions on the Haswell line of CPUs. Finally, the least invasive option is to issue a microcode update, alters the way that x86 instructions get decoded to avoid the problematic behavior. Microcode updates are issued as software patches, and they&#x27;re actually in the Linux kernel source tree.<p>If you want to learn more about all three of these fix techniques, in addition to learning a bit about the steps that Intel and AMD take to prevent such bugs in the first place, I highly recommend this CCC talk: <a href="https:&#x2F;&#x2F;media.ccc.de&#x2F;v&#x2F;32c3-7171-when_hardware_must_just_work" rel="nofollow">https:&#x2F;&#x2F;media.ccc.de&#x2F;v&#x2F;32c3-7171-when_hardware_must_just_wor...</a>.