News for hackers. Stuff that matters.
Re:New pixel-stealing attack works against GPUs from all 6 m... by yjftsjthsd-h on Tuesday September 26, 2023 @09:40PM (#37668672)
> Here's how it works: a stack of SVG filters is created. These filters are constructed so that they will tend to be faster processing a dark pixel than they will be processing a light pixel.

Why/how is that a thing? I know I'm ignorant, but I would natively expect the processing to be a deterministic series of mathematical operations that don't really care what values get fed through.

Edit: Is it something about branching to to handle an upper/lower bound?

Re:New pixel-stealing attack works against GPUs from all 6 m... by Waterluvian on Tuesday September 26, 2023 @09:51PM (#37668788)
Not sure. But web implementations are often highly optimized given just how much they get run. Perhaps one of the filters short circuits and does no work on black pixels because, I dunno, what’s a Gaussian blur of a white circle on a white background?
Re:New pixel-stealing attack works against GPUs from all 6 m... by comex on Tuesday September 26, 2023 @10:29PM (#37669150)
It’s based on compression. The paper explains how the GPU stores pixels in memory in a losslessly compressed format in order to speed up data transfers. And the filter stack is designed so that a dark pixel input produces an all-black output (very compressible), while a light pixel input produces noise as output (very incompressible).

Link to original paper:

https://www.hertzbleed.com/gpu.zip/GPU-zip.pdf