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

Inspect in Interactive Incidents Hub

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