Author Topic: Intel found a bug, Windows will be 30% slower  (Read 660 times)

jj2007

  • Member
  • *****
  • Posts: 8445
  • Assembler is fun ;-)
    • MasmBasic
Intel found a bug, Windows will be 30% slower
« on: January 04, 2018, 12:31:23 AM »
No, it's not a joke:
'Kernel memory leaking' Intel processor design flaw forces Linux, Windows redesign
Quote
bug 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 FUCKWIT, 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.
« Last Edit: January 04, 2018, 10:48:44 PM by jj2007 »

cman

  • Member
  • **
  • Posts: 207
Re: Intel found a bug, Windows will be 30% slower
« Reply #1 on: January 06, 2018, 04:55:56 AM »
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

  • Member
  • *****
  • Posts: 1051
Re: Intel found a bug, Windows will be 30% slower
« Reply #2 on: January 06, 2018, 08:42:28 AM »
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).
I can walk on water but stagger on beer.

felipe

  • Member
  • ****
  • Posts: 833
  • Eagles are just great!
Felipe.

Magnum

  • Member
  • *****
  • Posts: 2262
Take care,
                   Andy

Ubuntu-mate-16.04-desktop-amd64

http://www.goodnewsnetwork.org