News for hackers. Stuff that matters.
Re:Intel CEO: Patches will come to 90% of chips in the next ... by guelo on Tuesday January 09, 2018 @06:09PM (#16111040)
What I'm worried about is that it will be hard to avoid these security patches when you don't need them. Say you have a non-virtualized, non-shared server that only runs your own trusted code. I don't want to be forced to pay the performance penalty but it might be unavoidable without resorting to maintaining your own linux fork.
Re:Intel CEO: Patches will come to 90% of chips in the next ... by jacquesm on Tuesday January 09, 2018 @06:28PM (#16111149)
Do you trust all of the userland?

Is your machine internet connected?

Do you have any open ports?

Do you run everything as root?

If your answers are yes, no, no, and yes than it likely will make no difference. Otherwise (and the last one is just for fun to attempt to show you this is probably not a wise decision) you probably would do better to take this serious.

Re:Intel CEO: Patches will come to 90% of chips in the next ... by berkut on Tuesday January 09, 2018 @06:48PM (#16111268)
For private servers that are totally not connected to the internet in any way and don't need to be, run self-developed code on data which is mainly CPU-bound but also need a lot of disk IO for reading files and memory mapping data, I'm pretty certain it'll make a noticeable difference, for no security benefit.
Re:Intel CEO: Patches will come to 90% of chips in the next ... by appleflaxen on Tuesday January 09, 2018 @07:22PM (#16111491)
but isn't it pretty easy to avoid the security update on those machines?
Re:Intel CEO: Patches will come to 90% of chips in the next ... by mrpopo on Tuesday January 09, 2018 @09:43PM (#16112179)
In the short term, maybe. But the OS update processes are incremental. If the user wants to upgrade their OS version for some reason (new feature, etc), they will get the performance hit bundled together.
Re:Intel CEO: Patches will come to 90% of chips in the next ... by zzzcpan on Tuesday January 09, 2018 @06:53PM (#16111309)
For an average user that doesn't bother with security to the point that nothing on the server runs in sandboxes - Spectre and Meltdown are not of much concern. Running under a different user is not the same as running in a sandbox, certainly not on linux/bsd/windows. A user still has an enormous attack surface to play with. And due to the nature of multiuser software typically running on servers where all users live within the same trust boundaries any exploitable vulnerability is going to do as much damage, as if it was running under root, think Cloudbleed for example. You can't make things noticeably worse by turning off KPTI.
Re:Intel CEO: Patches will come to 90% of chips in the next ... by rayiner on Tuesday January 09, 2018 @07:25PM (#16111516)
How do open ports factor in? And what if you’re internet connected but have JS disabled?
Re:Intel CEO: Patches will come to 90% of chips in the next ... by InclinedPlane on Wednesday January 10, 2018 @02:23AM (#16113111)
Open ports mean there is a service listening. A service listening means that there is code on your box interfacing with the internet. That means there is the possibility that an exploit in that code could lead to remote code execution. The meltdown vulnerability means that any remote code execution vulnerability can be escalated to the highest levels.

Exploiting meltdown means you can read all of kernel memory, that destroys any additional layers of protection you might fantasize you had. It means that in memory passwords and encryption keys can be copied. It means that IO between other processes can be spied on. It means that all of the juicy locations to exploit for "return oriented programming" in order to gain local root will be laid bare. And so on.

That's why it's called meltdown. Imagine someone who had hand crafted the equivalent of a modern OS with all of the best practices in place for an internet server. You have kernel address randomization. You have each service running as its own non-privileged user and also in a chroot jail. You have your filesystem permissions locked down tight. And so on. All of that is gone out the window with meltdown, it doesn't matter, because even code running at the lowest possible privilege level can gain access to the contents of any part of kernel memory.

As for "workstation" systems. If you are behind a firewall, you never run untrusted code, and you have JS disabled then potentially you are safe.

Re:Intel CEO: Patches will come to 90% of chips in the next ... by rayiner on Wednesday January 10, 2018 @07:27AM (#16114434)
But on my home server, I don’t have layers protection and I don’t need them. If there is RCE that gets you into my RDP session, or my email, etc., you’ve got everything in the machine that’s worth having.
Re:Intel CEO: Patches will come to 90% of chips in the next ... by guelo on Tuesday January 09, 2018 @07:36PM (#16111578)
Or an internet connected or proxied web server with normal web server security precautions.
Re:Intel CEO: Patches will come to 90% of chips in the next ... by zorked on Tuesday January 09, 2018 @06:23PM (#16111124)
What happens when your trusted code gets exploited? That's also the reason why we have overhead in the form of ACLs, memory protection, ASLR, packet filtering, deprivileged processes, seccomp sandboxes, etc. even though in principle we're all running "trusted code".

Not saying that there isn't a scenario where it would be ok to turn that off, but it's the exception.

Re:Intel CEO: Patches will come to 90% of chips in the next ... by matteotom on Tuesday January 09, 2018 @07:28PM (#16111535)
Other commenters have addressed turning off kpti (nokpti boot flag), and Linus has said any additional protections should be toggle-able: https://lwn.net/Articles/743712/

So worst case you compile your own kernel

Re:Intel CEO: Patches will come to 90% of chips in the next ... by rollcat on Tuesday January 09, 2018 @06:28PM (#16111153)
On Linux, pass "pti=off" on kernel command line.
Re:Intel CEO: Patches will come to 90% of chips in the next ... by earenndil on Tuesday January 09, 2018 @11:16PM (#16112513)
(on linux) there's a way to disable it. AFAIK you add 'kpti=off' to the kernel command-line which is possible, e.g., by pressing 'c', from grub. IDK about other OSes.
Re:Intel CEO: Patches will come to 90% of chips in the next ... by dakerfp on Tuesday January 09, 2018 @06:20PM (#16111110)
that should be enabled by a boot flag
Re:Intel CEO: Patches will come to 90% of chips in the next ... by egl2016 on Tuesday January 09, 2018 @06:52PM (#16111305)
Stuxnet?