News for hackers. Stuff that matters.
Re:Google says Rowhammer attacks are gaining range as RAM is... by creato on Friday May 28, 2021 @03:06PM (#27319264)
DRAM manufacturers continue (knowingly at this point) to manufacture faulty products, and we should blame Intel?
Re:Google says Rowhammer attacks are gaining range as RAM is... by notriddle on Friday May 28, 2021 @03:31PM (#27319545)
Yes.

Intel is an industry leader. EFI, Thunderbolt, and the "ultrabook" product category are all their ideas. By adding a feature to their CPU products, they induce demand for anything that complements it.

By putting ECC support into their highest-end mobile CPUs only, they made them into high-end luxuries instead of industry standard. https://ark.intel.com/content/www/us/en/ark/search/featurefi...

Re:Google says Rowhammer attacks are gaining range as RAM is... by userbinator on Friday May 28, 2021 @09:41PM (#27322425)
As others have mentioned, ECC is nothing more than a bandaid for what is ultimately a defective product.
Re:Google says Rowhammer attacks are gaining range as RAM is... by staticassertion on Friday May 28, 2021 @11:49PM (#27322886)
I don't think that's true at all. ECC wasn't designed specifically with this attack in mind, and it's still a pretty effective mitigation.

There's nothing defective about RAM, it's never going to be the case that errors won't happen, it's just that before we were worried about heat and radiation and now we have to worry about attackers too.

Re:Google says Rowhammer attacks are gaining range as RAM is... by jolux on Friday May 28, 2021 @04:23PM (#27320024)
The Ultrabook brand was Intel's idea but I'm pretty sure it was created to make sure that the Wintel ecosystem could stay competitive with the MacBook Air.
Re:Google says Rowhammer attacks are gaining range as RAM is... by sroussey on Friday May 28, 2021 @05:17PM (#27320628)
That doesn’t explain Apple and the M1 though.
Re:Google says Rowhammer attacks are gaining range as RAM is... by gugagore on Friday May 28, 2021 @03:16PM (#27319383)
I am not familiar with DRAM spec sheets, but are manufacturers specifying that there will be zero errors?

Without a specification that says so, I don't think it's necessarily the fault of the manufacturer if they cannot build perfect RAM!

Suppose someone builds a car with one these computers in a safety-critical role, and then someone gets injured because of an error that "originated" with the RAM.

Re:Google says Rowhammer attacks are gaining range as RAM is... by rini17 on Friday May 28, 2021 @05:48PM (#27320927)
They specify timing and when it is followed, RAM should work without fault.

But if there are corner cases like this, they should be added to specs. Most likely it would require memory controller to remember last addresses and insert delays if rowhammer attempt is detected. And/or make CPU microoperation scheduler avoid it. No idea how expensive would that be, surely nontrivial.

Re:Google says Rowhammer attacks are gaining range as RAM is... by kevingadd on Saturday May 29, 2021 @12:48AM (#27323095)
There are already measures like that where the memory controller attempts to identify "victim rows" and refresh them, but attacks can fool the victim row detection and succeed anyway.
Re:Google says Rowhammer attacks are gaining range as RAM is... by rocqua on Friday May 28, 2021 @05:48PM (#27320931)
If my car's spec doesn't say "the wheels stay on" and then the wheels fall off, the car is still defective.
Re:Google says Rowhammer attacks are gaining range as RAM is... by userbinator on Friday May 28, 2021 @09:39PM (#27322410)
The true safety-critical stuff is far from ordinary and would never use commodity DRAM.
Re:Google says Rowhammer attacks are gaining range as RAM is... by GekkePrutser on Friday May 28, 2021 @05:38PM (#27320836)
They could include ECC but it wouldn't work on most systems so why would they bother?

At least on AMD it works these days.

Re:Google says Rowhammer attacks are gaining range as RAM is... by nightfly on Friday May 28, 2021 @05:47PM (#27320916)
How many times more expensive would DRAM that is immune to rowhammer cost?
Re:Google says Rowhammer attacks are gaining range as RAM is... by staticassertion on Friday May 28, 2021 @09:10PM (#27322281)
Not an expert, but I feel like the answer is not much. ECC RAM is not, to my knowledge, considerably more expensive to produce - the reason it costs more is because it only works with specific devices, so it's more of a market cost.

ECC RAM is pretty effective as-is against rowhammer, and imo you could very likely tweak ECC's approach to get even further.

The 'worst case' solution wouldn't be more than 2x, right? Since you'd just have to keep a clone of RAM, but obviously shuffled so that the same errors wouldn't occur in the same places. So 2x seems like the sort of absurd upper bound, but I feel like we could do a lot better.

Re:Google says Rowhammer attacks are gaining range as RAM is... by Dylan16807 on Saturday May 29, 2021 @02:38AM (#27323479)
My understanding is that rows in memory chips have thousands of bits in them. If you add 10-20 more to act as a refresh counter, then you can trigger extra refreshes if it gets high enough. Done right, that should give you immunity to rowhammer, while only costing a fraction of a percent in extra die space. And you won't be able to trick it like you can hash-table-based refresh counters.
Re:Google says Rowhammer attacks are gaining range as RAM is... by userbinator on Friday May 28, 2021 @09:40PM (#27322421)
Mid 2008 or so I think was when rowhammer-prone DRAM started appearing, so consider the density of that DRAM compared to today.