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

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?

17

u/mixplate Oct 29 '19

Apparently new variants of the vulnerabilities keep getting uncovered - that's the biggest take-away. Not any one specific exploit, but the class of exploits.

3

u/BTWDeportThemAll Oct 29 '19

Yeah I get that. For server operators with virtualization clients definitely switch to AMD asap.

But for all others users, there is no outbreak of exploits for unpatched vulnerabilities at this time so no need to do anything except patch and keep AV up to date.

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.

2

u/mithik Oct 29 '19

ICC, IMKL are widely used in scientific computing since they are still much faster than AMD.

3

u/eirexe Oct 29 '19

Artificially faster though

2

u/mithik Oct 29 '19

I not sure what you mean. If you compare speed of program compiled with intel + ICC and linked against MKL it is faster than GCC+LAPACK/BLAS+AMD

3

u/eirexe Oct 29 '19

ICC disables optimizations for AMD, doesn't it? even if the processor can use them.

Check the other comment:

https://www.reddit.com/r/technology/comments/dokw9x/top_linux_developer_on_intel_chip_security/f5pfg61/

→ More replies (0)

2

u/cryo Oct 29 '19

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.

By up to 30% (depending on workload), not down to 30% performance.

2

u/SirWobbyTheFirst Oct 30 '19

Not really, the exploits are only really capable of being exploited on cloud infrastructure and servers that have the potential to run untrusted code like VDI and web sites.

If you have an ESXi machine and it only ever runs AD, SQL and a File Server and nothing else beyond what Microsoft and VMware push down in updates then it is better to just disable the mitigations and claw back some performance.

On the other hand, if you have a server that is shared with someone else (Like two companies using a cloud based ESXi machine) then yeah it makes sense to turn on the mitigations for security at the cost of performance.

AMD winning in the market is mostly down to the amount of Intel fabs that are failing to produce enough CPUs. They've been having trouble meeting the demand for 14nm fabs and they've been having even more trouble trying to get 7nm going.

Although granted it is good to see HPE, Dell cranking out the Epyc based servers and I am definitely pleased to see Gigabyte stepping into the server market with Xeon and Epyc based machines.

Competition is always good mentlegen.

1

u/G_Morgan Oct 29 '19

AMD win in the server market because they have the most power per cost. Little to do with Meltdown/Spectre.

The exploits have been deployed remotely. I don't know if they've been used for anything but it is inevitable they will be.

1

u/[deleted] Oct 30 '19

Because the flaws are particularly dangerous in virtualization environments, Intel is going to lose a big chunk of the data center and cloud market over AMD for this, that without mentioning AMD server chips perform better and use less watts. AMD Epyc butchers Xeon processors in almost everything. Intel has nothing to counter this, on paper they claim many things but once you apply patches, and start to disable features (for security reasons) Xeon's are just expensive paper weights. Seriously, AMD has up to 64 cores per chip now. Its almost twice as fast as the best Intel Xeon money can buy right now, costs less and consumes less power.

0

u/ShipsOfTheseus8 Oct 29 '19

AMD's winning in the server market has nothing to do with this. It has everything to do with the economics of bitcoin mining and the price premium Intel still demands in spite of Moore's Law being dead for the better part of the last decade.

2

u/zsaleeba Oct 29 '19

These CPUs aren't used for bitcoin mining. The actual computation for bitcoin mining is done by specialised ASIC chips. Regular CPUs are orders of magnitude slower.

1

u/bobbybottombracket Oct 29 '19

"Problems" he means "features" for big brother...

5

u/DamnFog Oct 29 '19

Big brother doesn't need speculative execution when it has Intel Management Engine and AMD's platform security processor.

These are essentially processors within the processor (built into the motherboard on intel) that have full read write access to the RAM, the IO, and their own Network interface.

They are complete blackboxes and can be remotely updated by intel and AMD. Speculative execution isn't shit compared to the access IME and PSP provide.