Linus Torvalds: Intel's Spectre Patch Is 'Complete & Utter Garbage'

In a scathing assessment of Intel's efforts to patch the Spectre flaw, Linux inventor Linus Torvalds offers no quarter for the chipmaker.

Larry Loeb, Blogger, Informationweek

January 24, 2018

3 Min Read

The patching for Spectre isn't going well.

Earlier this week, Intel Corp. (Nasdaq: INTC) was forced to advise its customers -- that means OEMs, cloud service providers, system manufacturers, software vendors, end users, etc. -- to stop deployment of the Spectre patch and await further information. Unexpected system reboots were cited as the immediate cause, along with "other unpredictable system behavior."

Not only that, Linux inventor Linus Torvalds took to a Linux kernel mailing list on Sunday, January 21, to call Intel's approach to fixing Spectre "COMPLETE AND UTTER GARBAGE." (The capitalization for emphasis is his.)

Torvalds is OK with what Intel is doing for the Meltdown problem, however. (See New Intel Vulnerability Hits Almost Everyone.)

Linus Torvalds would like a word...\r\n(Source: YouTube)\r\n

Linus Torvalds would like a word...
\r\n(Source: YouTube)\r\n

"The speculation control cpuid stuff shows that Intel actually seems to plan on doing the right thing for meltdown (the main question being _when_)," Torvalds wrote.

But the Spectre -- the branch target injection design flaw affecting most of its processor chips -- response causes him to ask: "WHAT THE F*CK IS GOING ON?"

Torvalds sees Intel playing games to make the benchmarks look better. As he puts it:

"The whole IBRS_ALL feature to me very clearly says Intel is not serious about this, we'll have a ugly hack that will be so expensive that we don't want to enable it by default, because that would look bad in benchmarks."

Indirect Branch Restricted Speculation (IBRS) is the part of the patching that restricts speculation of indirect program branches.

Torvalds sums up his aversions by writing in the message that to him, the whole point of having CPUID and flags from the microarchitecture -- like IBRS_ALL -- is that they can be used make decisions.

However, since people already know that the IBRS overhead is very large on existing hardware, the hardware capability bits will be totally not useful. Torvalds thinks that "nobody sane will use them, since the cost is too damn high."

Torvalds does have a point here.

In its official position paper, Intel doesn't treat Spectre as a bug. Instead the chipmaker is offering Spectre protection as a feature. The company implicitly admits the vulnerability will be present in future CPUs, but it gives users an opt-in flag for their solution. This is the approach that Torvalds find abhorrent.

What Torvalds says that he wants is to see is some flag from the CPU saying that it has been fixed against Spectre, so that the OS does not have to impose its own fixes. He thinks the Spectre fix should be defaulted to on, regardless of the performance hit.

This stuff will remain a contentious area for a long time. Intel is getting tripped up by its rush to get a fix out the door, and not doing the validation that a major change of this magnitude needs. It also may have been influenced by liability issues implicit in the problem and trying to downplay just how serious the problem is to most of its customers.

In any case, it may serve users well to hold back on applying any patches that may result from this effort until they have been shown to be effective and do not cause instabilities of their own.

Related posts:

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Read more about:

Security Now

About the Author

Larry Loeb

Blogger, Informationweek

Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek. He has written a book on the Secure Electronic Transaction Internet protocol. His latest book has the commercially obligatory title of Hack Proofing XML. He's been online since uucp "bang" addressing (where the world existed relative to !decvax), serving as editor of the Macintosh Exchange on BIX and the VARBusiness Exchange. His first Mac had 128 KB of memory, which was a big step up from his first 1130, which had 4 KB, as did his first 1401. You can e-mail him at [email protected].

Keep up with the latest cybersecurity threats, newly discovered vulnerabilities, data breach information, and emerging trends. Delivered daily or weekly right to your email inbox.

You May Also Like


More Insights