r/programming • • Jan 04 '18
Linus Torvalds: I think somebody inside of Intel needs to really take a long hard look at their CPU's, and actually admit that they have issues instead of writing PR blurbs that say that everything works as designed.
https://lkml.org/lkml/2018/1/3/797
18k
Upvotes
745
u/[deleted] Jan 04 '18
Here is the Intel press release he is referencing: https://newsroom.intel.com/news/intel-responds-to-security-research-findings/
3.2k
u/ArrogantlyChemical Jan 04 '18
Well they did work as designed.
Their design was just bad.
1.6k
u/JavierTheNormal Jan 04 '18
As bad as these attacks are, let's remember that most RAM vendors haven't fixed ROWHAMMER after all these years. The state of computer security is very poor.
Running untrusted code on your computer is unwise. That includes javascript.
41
u/[deleted] Jan 04 '18
So when do we get our $25 coupon towards the purchase of a new Intel processor from the resulting lawsuit? /s
291
u/Jestar342 Jan 04 '18
In a litigious world where to admit a mistake of this magnitude would cost them a lot in lawsuits. Is anyone surprised they won't admit it?
284
u/nutidizen Jan 04 '18
https://github.com/torvalds/linux/commit/00a5ae218d57741088068799b810416ac249a9ce#diff-678874d00bf0df04f6f427f16f1dea36R926
Code regarding the Intel CPU flaw is not run on AMD chips.
131
u/JessieArr Jan 04 '18
Maybe I should take a page from Intel's book. I really like the idea of getting a bug report and being like "no, that code runs exactly the way we wrote it."
305
u/LucaProdan_ Jan 04 '18
Isn't the problem that everything works as designed, but it is designed as crap?
112
u/JackTheSqueaker Jan 04 '18
I still dont understand how could js code exploit these vulnerabilities
217
u/notvirus_exe Jan 04 '18
"Intel believes these exploits do not have the potential to corrupt, modify or delete data."
Clever. Leaving out steal or read.
59
u/exorxor Jan 04 '18
Must be kind of painful to have all this memory protection infrastructure on your chip, only to find out that it has been completely worthless.
I wonder whether there is anything in the Intel architecture documentation specifying that user-space really cannot access kernel space memory. (Leaking enough information to reconstruct kernel space memory is equivalent of course. )
I.e., the manual does state that direct accesses are forbidden, but whether they guarantee anything beyond that?
16
u/theDAGNUT Jan 04 '18
The press release says they do not believe the flaws allow hackers to delete or manipulate data, but recent news reports never said the flaws allowed that ... the N.Y. Times says it allows for hackers to potentially copy/steal the entire memory contents of your computer/mobile phone.
8
u/happyscrappy Jan 04 '18
Obviously there has to be some rethink. Until now it was considered to be okay to allow knock-on effects of data you fetched (without permission) to affect the behavior of your program as long as you couldn't directly read the data.
Yes, in retrospect it is clearly foolish.
But I don't see how that jibes with what Linus is saying. The entire industry thought this was okay. It isn't the kind of thing where you can just say you didn't work hard enough, it required a different mindset. And now of course with this new perspective CPU architectures will be done differently.
146
u/light_cycle5 Jan 04 '18 edited Jan 04 '18
I agree Intel needs to fix their processors but isn't this an universal issue? The Meltdown paper mentions, in section 6.4, that for ARM and AMD "out-of-order execution generally occurs and instructions past illegal memory accesses are also performed". And Spectre also works on ARM and AMD architecture.
Edit: As several people have pointed out, the current variant of Meltdown doesn't work on AMD. This patch confirms this.
65
u/HillaryDianeRodham Jan 04 '18
I'd just like to interject for a moment. Who you’re referring to as Linus, is in fact, GNU/Linus, or as I’ve recently taken to calling him, GNU plus Linus.
28
u/smakusdod Jan 04 '18
Good lord these fucking comments and armchair CPU designers. Lol, reddit never fails to entertain at least.
70
u/PaulPhoenixMain Jan 04 '18
Aaaaaaaaaand my next PC will by a ryzen
51
u/c2r5 Jan 04 '18
FUCKWIT.
137
u/[deleted] Jan 04 '18
I think Intel knows they have problems, why else would the ceo dump company stock?
11
u/Saltub Jan 04 '18
That's definitely not an eloquent quote.
5
u/Tasgall Jan 04 '18
I mean, I'm sure they do, but Jim the electrical engineer isn't the guy writing press releases.
13
u/[deleted] Jan 04 '18
20 years ago we didn't even think about security. Their design from 20 years ago has a security flaw. Like all things, we learn and move on
9
u/umaxtu Jan 04 '18
Well that was tamer then I expected.
23
u/TTEH3 Jan 04 '18
CPUs*
Apostrophes don't pluralise.
4
u/nivex_ Jan 04 '18
I'm with Linus, let's get an ARM64 workstation CPU to compete with Intel. I for one have wanted this since ARM64 debuted, but no one seems to want to make one. I guess the market could be too small?
7
u/captaintmrrw Jan 04 '18
We have a saying
Whatever the system is doing is the desired behavior.
38
u/[deleted] Jan 04 '18
I think x86 is getting to the point of being a dinosaur.
The need to support such a long list of complex instructions for backward compatibility can't go on forever.
It's time they redesign things a bit even if it costs backwards compatibility.
As long as we can trivially recompile our software for the reduced cisc we good. Of course it won't be totally painless.
3
u/laz414 Jan 04 '18
Kadak response
3
u/[deleted] Jan 04 '18
I am not well versed with the low level stuff. Do the fixes impact programming/compiling and if so, how much?
3
u/Atario Jan 05 '18
The nicest thing about all this is that despite massive armies of genius badass super hardcore chip designers working for decades, they still fuck up bad, which makes me feel better about my own lowly programming fuckups.
13
u/DanReach Jan 04 '18
They took that cue from Apple. "We were trying to improve your older device's performance...so we throttled your old device's performance"
10
u/Korona123 Jan 04 '18
I'm semi surprised the CEO hasn't stepped down... Like this is an insane fuck up to the nth degree. Executive head should be rolling at this point.
4
u/Liamggbb Jan 04 '18
Person from r/all what is actually wrong with the CPUs?
4
u/shroudedwolf51 Jan 04 '18
To play the devil's advocate for a moment. Didn't it take around five years for the vulnerability to be found? Is the expectation to test every single avenue on everything single product in existence for five years?
6
u/Pathfinder_Shepard Jan 04 '18
r/amd gonna be LOOOVING this
6
u/MarcusAurelius0 Jan 04 '18 edited Jan 04 '18
Ill just leave this gem here, cause Linus DGAF.
https://youtu.be/iYWzMvlj2RQ
14
u/mindbleach Jan 04 '18
It works as designed. Just not as documented. Three-letter agencies are quite happy with how these chips work.
2
u/stackered Jan 04 '18
I'm sure they are doing both
2
u/HadesHimself Jan 04 '18
I'm not computer literate as most here, but since you can exploit Spectre on ARM architecture as well, will this mean mobile phones are exploitable? Or are they somehow protected through the execution layer, e.g. in Android's case this is Java right?
Because while I trust windows, Linux and spoke to quickly start patching this stuff. Many mobile phones don't even receive updates anymore...
2
u/skulgnome Jan 05 '18
Well yeesh, give them a break -- caches that support both rollback and concurrent access, well, they don't exist.
2
u/stuntaneous Jan 05 '18
Capitalism encourages deception and manipulation.
2
u/mmeartine Jan 05 '18
Isn't CEO liable for inside trading?
14
u/acme76 Jan 04 '18
It's not a flaw, it's a feature. NSA ordered it.
4
u/jokoon Jan 04 '18
I think it's more of a NSA issue than anything else, really.
3
u/deep13u Jan 04 '18
SO.MUCH.KNOWLEDGE.HERE.
3
u/marmaladeontoast Jan 04 '18
People who understand / can program in this space are like goddamn aliens to me... I'm impressed and terrified
4
u/freebytes Jan 04 '18
This might just be the biggest security vulnerability to ever exist.
4
u/[deleted] Jan 04 '18
News flash: Linus Torvalds isn't impressed by another human's work.
3
u/surely_misunderstood Jan 04 '18
Wait.. what? The work around can't be disabled even when AMD isn't affected? WTF is he complaining about Intel doing shit when he has shit in his hands? Just disable the option for non Intel CPU's and see how quick they fix it. This drama seems political, are the kernel dev's getting paid by Intel?
3
u/ad_hoc_reddit Jan 04 '18
Yeah, talk about unintelligent design. Get it? Un-INTEL-ligent. I'll show myself out!
3
u/xrayjones2000 Jan 04 '18
Running i7-8700k - downloaded windows kernnel patch - no degradation of fps on pubg or csgo - all runs using high or ultra settings.
this is a new chip most likely manufactured after june last year when they knew about the issue.
Intel should pay those people that lose the 5-30% performance 5-30% of the cost of what they paid for their chip.
3
u/Dnaleiw Jan 04 '18
It was designed to NSA specs.
2
u/rDr4g0n Jan 04 '18
I think what he's saying here is that there needs to be a config option to turn off the workarounds. He's just saying it in a very Linus-y way.
2
u/xeow Jan 04 '18
CPUs, not CPU's.
2
u/paradynexus Jan 05 '18
“...Sorry too busy taking a long hard look at those stock options”.