Chiosa
AI Security & Safety

BlockJack redirects cached language-model state between tenants

3 min
Updated

In plain words

BlockJack is an attack that changes a small memory-mapping entry used by a language-model service shared by multiple tenants. The entry decides which stored request information the model reads.

Changing it can make one request read another tenant’s cached information, or make a victim’s response use information supplied by an attacker.

In software-emulated tests on vLLM, one changed entry exposed victim-derived information in all seven tested models. The study also found altered medical advice in some tested scenarios, with rates that varied across models and evaluators.

The research

A shared serving system can keep requests separate in their data while still relying on metadata to decide which cached state each request reads.

This result changes the security question: protecting model weights and cached values alone may leave a route for one tenant’s context to shape another tenant’s answer.

BlockJack corrupts a request’s cache mapping to redirect reads between tenants, testing whether this metadata fault can disclose context or alter responses.

In software-emulated vLLM tests, one changed block-table entry exposed victim-derived information in all seven tested models.

For response alteration, five language-model judges assessed whether each of 248 medical scenarios produced less urgent advice that still fit the patient’s question; rates ranged from 5.2% to 41.1% across model–judge pairs.

Together, the outcomes show that changing which cached state a request reads can affect both confidentiality and response integrity under the tested conditions.

The broad model result comes from software-emulated faults on vLLM. Physical Rowhammer was demonstrated only on CPU-backed vLLM with one model; reproductions on other frameworks also used software-emulated faults.

What the evidence shows

  • A different fault target

    BlockJack is a fault-injection attack that changes the mapping selecting which stored key-value cache states a request reads. Earlier fault attacks discussed in the paper changed model weights or cached values.

    By targeting the mapping metadata instead, BlockJack investigates whether one tenant’s request can be redirected to another tenant’s cached state.

  • Disclosure across tested models

    On vLLM, software-emulated corruption of one block-table entry exposed victim-derived information in responses from all seven tested models. The comparison is with the same serving setup using the uncorrupted mapping.

    This shows that the redirection mechanism produced disclosure across the models tested, without showing that every model or serving setup behaves the same way.

  • Altered advice varies by model

    The response-alteration test used medical scenarios and asked whether advice became less urgent while remaining consistent with the patient’s question. Five language-model judges assessed urgency and fit; researchers calculated the share of scenarios meeting both conditions.

    Across model–judge combinations, this covert downgrade rate ranged from 5.2% to 41.1%, showing substantial variation rather than one uniform rate.

  • Matched symptoms clarify the pattern

    To test whether the attacker’s substituted symptoms mattered, the researchers kept the victim’s query and chief complaint matched while changing the attacker’s symptoms from benign to routine. The judged downgrade rate fell by 7.8 to 12.9 percentage points across judges.

    The pattern is consistent with the substituted symptom description shaping recommendations in these scenarios.

  • Feasibility beyond the main test

    Physical Rowhammer produced the expected response marker in 3 of 10 context-disclosure campaigns and 8 of 10 response-alteration campaigns on the tested CPU platform. Separate software-emulated tests reproduced both outcomes in SGLang and Sonar with one model.

    These results extend the demonstration beyond the main vLLM software tests, within the tested platforms and configurations.

Deep

Next paperDeleting a record can leave its secret recoverable by an agent