﻿# Spy in the GPU-box: separate GPUs can still share a timing channel

The original DGX research demonstrates cross-GPU cache timing and application fingerprinting. Its topology and attacker assumptions limit the security conclusion.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/spy-gpu-box-cross-device-cache-timing-threat-model-boundaries/
Language: en

## The research studies a particular multi-GPU machine

The [original Spy in the GPU-box paper](https://arxiv.org/html/2203.15981v1) investigates a Pascal-based DGX-1 system with eight Tesla P100 accelerators and an NVLink-connected topology. Its initial public version appeared in March 2022. The [PNNL publication record](https://www.pnnl.gov/publications/spy-gpu-box-covert-and-side-channel-attacks-multi-gpu-system) identifies the later ISCA 2023 conference paper. These records belong to the same research lineage, rather than separate experimental replications.

The practical question is whether assigning different physical GPUs prevents all microarchitectural communication between workloads. The answer in this tested system is no: remote memory operations can interact with cache resources on another accelerator. The machine’s connected memory architecture matters, rather than just the number of device identifiers shown by a scheduler.

## The attacker has local execution capability

The paper assumes an attacker with normal user access who can run GPU applications on the shared machine. The experimental software uses CUDA 10.0. The attacker does not require supervisor privileges in the stated threat model, but this is not an unauthenticated network attack against any exposed inference endpoint.

Topology, accessible communication paths and concurrent placement remain conditions of the demonstration. A result on this system does not prove the same channel exists with identical capacity on every newer accelerator, disconnected pair of cards or virtualized assignment. The [GPU topology guide](/journal/gpu-topology-distance-matrix/) explains why device identity and the path connecting devices are separate operational facts.

## Covert communication and observation are different results

For the covert channel, both the sender and receiver cooperate, using contention to communicate across devices. The paper reports a best bandwidth of 3.95 MB per second with an error rate of 1.3 percent. This is a channel-capacity result under the authors’ experiment, not measured exfiltration from an unsuspecting production user.

For the side channel, the neighboring application does not cooperate. The observer uses timing patterns to infer workload characteristics. The research demonstrates classification among selected applications and a separate proof of concept concerning a neural-network hidden-layer size. Those results do not establish recovery of arbitrary prompt text, model weights or every byte in a neighboring GPU’s memory. Inferring a workload category and reading its data are materially different security properties.

## Hardware allocation is not a complete security claim

The demonstrated interaction occurs despite the processes running on different accelerators. Consequently, a policy that equates different GPU numbers with complete noninterference omits the shared fabric and memory hierarchy. Whether a deployment permits the prerequisites must be assessed from its actual assignment and access controls.

The paper discusses partitioning shared resources and restricting placement as possible mitigation directions. That discussion is not a universal, verified patch matrix. Later hardware mechanisms require their own threat model and evidence. The [MIG and time-slicing guide](/journal/gpu-mig-vs-time-slicing/) helps distinguish sharing mechanisms without treating any allocation label as a blanket security certificate.

## Preserve the bounded finding

This study is evidence that cross-device timing leakage can be practical on a connected multi-GPU system. It is not a container-escape report, a current fleet vulnerability count or a guarantee that a particular mitigation eliminates every channel. Defensive inventory should preserve topology, tenant placement, accessible peer paths and the isolation property required. No attack implementation was executed for this article, and no unreported production compromise is implied.
