SLAC: Access-Driven CPU-to-GPU Side-channel Attacks via System-Level Cache on Apple Silicon

Tianhong Xu, Saion K. Roy, Ruyi Ding, Aidong Adam Ding, Yunsi FeiarXiv 2026

This paper, titled SLAC, introduces a new class of microarchitectural vulnerabilities in Apple Silicon. Researchers from Northeastern University and Louisiana State University have demonstrated the first fine-grained, access-driven side-channel attack that allows an unprivileged CPU process to spy on sensitive GPU workloads by exploiting the shared System-Level Cache (SLC).

TL;DR

Researchers successfully reverse-engineered the complex, undocumented hashing functions of Apple’s M1 System-Level Cache to perform fine-grained "Prime+Probe" attacks. By monitoring cache set footprints, they can reconstruct private data from GPU-accelerated tasks, including recovering edges in Graph Neural Networks (GNNs) and private prompts from Large Language Models (LLMs) with high accuracy.

What Problem Does This Paper Address?

Modern chips (like Apple’s M-series) use a Unified Memory Architecture (UMA) where the CPU and GPU share the same physical memory and a large System-Level Cache (SLC). While this boosts performance, it creates a "cross-domain" attack surface.

Previously, attacks in this space were either:

  1. Coarse-grained: Only measuring total cache usage (occupancy), which lacks the detail needed to steal specific secrets like cryptographic keys or model inputs.
  2. GPU-resident: Requiring the attacker to already be running code on the GPU, which is a more restrictive threat model.

The challenge is that Apple’s SLC is a "black box." Its set-indexing functions (how memory addresses map to cache locations) are undocumented and use complex hashing rather than simple bit-selection. Furthermore, the SLC is exclusive to CPU private caches but non-inclusive to GPU caches, making it difficult for a CPU-side attacker to reliably "prime" the cache to observe GPU activity.

Methods

The authors developed SLAC (Access-Driven CPU-to-GPU Side-channel Attacks) through several novel steps:

  • Reverse-Engineering the SLC: They used a technique called collision-profile clustering. Instead of traditional iterative pruning (which fails against complex hashes), they filled the cache and observed which lines were evicted when a "test" line was accessed. By clustering these patterns, they recovered the 12-bit hash functions used for SLC indexing.
  • CPrime+CProbe: This is a CPU-only attack. Because the SLC is exclusive to the CPU's L2 cache, the attacker must first saturate the L2 cache to "spill" their data into the SLC. They then wait for the GPU victim to run and "probe" the SLC to see which of their lines were kicked out.
  • GPrime+CProbe: An accelerated version where the attacker uses the GPU to prime the SLC. Because of the GPU's massive parallelism, this is 6.4x faster than the CPU-only version.
  • Differential Tracing: To deal with background system noise (like the OS updating the display), they compare a "baseline" trace (idle GPU) with a "target" trace (victim GPU) to isolate the signal.
Figure 1: Landscape of access-driven cache side-channel at- tacks for heterogeneous CPU-GPU architectures.

Datasets

The researchers evaluated their attacks on two primary types of GPU workloads:

  1. Graph Neural Networks (GNNs): Tested on five standard benchmarks: Cora, Citeseer, Pubmed, Computers, and Photo.
  2. Large Language Models (LLMs): They attacked TinyLlama (1.1B) and GPT-2 Medium (0.35B) using prompts from the MedQuad (medical questions) and FinancialQA (stock tickers) datasets.

Key Insights and Ideas

  • The "Aha!" Moment on Residency: The researchers discovered that the SLC behaves asymmetrically. When the GPU reads data, it goes straight to the SLC. However, if the CPU already has that data in its private L2, the GPU just reads it from there via a coherence path without creating a new copy in the SLC. This insight was crucial for designing reliable probes.
  • Hash Complexity: Unlike Intel CPUs, which often use simple XORs on a few bits, Apple’s M1 SLC hashes across 26 different physical address bits for every single index bit.
  • Clustering over Pruning: The move from "iterative pruning" to "collision-profile clustering" is a significant methodological shift for reverse-engineering modern, complex cache hierarchies.
Figure 2: Cache structure of Apple M1.

Key Results

  • Covert Channel: They established a communication channel between the GPU and CPU with a throughput of 400 Kbps using GPrime+CProbe.
  • GNN Edge Recovery: The attack reconstructed over 90% of graph edges across all five datasets. In some cases (like Cora and Pubmed), the precision exceeded 99%.
  • LLM Privacy:
    • Keyword Recovery: Identified sensitive keywords in user prompts with up to 94.8% accuracy.
  • Response Recovery: Reconstructed the LLM's generated text token-by-token with up to 88.9% accuracy.

Limitations and Future Work

  • Platform Specificity: The current work focuses on the Apple M1. While the authors expect M1 Pro/Max and M2 to be vulnerable due to similar architectures, the Apple M3 introduces "Dynamic Caching," which might change how the GPU interacts with the SLC.
  • Physical Address Access: The attack relies on knowing physical addresses, which the authors obtained via the macOS I/O Kit—a vector that could potentially be hardened by Apple.
  • Countermeasures: The paper calls for new hardware designs, such as cache partitioning or more secure coherence protocols, to prevent this cross-domain leakage in future heterogeneous SoCs.

Summary updated

BibTeX
@misc{xu2026slac,
  author = {Tianhong Xu and Saion K. Roy and Ruyi Ding and Aidong Adam Ding and Yunsi Fei},
  title = {{SLAC: Access-Driven CPU-to-GPU Side-channel Attacks via System-Level Cache on Apple Silicon}},
  year = {2026},
  eprint = {2608.09075},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.09075},
}

Loading related content...

Figure