News for hackers. Stuff that matters.
Re:Finding a CPU Design Bug in the Xbox 360 by SolarNet on Monday January 08, 2018 @04:57AM (#16095725)
Data and code are not quite so interchangeable (thankfully). Typically programs have code segments and data segments, and processors actually have support for specifying the difference in behavior. A branch predictor would probably not run against pointers to memory segments without the execute bit set.
Re:Finding a CPU Design Bug in the Xbox 360 by SomeHacker44 on Monday January 08, 2018 @10:30AM (#16097361)
Actually, this is exactly the assumption that led to the Meltdown bug. The Intel CPU speculative (non-retired) instruction pipeline runs instructions which access memory and load it into cache and execute the instructions, delaying the check that the memory is accessible within the current context until later (just before instruction retirement).

It's certainly possible that a CPU could delay the same sort of exception processing for "NX" flags until later in the pipeline, but still before retirement, allowing a similar sort of problem as Meltdown.

Re:Finding a CPU Design Bug in the Xbox 360 by katastic on Monday January 08, 2018 @09:29AM (#16096899)
... unless they suffer from the same problem as Intel CPU's Meltdown fiasco. Where the branch prediction runs concurrently with the security checking. The branch predictor hits and speculates, firing the bug, while the security check then decides "that's an invalid branch" and discard it--but it's too late the bug side-effect his occurred.

But I think for it to happen randomly, you'd need an invalid pointer that just so happens to jump to what "becomes" an instruction with a bug, and a branch. That seems pretty rare on first glance.