News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Intel found a bug, Windows will be 30% slower

Started by jj2007, January 04, 2018, 12:31:23 AM

Previous topic - Next topic

jj2007

No, it's not a joke:
'Kernel memory leaking' Intel processor design flaw forces Linux, Windows redesign
Quotebug is present in modern Intel processors produced in the past decade. It allows normal user programs – from database applications to JavaScript in web browsers – to discern to some extent the layout or contents of protected kernel memory areas.

The fix is to separate the kernel's memory completely from user processes using what's called Kernel Page Table Isolation, or KPTI. At one point, Forcefully Unmap Complete Kernel With Interrupt Trampolines, aka ####WIT, was mulled by the Linux kernel team, giving you an idea of how annoying this has been for the developers.
...
It seems it may be possible to craft software in such a way that the processor starts executing an instruction that would normally be blocked – such as reading kernel memory from user mode – and completes that instruction before the privilege level check occurs.

That would allow ring-3-level user code to read ring-0-level kernel data.

The article links to a blog post by a certain Anders Fogh, not to be confused with Agner Fog.

Update on technical details here.

cman

I heard about this on the radio , but haven't read into the topic yet. I guess we will all have to buy new processors or take the performance hit that comes with the new OS patches. I also heard from Richard Stallman that any processor after the core 2 has a "management engine" back door https://boingboing.net/2016/06/15/intel-x86-processors-ship-with.html.  :biggrin:

sinsi

Not just Intel and Windows/Linux, Apple have admitted the same thing. Probably Android too, because the ARM CPU is affected...

The 30% drop in performance is only an estimate, if you only game/internet you won't notice. Only kernel mode switches are affected, so if you
do a lot of network/disk IO you will definitely notice it.

One story going around is that the Intel boss sold stock just before the announcement (they have known about it since June last year).


Magnum

https://www.phoronix.com/scan.php?page=article&item=linux-more-x86pti&num=1
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org