BlockJack redirects KV-cache reads between LLM requests

Paper / preprint arXiv cs.CR · Reported findings, not independently verified by us.

A study introduces BlockJack, a fault attack that can redirect KV-cache reads between users’ requests in paged LLM-serving systems. The researchers report that this can expose private context or influence responses without changing model parameters, prompts, or stored KV states.

The attack targets block tables, which map a request’s logical KV blocks to physical memory blocks. If table entries are corrupted, a read can point to blocks assigned to another request instead of the requester’s own cache. The paper examines these mappings in vLLM and characterizes conditions under which potential target blocks can be predicted.

The researchers report tests on seven models from the Qwen, Llama, Gemma, and Phi families. In an integrity experiment using a medical benchmark of 248 scenes, up to 41.1% of responses recommended less urgent care while still appearing consistent with the affected user’s question. The study also demonstrates the attack’s physical feasibility using Rowhammer.

As a defense, the authors examined validating memory assignments. Following responsible disclosure, vLLM and Sonar confirmed the vulnerability and proposed patches that the authors say they reviewed and validated. The source excerpt does not specify the patches’ general availability or deployment status, or further conditions for real-world use. The original paper provides details on the attack and defense: BlockJack on arXiv

🇬🇧 https://arxiv.org/abs/2611.25945v1

Leave a Comment

The weekly brief: selected developments, projects and videos