Linus Torvalds: Intels Spectre Patch Is Complete & Utter Garbage

  /     /     /  
Publicated : 22/11/2024   Category : security


Linus Torvalds: Intels Spectre Patch Is Complete & Utter Garbage


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



The patching for Spectre isnt 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 Intels 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...

(Source:
YouTube
)
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, well have a ugly hack that will be so expensive that we dont 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 doesnt 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:
Spectre Can Obfuscate Tracking Tools, Too
Spectre, Meltdown Flaws Already Producing Spam
After Spectre & Meltdown, Intel Faces an Evil Maid Problem
— Larry Loeb has written for many of the last centurys major dead tree computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Last News

▸ Veritabile Defecte de Proiectare a Securitatii in Software -> Top 10 Software Security Design Flaws ◂
Discovered: 23/12/2024
Category: security

▸ Sony, XBox Targeted by DDoS Attacks, Hacktivist Threats ◂
Discovered: 23/12/2024
Category: security

▸ There are plenty of online tools for reporting bugs. ◂
Discovered: 23/12/2024
Category: security


Cyber Security Categories
Google Dorks Database
Exploits Vulnerability
Exploit Shellcodes

CVE List
Tools/Apps
News/Aarticles

Phishing Database
Deepfake Detection
Trends/Statistics & Live Infos



Tags:
Linus Torvalds: Intels Spectre Patch Is Complete & Utter Garbage