A new vulnerability dubbed 'LeftoverLocals' affecting graphics processing units from AMD, Apple, Qualcomm, and Imagination Technologies allows retrieving data from the local memory space. Tracked as CVE-2023-4969, the security issue enables data recovery from vulnerable GPUs, especially in the context of large language models (LLMs) and machine learning (ML) processes. LeftoverLocals was discovered by Trail of Bits researchers Tyler Sorensen and Heidy Khlaaf, who reported it privately to the vendors before publishing a technical overview. The security flaw stems from the fact that some GPU frameworks do not isolate memory completely and one kernel running on the machine could read values in local memory written by another kernel. Trail of Bits researchers Tyler Sorensen and Heidy Khlaaf, who discovered and reported the vulnerability, explain that an adversary only needs to run a GPU compute application (e.g. OpenCL, Vulkan, Metal) to read data a user left in the GPU local memory. "Using these, the attacker can read data that the victim has left in the GPU local memory simply by writing a GPU kernel that dumps uninitialized local memory" - Trail of Bits LeftoverLocals lets attackers launch a 'listener' - a GPU kernel that reads from uninitialized local memory and can dump the data in a persistent location, such as the global memory. If the local memory is not cleared, the attacker can use the listener to read values left behind by the 'writer' - a program that stores values t...
AMD, Apple, Qualcomm GPUs leak AI data in LeftoverLocals attacks
BleepingComputer
·Bill Toulas
·Published Jan 17, 2024
·Updated
Affected Software
5 affected components
AMD graphics processing units
Apple A17
Apple M3
Apple M2-powered computers
Imagination DDK v23.3
Frequently Asked Questions
1
What is the main topic of this article?
The article discusses a vulnerability called 'LeftoverLocals' that affects graphics processing units from multiple vendors.
2
What security implications are discussed?
The vulnerability allows attackers to retrieve sensitive data from the local memory space of affected GPUs.
3
What products or software are affected by the LeftoverLocals vulnerability?
Affected products include AMD graphics processing units, Apple A17 and M2-powered computers, and Imagination DDK v23.3.
4
Who are the vendors impacted by this security issue?
The vendors impacted by the LeftoverLocals vulnerability are AMD, Apple, Qualcomm, and Imagination Technologies.
5
What is the CVE identifier for this security vulnerability?
The LeftoverLocals vulnerability is tracked as CVE-2023-4969.