← Lab /Security & privacy

WarpGuard detects GPU control-flow and CPU-GPU boundary attacks with moderate overhead

WarpGuard can jointly attest CPU-GPU execution and detect runtime attacks on GPU kernels and cross-boundary violations

Security & privacy arXiv 15 Jul 2026 Defense Prototype evidence

Published as “WarpGuard: Towards Control-Flow Attestation for Heterogeneous CPU-GPU Execution”

Why it matters

WarpGuard enables detection of runtime GPU control-flow attacks and CPU-GPU policy violations on embedded devices, but high overhead on certain kernels may limit its deployment to workloads with longer kernels or reduced tracing granularity.

Summary

WarpGuard can detect GPU-side control-flow hijacking and violations of the CPU-GPU interaction contract, as demonstrated by reproducing a known GPU ROP attack. The prototype runs on an NVIDIA Jetson Orin Nano and incurs moderate overhead on many workloads, but worst-case slowdowns reach up to 128× for SPECaccel benchmarks and 120× for a YOLOv3-Tiny TensorRT model. Function-level tracing reduces overhead to between 1.9× and 6.9× on the AI IoT workloads, suggesting it may be practical for safety-critical embedded settings despite occasional high costs.

What they found 3

  1. WarpGuard detects GPU-side control-flow and cross-boundary attacks.

    “Our evaluation on an NVIDIA Jetson Orin Nano shows that WarpGuard detects GPU-side control-flow and cross-boundary attacks.”

  2. Baseline overhead on SPECaccel benchmarks ranges from 2.4× to 128× (mean 39.3×).

    “WarpGuardbb fulloverhead ranges from 2.4× to 128× (mean 39.3×);”

  3. The verifier catches the injected control-flow edge when the attack redirects execution to sum2.

    “the verifier immediately identifies a violating edge when execution enters sum2 from the RET instruction of sum1.”

Caveats 5

  • Worst-case slowdown of 128× on SPECaccel benchmarks (e.g., spF and swim) undermines the claim of moderate overhead.
  • YOLOv3-Tiny and Super-Res AI workloads experience 120× and 0.32 QPS respectively, showing that some realistic models may be impractically slow.
  • We identified thrashing at extremely high GPU record volumes, indicating that we reach hardware limits.
  • Through all microbenchmarks, the gap between WarpGuardbb full and WarpGuardbb empty shows that the dominant overhead stems from the underlying instrumentation frameworks.
  • three benchmarks could not execute due to insufficient GPU memory

What’s new here 4

  • Provides runtime control-flow attestation for GPU kernels using warp-level tracing.
  • Introduces a composite control-flow graph that unifies CPU and GPU execution paths.
  • Enforces per-callsite launch policies to detect unauthorized kernel substitutions or launch-parameter tampering.
  • Achieves this entirely with software instrumentation, requiring no hardware modifications or binary rewriting.