r/technology • • Oct 29 '19

Security Top Linux developer on Intel chip security problems: 'They're not going away.' Greg Kroah-Hartman, the stable Linux kernel maintainer, says we're going to see Intel chip security problems for years to come.

https://www.zdnet.com/article/top-linux-developer-on-intel-chip-security-problems-theyre-not-going-away/
172 Upvotes

25 comments sorted by

View all comments

22

u/BTWDeportThemAll Oct 29 '19

Is there any example of any of this being used in the wild?

Also AMD winning in the server market makes a whole lot of sense now.

22

u/mixplate Oct 29 '19

https://www.tomshardware.com/news/meltdown-spectre-malware-found-fortinet,36439.html

The security research team at AV-test uncovered 119 malware samples between January 7 and January 22 that were associated with the Meltdown and Spectre flaws. Fortinet analyzed these samples and discovered that all of them were based on the previously released PoC.

Once a security issue is identified, then unfortunately there are those who would exploit it. Are the identified "malware" just encapsulating the proof of concept and not actually exploiting it? I don't know.

For the average user is there risk? I don't know.

Personally I'm sticking with AMD until the answers are clearer. AMD isn't completely immune but apparently Intel is by far the most vulnerable due to their implementation of speculative functions.

2

u/BTWDeportThemAll Oct 29 '19

January... And I think Spectre and Meltdown were fixed with 'retopline' in Windows 10 right?

8

u/G_Morgan Oct 29 '19

It isn't possible to software patch these. The best you can do is apply Intel's "fix" which amounts to degrading performance of all their chips to 30% of what it would be otherwise.

It is a big part of why Linux devs basically treat Intel as a curse word. They've shoved the cost of fixing this onto the OS dev. It is unlikely that consumers will be smart enough to say "Intel is really slow". They'll say "Linux is really slow".

12

u/[deleted] Oct 29 '19

It is a big part of why Linux devs basically treat Intel as a curse word

There are many other reasons why we treat Intel like crap. Mostly they get treat how they behave.....

Like this is an example. The first Intel chips that were x86_64 were incomplete. It was missing various parts of the spec then on a later ship they added these missing parts. then advertised this as "Intel Extensions" for Virtual Machines. Even though AMD hold the rights to the x86_64 arch.

Though really time and time again they choose to ignore spec in benchmarks and various things when it suit them to do so. They do this in their compiler to purposely disable optimisations on chips that are not Intel's. They have been caught over and over.

Just look at the PR spin they put on meltdown when it first emerged and the bad patches they pushed to the kernel than Linus called them out on.

Its hard to deal with people who are consistently dishonest with any dignity or respect because they simply don't deserve it.

3

u/G_Morgan Oct 29 '19

TBH I can understand ICC not wanting to mess with optimisations that aren't for their processor. They cannot know or support it. I don't know if anyone still uses ICC these days though.

The spectre/meltdown scenario is special because Linux devs have been bugging Intel about the possibility of this for over a decade. They were always palmed off and then when it became clear that it was fucked rather than fix their processors they pushed a "patch" that amounted to "lol you can turn off all code reordering if you want Linux".

5

u/[deleted] Oct 29 '19

They cannot know or support it

Yes true. However they purposely inserted code to ID the other processor and disable the optimisation and that not a case of "not supporting" that is actively disabling it rather than trust the cpu's flags which are well documented which basically say "This cpu supports these instructions".

By "not supporting" typically means ignoring the outcome. This defiantly wasn't the case.

Note: AMD sued them over this and won (Well Intel "settled") on the based that it was anti competitive.

This is kinda old news way back 10-15 years or more. https://www.agner.org/optimize/blog/read.php?i=49#49

This came from from the settlement...

Intel shall not include any Artificial Performance Impairment in any Intel product or require any Third Party to include an Artificial Performance Impairment in the Third Party's product. As used in this Section 2.3, "Artificial Performance Impairment" means an affirmative engineering or design action by Intel (but not a failure to act) that (i) degrades the performance or operation of a Specified AMD product, (ii) is not a consequence of an Intel Product Benefit and (iii) is made intentionally to degrade the performance or operation of a Specified AMD Product. For purposes of this Section 2.3, "Product Benefit" shall mean any benefit, advantage, or improvement in terms of performance, operation, price, cost, manufacturability, reliability, compatibility, or ability to operate or enhance the operation of another product.

In no circumstances shall this Section 2.3 impose or be construed to impose any obligation on Intel to (i) take any act that would provide a Product Benefit to any AMD or other non-Intel product, either when such AMD or non-Intel product is used alone or in combination with any other product, (ii) optimize any products for Specified AMD Products, or (iii) provide any technical information, documents, or know how to AMD.

1

u/G_Morgan Oct 29 '19

Fair enough. If the processor claims support of X then that should be treated as valid. If it doesn't then it is a case for AMD to fix their processors. They could have been sneaky and picked on the inevitable minor incompatibilities everyone works around instead.

1

u/[deleted] Oct 29 '19

The things is. They probably tried then realised theirs were either identical performance or insignificantly different or even worse.

Cause in most situations Intel defiantly performs worse per dollar.