Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Devastating Speculative Execution Intel CPU Bug
#16
https://arstechnica.com/gadgets/2018/02/...-to-solve/
Quote:Kocher suggests that Microsoft should offer a more pessimistic mode that protects every conditional access. But this will come with a heavy cost: in sample code he wrote to compute SHA-256 hashes, the version with lfence instructions after every branch had only 40 percent of the performance of the unmodified version. This poses a security-performance trade-off that's decidedly uncomfortable; even if the compiler offered such an option, few people are likely to be willing to accept that kind of performance penalty in general. But for smaller pieces of code that are known to be at risk, such an option may be useful.

Microsoft's much more restricted protection does have the virtue of having much lower impact; the company says that it has built Windows with the Spectre protection and found no real performance regression.

The work done on the compiler and the limitations faced underscore what a complex problem Spectre poses for the computing industry. The processors are working as they're supposed to. We can't do without speculative execution of this kind—we need the performance it offers—but equally, we have no good way of systematically addressing the security concerns it creates. Compiler changes of the kind Microsoft has made are well-meaning, but as Kocher's investigation has shown, they're a long way short of offering a complete solution.
Reply


Messages In This Thread
RE: Devastating Intel CPU Bug - by SteelCrysis - 01-03-2018, 11:40 PM
RE: Devastating Intel CPU Bug - by SteelCrysis - 01-04-2018, 04:25 AM
RE: Devastating Intel CPU Bug - by SteelCrysis - 01-07-2018, 07:16 AM
RE: Devastating Intel CPU Bug - by SteelCrysis - 01-09-2018, 04:02 AM
RE: Devastating Intel CPU Bug - by SteelCrysis - 01-10-2018, 07:54 AM
RE: Devastating Intel CPU Bug - by SteelCrysis - 01-12-2018, 08:59 AM
RE: Devastating Intel CPU Bug - by SteelCrysis - 01-12-2018, 10:42 PM
RE: Devastating Intel CPU Bug - by SteelCrysis - 01-13-2018, 02:47 AM
RE: Devastating Speculative Execution Intel CPU Bug - by SteelCrysis - 02-16-2018, 10:23 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)