Metraipolis › archive › dc_47d34859065b
Governing the KV Cache: Preventing Timing Side-Channel Leakage in Multi-Tenant LLM Inference — arXiv:2608.09225
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.09225
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-19T08:58:21.687Z
- SHA-256 of the archived text
7cf8d6bd13d3bd9c9aa34a4346a27ecb348d8b68b148233812db5accef90dbdd- Stable URL of this page
https://metraipolis.com/documento/dc_47d34859065b
How to cite
Governing the KV Cache: Preventing Timing Side-Channel Leakage in Multi-Tenant LLM Inference — arXiv:2608.09225 — arXiv (en), https://arxiv.org/abs/2608.09225 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_47d34859065b (Metraipolis archive dc_47d34859065b, sha256 7cf8d6bd13d3bd9c9aa34a4346a27ecb348d8b68b148233812db5accef90dbdd)
BibTeX
@misc{dc47d34859065b,
title = {Governing the KV Cache: Preventing Timing Side-Channel Leakage in Multi-Tenant LLM Inference — arXiv:2608.09225},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.09225},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_47d34859065b; sha256 7cf8d6bd13d3bd9c9aa34a4346a27ecb348d8b68b148233812db5accef90dbdd},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.09225. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
The key-value (KV) cache is the primary throughput optimization in modern large language model (LLM) inference, enabling prefix reuse across requests. In multi-tenant deployments this cache is shared across tenants, creating a timing side channel: an adversarial tenant can reconstruct another tenant's private prompt by probing cache-hit latency. Three published attacks exploit it -- PROMPTPEEK, EarlyBird and InputSnatch -- reaching up to 100% attack success rate against unprotected vLLM and SGLang, with rates varying by cache architecture and prompt structure. We present KVGov, a governance layer addressing all three attack families' prefix-cache paths under one mechanism. A per-principal salt sigma_p = HMAC_K(secret, principal_id) seeds the block-hash chain, making cache keys cryptographically disjoint across principals. An ablation (N=1000 trials, seed 2026, deterministic judges) isolates this salt as the necessary and sufficient component. KVGov adds ORIGAMI, a Stackelberg water-filling audit scheduler that reduces adversary expected utility by 12.6% at realistic tenant heterogeneity (Gini 0.63), and an evolutionary stability analysis giving a 31.6% adversary-prevalence tipping point below which global caching remains stable. On real hardware (Qwen2.5-7B-Instruct, vLLM 0.26.0, NVIDIA A100) we measure a gate-verified cold/cached TTFT ratio of 0.22, confirming the channel is exploitable at production scale; the defense itself is evaluated in simulation calibrated to those measurements. We replicate the channel on an independent stack ( this http URL on Apple Metal, ratio 0.093). Finally, isolation and cache efficiency need not conflict: identifying information resides only where prompts diverge, so injecting the salt at that boundary rather than the chain root retains an estimated 93% of the prefix-cache benefit with no cross-principal signal. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-08-11 in cs.CR). Categorie arXiv: Cryptography and Security (cs.CR) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2608.09225 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-19T08:54:24.966Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-08-11?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).