arXiv:2609.06853cs.CRSep 2026

Manuscript Offprint

arXiv:2609.06853

Characterizing Contention-Induced Reliability Collapse in KV-Cache Timing Side Channels for Multi-Tenant LLM Serving

Rana Abu Bakar

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Rana Abu Bakar

Abstract—Shared key-value (KV) cache reuse improves the efficiency of large language model (LLM) serving, but it can also create a timing side channel that shows whether a prefix is already cached. Previous work has shown that this type of attack is possible, but it is still not clear how reliable the timing signal remains when the server is used by several tenants at the same time. In this paper, we study this problem on live shared LLM-serving systems through seven experiments. We vary background load, request size, measured request overlap, concurrency depth, deployment setup, and serving framework. On the main vLLM server running DeepSeek-R1-Distill-Llama-8B on NVIDIA GB10, the timing signal drops strongly when contention starts. Mean Cohen's dd decreases from 0.7789 with no synthetic workers to 0.2109 with two workers (t=8.412t = 8.412), while adding more workers does not cause a statistically detectable further drop. A 120-run sparse-overlap experiment gives a breakpoint at the edge of the measured range (τ^=0,95%\hat{\tau} = 0, 95\% CI [0.000,0.113][0.000, 0.113]), which supports an ambient-versus-loaded regime change instead of an internal physical threshold. AUROC decreases from 0.650 in the ambient condition to 0.531 near 61% measured overlap and then increases partly to 0.574 at saturation. Concurrency-depth variance has the strongest measured relation with effect size (r=−0.416r = -0.416) and hit consistency (r=−0.637r = -0.637), which suggests that changes in concurrent activity matter more than overlap level alone. An interleaved experiment keeps the same non-monotonic ordering and reduces the concern about time-of-day effects. Finally, the main collapse is also reproduced on a real two-node, two-GPU tensor-parallel vLLM setup, where mean dd falls from 3.418 to 0.511 (Welch t≈4.09,p<0.01t \approx 4.09, p < 0.01). Two SGLang pilots do not show the same direction, but both results are statistically inconclusive and were collected under an MPS co-resident setup. Overall, the results show that KV-cache timing reliability depends strongly on the load regime and serving stack, and measurements collected on a quiet system can overestimate the reliability of an attack in a real shared environment.

Index Terms—LLM serving, KV cache, timing side channel, multi-tenancy, contention, vLLM, prefix caching, GPU scheduling.

I. INTRODUCTION

MODERN LLM services multiplex requests from independent users on shared accelerators. Continuous batching, paged KV-cache management, and prefix reuse improve throughput, but they also make latency depend on shared state. Automatic prefix caching is security relevant because a request whose prefix is already cached avoids part of the prefill computation, creating a remotely observable timing difference.

PROMPTPEEK [1], EarlyBird [2], and InputSnatch [3] show that cache-timing leakage can support cache-state infer-

ence and prompt reconstruction. PROMPTPEEK also studies concurrency, reporting a clear reduction in extracted prompt length beyond roughly 200 configured concurrent users as GPU memory pressure accelerates KV-cache eviction. That result is important, but it measures attack extraction completeness under a configured user-count sweep rather than the statistical reliability of the timing signal itself. SafeKV [4] and KVGov [5] instead focus on defense and governance. Thus, prior work establishes both feasibility and load sensitivity, but does not characterize effect size, AUROC, hit consistency, or repeated-probe reliability against directly measured contention and concurrency structure.

We study that gap on a live production vLLM server with uncontrolled real-user traffic present throughout. Synthetic co-tenant traffic is superimposed to vary contention in a repeatable way. The central result is a regime change: the largest loss occurs when sustained synthetic contention appears, not as a smooth function of worker count. We then replace configured worker count with measured request overlap, deliberately sample sparse overlap across the full range, quantify attacker success, and derive concurrency depth from request intervals.

The paper makes five contributions. First, it provides a controlled characterization of KV-cache timing reliability under concurrent serving on a live multi-user stack. Second, it demonstrates a reproducible contention-onset collapse across several workload designs, with a strong zero-to-loaded transition and no detectable monotonic degradation at higher worker counts. Third, it directly tests the threshold hypothesis with 120 sparse-overlap runs and shows that the best breakpoint is at the boundary, while attack-level AUROC and repeated-probe success remain measurable. Fourth, it shows that concurrency-depth variance explains residual instability better than overlap fraction or binary contention presence and validates the main non-monotonic ordering with an interleaved control. Fifth, it adds an independent-node and cross-framework/multi-GPU replication: the central collapse reproduces significantly on distributed two-GPU vLLM, while SGLang pilots remain inconclusive under an MPS co-residency confound.

We do not claim that contention is a defense, that the timing channel disappears, or that the observed response is universal across hardware or serving frameworks. Our claim is narrower: operational attack reliability on vLLM is strongly load-regime dependent, simple overlap/utilization proxies are insufficient, and the framework itself may materially shape the observed response.

This work has been submitted to IEEE Transactions on Dependable and Secure Computing (TDSC) for possible publication.