Re:Potential Impact of Spectre on Processors in the Power fa...
by skissane on Friday January 05, 2018 @06:02PM
(#16082558)
The AS/400 nowadays is called "IBM i". The note says IBM i is affected: "AIX and i operating system patches will start to become available February 12".
Since the mid-1990s it has run on POWER so if POWER is affected it obviously would be too.
Re:Potential Impact of Spectre on Processors in the Power fa...
by sllabres on Saturday January 06, 2018 @06:33AM
(#16084817)
I dont find something mentioning Spectre or Meltdown in the original blog post fom IBM, but POWER 6 (2007) is most probably not affected by Metdown as it is an in-order architecture.
Re:Potential Impact of Spectre on Processors in the Power fa...
by skissane on Friday January 05, 2018 @06:10PM
(#16082601)
Well, if you consider PASE lets you run AIX binaries, if it is exploitable on AIX the same exploit would probably work on IBM i. (PASE only supports a subset of AIX system calls though.)
Also, if it is exploitable from Java, nowadays the IBM i JVM is J9, almost the same as AIX. (This used to be different – the "Classic JVM" was integrated into the TIMI infrastructure, so quite different from JVMs on other platforms.)
Re:Potential Impact of Spectre on Processors in the Power fa...
by carey on Saturday January 06, 2018 @01:26AM
(#16084136)
I'm more interested in the non-PASE (more accurately, non-Teraspace) situation. The single level store maps every program into the same address space. Will POWER speculatively access another user's data before it discovers that the pointer is invalid or the array index is out of range?
Re:Potential Impact of Spectre on Processors in the Power fa...
by Fnoord on Friday January 05, 2018 @06:10PM
(#16082599)
Its called IBM System i nowadays, and hasn't been called AS/400 since 2000 [1].
FTA: "We will provide further communication on supported generations prior to POWER7+, including firmware patches and availability."
POWER7+ is used in since 2012. They all seem to be based on POWER architecture these days (first devices using PowerPC/POWER3 in 1997).
Also of note, the firmware patches will be available on jan 9 but they also require OS patches. The Linux patches will be available on jan 9 and the AIX patches arrive on feb 12. They don't mention IBM i (OS/400) at all.
Re:Potential Impact of Spectre on Processors in the Power fa...
by pokoleo on Friday January 05, 2018 @06:37PM
(#16082739)
> If this vulnerability poses a risk to your environment, the first line of defense is the firewalls and security tools that most organizations already have in place.
Re:Potential Impact of Spectre on Processors in the Power fa...
by mtkd on Friday January 05, 2018 @07:16PM
(#16082931)
AS/400 attacks are a whole next level of interest after first wave of Spectre on Intel/AMD etc.
This is a much bigger can of worms than any vendor is admitting to right now. Those documented Spectre attacks were crafted by a handful of researchers - the world knows about the class of attack now - it'll be months or years before mitigation is fully understood - if mitigation is even possible.
You can guarantee there are a lot more people are looking to exploit than fix right now.
Re:Potential Impact of Spectre on Processors in the Power fa...
by InclinedPlane on Friday January 05, 2018 @08:17PM
(#16083219)
The only way to exploit these vulnerabilities is to run code on target machines. If that's not possible then the vulnerability is irrelevant. Using firewalls to keep attackers away from your vulnerable machines is a viable strategy in this case.
Re:Potential Impact of Spectre on Processors in the Power fa...
by ams6110 on Friday January 05, 2018 @08:30PM
(#16083278)
Conventional thinking is that if a malicious user can run code on your system, you've lost. In that sense, this is just another local exploit, of which there are many.
Re:Potential Impact of Spectre on Processors in the Power fa...
by InclinedPlane on Friday January 05, 2018 @08:35PM
(#16083302)
This includes fully sandboxed code, however, which is an important distinction. The fact that a driveby javascript exploit could potentially result in leaking every important secret from your system (logins, encryption keys, what-have-you) is why people are taking this so seriously.
Re:Potential Impact of Spectre on Processors in the Power fa...
by im3w1l on Saturday January 06, 2018 @03:14AM
(#16084365)
I assume exploitability through javascript depends very strongly on how the browser treats it. If it's jit-ed to optimal machine code it should be easy. If it's interpreted it should be harder.
So question is, can the Javascript engine generate suboptimal but safe machine code?
Re:Potential Impact of Spectre on Processors in the Power fa...
by petecox on Friday January 05, 2018 @09:21PM
(#16083473)
Algorithmically is it possible to pass only 'safe' interpreted code to the CPU? The majority of Javacript engines (Chakra, V8, Spidemonkey and JavasciptCore) are under a security-auditable FOSS license. Browsers claiming Spectre/Meltdown immunity would be in the next release notes, surely.
I'm not discounting that CPUs should operate correctly into the future but the current sandboxes would seem to rely on whims of a CPU's microcode. And the question for browser makers is whether to trust them.
Re:Potential Impact of Spectre on Processors in the Power fa...
by kazagistar on Saturday January 06, 2018 @01:46AM
(#16084186)
Its not about algorithms. The issue is mentioned in the paper: even if the cache-based side channels are stopped (lets say, by manually clearing any cached memory as soon as its accessed, reducing performance to 0.1% of what it is now) there are other potential side channels like through limited CPU resources. A lot of the "fixes" might just be mitigations, that don't solve the problem entirely, but make it take much longer. Maybe you can cover up enough holes, and make the timers available poor enough that it takes a few hours or days to read a single byte. In other words, mitigations to make things less simple.
Re:Potential Impact of Spectre on Processors in the Power fa...
by lgessler on Friday January 05, 2018 @06:53PM
(#16082824)
I think they're imagining situations where an attacker could gain user-level access to a machine that normally wouldn't be accessible to them at all, e.g. a web server with a weak SSH login.
Re:Potential Impact of Spectre on Processors in the Power fa...
by Fnoord on Friday January 05, 2018 @06:23PM
(#16082672)
> and Meltdown only affects Intel processors as far as we know.
I made a post stating the same, but this is not true [1]:
ARM has reported that the majority of their processors are not vulnerable, and published a list of the specific processors that are affected. However, the ARM Cortex-A75 core is affected directly by the Meltdown vulnerability, and cores Cortex-A15, Cortex-A57, and Cortex-A72 are affected by variations of the Meltdown vulnerability. This contradicts some early statements made about the Meltdown vulnerability as being Intel only.
A large portion of the current mid-range Android handsets use the Cortex-A53 or Cortex-A55 in an octa-core arrangement and are not affected by either the Meltdown or Specter vulnerability as they don't do out-of-order execution. This includes devices with the Qualcomm Snapdragon 630, Snapdragon 626, Snapdragon 625, and all Snapdragon 4xx processors based on A53 or A55 cores.
Edit: I'm referring to the System/38 architecture that used capability-based addressing.
Since the mid-1990s it has run on POWER so if POWER is affected it obviously would be too.
Also, if it is exploitable from Java, nowadays the IBM i JVM is J9, almost the same as AIX. (This used to be different – the "Classic JVM" was integrated into the TIMI infrastructure, so quite different from JVMs on other platforms.)
FTA: "We will provide further communication on supported generations prior to POWER7+, including firmware patches and availability."
POWER7+ is used in since 2012. They all seem to be based on POWER architecture these days (first devices using PowerPC/POWER3 in 1997).
Also of note, the firmware patches will be available on jan 9 but they also require OS patches. The Linux patches will be available on jan 9 and the AIX patches arrive on feb 12. They don't mention IBM i (OS/400) at all.
[1] https://en.wikipedia.org/wiki/IBM_System_i
How would firewalls mitigate these attacks?
This is a much bigger can of worms than any vendor is admitting to right now. Those documented Spectre attacks were crafted by a handful of researchers - the world knows about the class of attack now - it'll be months or years before mitigation is fully understood - if mitigation is even possible.
You can guarantee there are a lot more people are looking to exploit than fix right now.
If you don’t run unvetted code on your system and it’s not directly accessible over the network you limit your attack surface considerably.
Limiting the attack surface is also why browser mitigation against SPECTRE are worthwhile.
So question is, can the Javascript engine generate suboptimal but safe machine code?
I'm not discounting that CPUs should operate correctly into the future but the current sandboxes would seem to rely on whims of a CPU's microcode. And the question for browser makers is whether to trust them.
in other words, the halting problem?
We are doomed
The submitted title was "IBM POWER impacted by Meltdown/Spectre", which broke the HN guidlines (please read those before submitting: https://news.ycombinator.com/newsguidelines.html).
FWIW, it’s POWER not Power.
I made a post stating the same, but this is not true [1]:
ARM has reported that the majority of their processors are not vulnerable, and published a list of the specific processors that are affected. However, the ARM Cortex-A75 core is affected directly by the Meltdown vulnerability, and cores Cortex-A15, Cortex-A57, and Cortex-A72 are affected by variations of the Meltdown vulnerability. This contradicts some early statements made about the Meltdown vulnerability as being Intel only.
A large portion of the current mid-range Android handsets use the Cortex-A53 or Cortex-A55 in an octa-core arrangement and are not affected by either the Meltdown or Specter vulnerability as they don't do out-of-order execution. This includes devices with the Qualcomm Snapdragon 630, Snapdragon 626, Snapdragon 625, and all Snapdragon 4xx processors based on A53 or A55 cores.
[1] https://en.wikipedia.org/wiki/Meltdown_(security_vulnerabili... (contains further references)