News for hackers. Stuff that matters.
Re:VME Broken on AMD Ryzen by userbinator on Friday May 12, 2017 @10:15PM (#14329261)
As incredible as it is, Ryzen has buggy VME implementation

What I find more incredible is that this bug could get by without being noticed. A CPU literally has billions of possible regression tests --- all the world's existing software --- and of everyone working on the project, not a single one thought to try some older software (XP/2k3 is not even that old, as far as x86 compatibility is concerned) to see if it worked? This is an old feature too, meaning it should've been well-characterised by now. I'm particularly surprised that FreeDOS is affected, since it's commonly used as a minimal "non-OS" OS for running things like low-level diagnostics and debugging of hardware.

This begs the question: if old features are this broken, what about the new ones (for which there is far less software available to test them with)? I think the most recently discovered one was https://news.ycombinator.com/item?id=13924192

Re:VME Broken on AMD Ryzen by qb45 on Saturday May 13, 2017 @03:08AM (#14329860)
> This begs the question: if old features are this broken, what about the new ones

You can find so called "specification updates", which - as the name implies - update the specs to match actually released hardware ;)

Available for all CPU families from both Intel and AMD, easily go into tens or hundreds of positions. (Though I haven't seen the Ryzen one released yet).

And then somebody recently linked this (2010) - allegedly there are bugs exploitable for privilege escalation:

http://cs.dartmouth.edu/~sergey/cs258/2010/D2T1%20-%20Kris%2...

Re:VME Broken on AMD Ryzen by dom0 on Saturday May 13, 2017 @04:44AM (#14330044)
> Transfer of the file you were trying to download or upload has been blocked in accordance with company policy. Please contact your system administrator if you believe this is in error.

That comes from their end.

Re:VME Broken on AMD Ryzen by qb45 on Saturday May 13, 2017 @06:32AM (#14330261)
Weird, maybe you are IP banned or it actually is some corp firewall on your side.

It's a conference presentation titled "Remote Code Execution through Intel CPU Bugs" by Kris Kaspersky and Alice Chang. Google finds copies elsewhere.

I can't say that I see how the "remote" part could possibly work, but as for local exploitation, errata often state that things like "data corruption" or "unpredictable behavior" can happen under "certain internal conditions" so this stuff may be exploitable if one can execute arbitrary instructions which trigger these internal conditions.

Re:VME Broken on AMD Ryzen by dom0 on Saturday May 13, 2017 @08:24AM (#14330602)
Re:VME Broken on AMD Ryzen by nine_k on Friday May 12, 2017 @11:58PM (#14329474)
Old features, especially this old, fossil-level old, are just not used in real life. Modern software never enters this ancient mode for any reason. Ancient software is emulated in software again, e.g. in DOSbox.

New features are actively used, and thus actively tested. They are likely much less broken than disused old ones.

Re:VME Broken on AMD Ryzen by qb45 on Saturday May 13, 2017 @02:53AM (#14329826)
DOSBox can't run various firmware update and low-level hardware diagnostics tools that are still used in real life under DOS running on bare metal.

And Windows XP might be out of support but it still is used in some places too. And even if it wasn't, somebody could still think of using it as a test case to increase coverage. It would be extremely lame if some bug which crashes newer Windows in 0.1% of cases turned out to be trivially detectable in XP.

Re:VME Broken on AMD Ryzen by nikanj on Saturday May 13, 2017 @03:47AM (#14329941)
As we have learned today, the UK NHS is very much still on XP.
Re:VME Broken on AMD Ryzen by floatboth on Saturday May 13, 2017 @06:50AM (#14330314)
They probably aren't gonna buy Ryzens.

IIRC Ryzen and Kaby Lake were both announced with "only Windows 10 is going to be officially supported"…

Re:VME Broken on AMD Ryzen by Dylan16807 on Saturday May 13, 2017 @09:34AM (#14330872)
Ah but XP isn't supported on anything, and the update-blocking code doesn't affect you when there are no updates.

So no reason not to use Ryzen.

Re:VME Broken on AMD Ryzen by qb45 on Saturday May 13, 2017 @08:59AM (#14330720)
Yes, they will have to buy Intel to avoid this bug.
Re:VME Broken on AMD Ryzen by awordnot on Saturday May 13, 2017 @04:03AM (#14329979)
But this bug literally couldn't crash any modern OS as the feature is not available in 64-bit mode.
Re:VME Broken on AMD Ryzen by djsumdog on Saturday May 13, 2017 @02:59AM (#14329838)
The thing about regression tests, is that this mistake won't be made again. Now AMD will add these tests. For now, they may issue microcode updates or workaround patches for popular VM software.

You don't catch ever bug with a suite of unit tests. But automated regression tests do ensure you don't replicate a failure condition.