tl;dr GPU drivers made by various vendors do not sanitize compute unit hardware scratch memory between uses, so you can just freely read whatever the last user left laying around when they stopped. Literally too incompetent to follow even basic security 101 practices. A time shared device must be sanitized between users to prevent state leakage. There is no reason to believe that a security culture that clueless when…
It's not so simple. For example Windows takes over GPU memory control, it virtualizes it, and allocates it to various applications, zeros it, etc...
LeftoverLocals: Listening to LLM responses through leaked GPU local memory
11–20 of 42 posts
Re: LeftoverLocals: Listening to LLM responses through leaked GPU local memory
#12tl;dr GPU drivers made by various vendors do not sanitize compute unit hardware scratch memory between uses, so you can just freely read whatever the last user left laying around when they stopped. Literally too incompetent to follow even basic security 101 practices. A time shared device must be sanitized between users to prevent state leakage. There is no reason to believe that a security culture that clueless when…
And Imagination. Notably Intel and Nvidia were not impacted. I wonder if the security hardening that Google worked on with Nvidia for Stadia helped prevent this
Re: LeftoverLocals: Listening to LLM responses through leaked GPU local memory
#13Re: LeftoverLocals: Listening to LLM responses through leaked GPU local memory
#14If your data is that sensitive, run it on dedicated hardware. Papering over this with mitigation over mitigation is a fool’s errand: both a genuine waste of compute resources and guaranteed to be a game of cat and mouse.
Re: LeftoverLocals: Listening to LLM responses through leaked GPU local memory
#15Does anyone know if nvidia's virtual gpus improve the isolation at all?
Re: LeftoverLocals: Listening to LLM responses through leaked GPU local memory
#16tl;dr GPU drivers made by various vendors do not sanitize compute unit hardware scratch memory between uses, so you can just freely read whatever the last user left laying around when they stopped. Literally too incompetent to follow even basic security 101 practices. A time shared device must be sanitized between users to prevent state leakage. There is no reason to believe that a security culture that clueless when…
And Imagination. Notably Intel and Nvidia were not impacted. I wonder if the security hardening that Google worked on with Nvidia for Stadia helped prevent this
Re: LeftoverLocals: Listening to LLM responses through leaked GPU local memory
#17Earlier quoted context omitted.
And Imagination. Notably Intel and Nvidia were not impacted. I wonder if the security hardening that Google worked on with Nvidia for Stadia helped prevent this
Jeez, I hope it did not require “security hardening” for Nvidia to do something this basic. If these other vendors missed some tiny corner resulting in state leakage, that would be understandable. But, forgetting to clear local memory is just inexcusable. Imagine a OS forgetting to replace your general purpose registers across context switches. Only a rank incompetent and useless security process would let something…
You’d be surprised by how many security issues exist in GPU drivers
Re: LeftoverLocals: Listening to LLM responses through leaked GPU local memory
#18GPU memory isolation is generally really bad, from between processes and entire virtual machines. Does anyone know if nvidia's virtual gpus improve the isolation at all?
Re: LeftoverLocals: Listening to LLM responses through leaked GPU local memory
#19Is this the Golden Age of hardware vulnerabilities?