Incident report
LeftoverLocals Multi-Tenant GPU Local Memory Leakage Across LLM Inference
CVE-2023-4969 (LeftoverLocals, disclosed by Trail of Bits on January 16, 2024) exposed a hardware/driver isolation vulnerability across Apple, Qualcomm, AMD, and Imagination GPU frameworks. Because GPU local memory buffers were not zeroed between kernel invocations from separate OS processes, a co-resident unprivileged attacker could allocate local memory and recover megabytes of residual weights or hidden states left behind by another tenant's LLM inference pass. Researchers demonstrated reconstructing interactive responses from llama.cpp sessions running concurrently on affected shared GPUs. Hardware vendors released driver and compiler mitigations to clear local memory on kernel exit, while cloud operators must isolate sensitive inference workloads onto dedicated GPU partitions.
Incident record
- Reported
- Severity
- High
- Vector
- Data Exfiltration
- Affected system type
- Shared Multi-Tenant GPU Inference Hardware
- Reference
CVE-2023-4969- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2023-4969
Defensive lesson
Apply GPU driver patches that zero local memory on kernel exit and enforce dedicated physical GPU or MIG isolation for multi-tenant LLM inference.
Referenced techniques
- Supply Chain Compromise: Hardware AML.T0010.000
- AI Artifact Collection AML.T0035
- Data from AI Services: Conversation Context and Memory AML.T0085.002
- Outputs from AI Models AML.T0135
- Recover AI Model Internals AML.T0144