← Latest papers
💻 computer science

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

This paper introduces SLAC, a novel fine-grained, access-driven side-channel attack on Apple Silicon that exploits shared system-level cache footprints to enable unprivileged CPU processes to monitor GPU workloads, achieving high-accuracy privacy breaches against Graph Neural Networks and Large Language Models.

Original authors: Tianhong Xu, Saion K. Roy, Ruyi Ding, Aidong Adam Ding, Yunsi Fei

Published 2026-08-11
📖 6 min read🧠 Deep dive

Original authors: Tianhong Xu, Saion K. Roy, Ruyi Ding, Aidong Adam Ding, Yunsi Fei

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you and a friend are sharing a single, high-speed library in the middle of a bustling city. You both have your own private desks where you keep your favorite books, but when you need something you don't have, you both run to the shared library to grab it. This library is the "System-Level Cache" (SLC), a super-fast memory spot shared by the computer's brain (the CPU) and its graphics powerhouse (the GPU). In the world of modern computing, these two parts live on the same chip, like roommates in a tiny apartment, and they have to share this library to work fast.

Now, here's the tricky part: even though you can't see what your friend is reading on their private desk, you can watch the library. If your friend grabs a book, it disappears from the library shelf for a split second. If they don't grab it, the book stays right where it was. By timing exactly how long it takes to check if a book is on the shelf, a sneaky observer can figure out what your friend is reading, even without ever seeing the book itself. This is called a "side-channel attack." It's like guessing someone's secret recipe by listening to the clinking of pots in the kitchen next door. As we rely more on computers to handle our private photos, medical records, and AI conversations, figuring out if these "kitchen noises" can leak secrets is a huge deal for keeping our digital lives safe.


The Paper: SLAC – The "Library Watcher" Attack

In this paper, a team of researchers from Northeastern University and Louisiana State University decided to see if they could pull off a very specific kind of "kitchen noise" spying on Apple's new Silicon chips (like the M1). They wanted to know: Can a regular computer program (running on the CPU) spy on a secret graphics program (running on the GPU) just by watching the shared library?

Previously, people knew you could spy in the opposite direction (GPU spying on CPU), or you could get a very blurry, low-resolution view of what the GPU was doing (like seeing that the library is "busy" but not knowing which books were touched). But no one had figured out how to get a sharp, high-definition view of the GPU's activity from the CPU side on Apple chips. The researchers call their new method SLAC.

How They Cracked the Code

To make this work, the team had to solve two massive puzzles first.

  1. The Secret Map: The Apple M1 chip uses a very strange way of organizing its library. Instead of putting books in order (Book 1, Book 2, Book 3), it uses a complex, secret math formula (a hash function) to decide which shelf a book goes to. It's like a librarian who shuffles the books based on a secret code. The researchers had to reverse-engineer this code. They spent time testing millions of addresses to figure out exactly how the chip decides where to put data. They discovered the chip uses a 12-bit index, meaning there are 4,096 different "shelves" (cache sets) in the library.
  2. The "Exclusive" Rule: They also found a weird rule about how the CPU and GPU use the library. When the CPU looks at a book, it keeps a copy on its own desk and doesn't put it in the shared library unless it runs out of space. But when the GPU looks at a book, it puts it directly in the shared library. This "exclusive" behavior meant the researchers had to be clever. They couldn't just fill the library from the CPU side easily; they had to fill the CPU's private desk first, then force the CPU to kick old books out into the shared library to set the stage for the attack.

The Attack: CPrime and GPrime

Once they had the map and understood the rules, they built two ways to spy, which they call CPrime+CProbe and GPrime+CProbe.

  • CPrime (The CPU Spy): This method uses only the CPU. The attacker fills the shared library with their own "decoy" books. Then, they let the victim (the GPU) run its secret program. If the victim touches a book that the attacker put there, the attacker's book gets kicked out. When the attacker checks the library again, they see a delay (a "miss") and know, "Aha! The GPU touched that specific shelf!"
    • The Catch: This is slow because the CPU has to do a lot of heavy lifting to fill the library. It takes about 7 milliseconds to set up the trap.
  • GPrime (The GPU Spy): This is the supercharged version. If the attacker can also run code on the GPU (which is allowed in many scenarios), they can use the GPU's massive speed to fill the library in a flash.
    • The Result: This setup is 6.4 times faster than the CPU-only version, taking only 0.7 milliseconds.

What They Found: Spying on Secrets

The researchers didn't just stop at setting up the trap; they used it to steal real secrets. They tested two scenarios:

  1. Stealing Social Network Maps (GNNs): They attacked a Graph Neural Network, which is a type of AI used to analyze social networks or medical data. The "secret" here is the connections (edges) between people or nodes. By watching which library shelves the GPU touched, the attacker could reconstruct the map.

    • The Score: They managed to recover 90% of the connections (edges) correctly across five different datasets. With the faster GPU-based method, they got even closer to 99.9% accuracy on some maps.
  2. Reading Your Mind (LLMs): They attacked Large Language Models (like the ones that power chatbots). These models look up words in a giant dictionary (embedding table) to understand what you type and what they should say next.

    • Input Spying: They tried to guess what keywords you typed (like a disease name or a stock ticker). They recovered the input keywords with up to 94.8% accuracy.
    • Output Spying: They tried to guess what the AI was saying back to you. They recovered the AI's response words with up to 88.9% accuracy.

The Verdict

The paper concludes that the shared library on Apple's Silicon chips is a "leaky buddy." Even though the CPU and GPU are supposed to be separate, the way they share this fast memory creates a hidden channel that allows a regular, unprivileged program to spy on sensitive graphics workloads with frightening precision.

The researchers measured these results on real hardware (Apple M1 chips) and found that the attacks work reliably, not just in theory. They suggest that future computer designs need to be more careful about how they share memory, or else our private AI conversations and data could be overheard just by listening to the "clinking of pots" in the shared library.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →