Skip to content

BridgeHammer: DNN backdoor attacks exploiting CPU-iGPU shared memory RowhammerBridgeHammer: DNN Backdoor Attack via CPU-iGPU Shared-memory Rowhammer

arXiv: Adversarial Attacks, Backdoors & Poisoning· arXiv:2611.34684· Yufei Wang, Saion K. Roy, Yunsi FeiElectrical and Computer Engineering; Northeastern University; BostonIndexed by this site · 3 days ago· Originally publishedAttacks· Its place in the scan record →

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors propose BridgeHammer, which implants DNN backdoors via CPU-side Rowhammer on an Intel CPU–iGPU platform, achieving an average ASR of 88.9% across six configurations.

Threat modelThe attacker is a separate user-space process on the same machine, knows the public target model and the DNN serving software stack, can analyze DRAM and execute Rowhammer, and can observe and pause the victim process through microarchitectural side channels; the attacker cannot modify the victim application or access the iGPU execution interface.

Questions
Zero-copy inference, in which the CPU and iGPU share physical memory, allows CPU-side memory corruption to potentially affect the model used by the iGPU. The difficulty is to make the target weight pages land in DRAM locations with reproducible faults and to inject faults at the correct point in the deployment lifecycle.
Methods
BridgeHammer analyzes DRAM faults offline and follows ROBBIN to construct a hardware-aware backdoor; online, it sets two breakpoints after model compilation and after zero-copy binding, completing target-page placement and Rowhammer respectively, after which the iGPU uses the corrupted shared weights.
Experiments and results
The authors test the INT8 and FP32 configurations of three models on an Intel Core i7-8700, OpenVINO, and CIFAR-10. Table I's ASR is 84.4%–90.2%, and Clean Accuracy is 82.8%–91.5%; the authors report that target page placement and bit-flip reproduction are both 100%.
Limitations and future work
The authors tested only one Intel CPU–iGPU platform, plan to examine NVIDIA Jetson and AMD Ryzen APU, and state that changing platforms requires recalibrating synchronization parameters. The paper does not report the sample size for ASR, the number of repetitions, trigger details, or adaptive attack evaluation.
Experimental setupResNet-20、VGG-16 et al. · CIFAR-10、Intel Core i7-8700 with Intel UHD Graphics 630 et al. · ASR、Clean Accuracy et al.
Evaluated models
ResNet-20VGG-16ResNet-50
Benchmarks
CIFAR-10Intel Core i7-8700 with Intel UHD Graphics 630OpenVINO
Metrics
ASRClean AccuracyBaseline Accuracytarget-page placementbit-flip reproductionnormalized attack overheadsynchronization timing margins
AI summaryThe researchers propose BridgeHammer, a Rowhammer backdoor attack that exploits physical memory shared between the CPU and iGPU to corrupt deep learning models used for iGPU inference on heterogeneous SoCs, causing inputs with a trigger to be misclassified in a targeted way while normal inputs remain accurate. The attack completes targeted weight placement before zero-copy binding and injects faults before inference, coordinating the timing of interventions in two compute domains across the model deployment lifecycle, after which the iGPU continues inference using the corrupted model. On an Intel CPU-iGPU heterogeneous platform using OpenVINO, across six configurations of ResNet-20, VGG-16 and ResNet-50 in INT8 and FP32, the average attack success rate was 88.9% and clean accuracy 86.3%, with target page placement and bit flips both stably reproducible. The authors state that these results reveal a new integrity vulnerability on heterogeneous CPU-iGPU SoCs, indicating the need for cross-domain memory integrity protection.

The researchers propose BridgeHammer, a Rowhammer backdoor attack that exploits physical memory shared between the CPU and iGPU to corrupt deep learning models used for iGPU inference on heterogeneous SoCs, causing inputs with a trigger to be misclassified in a targeted way while normal inputs remain accurate. The attack completes targeted weight placement before zero-copy binding and injects faults before inference, coordinating the timing of interventions in two compute domains across the model deployment lifecycle, after which the iGPU continues inference using the corrupted model. On an Intel CPU-iGPU heterogeneous platform using OpenVINO, across six configurations of ResNet-20, VGG-16 and ResNet-50 in INT8 and FP32, the average attack success rate was 88.9% and clean accuracy 86.3%, with target page placement and bit flips both stably reproducible. The authors state that these results reveal a new integrity vulnerability on heterogeneous CPU-iGPU SoCs, indicating the need for cross-domain memory integrity protection.

Related events and news

1 events · 0 news mentions

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Investigate whether CPU-side Rowhammer can implant a targeted DNN backdoor into iGPU zero-copy inference across shared memory.

    The core question is: how, on a heterogeneous CPU–iGPU SoC, can a CPU-side memory fault be used to implant a backdoor into the DNN used by the iGPU while preserving accuracy on normal inputs?

    • Problem scenario: Unified memory lets the iGPU directly access weights loaded by the CPU, eliminating host-to-device copies; the authors consider that this shared-memory path also allows an attacker on the host to affect the model integrity of iGPU inference.
    • Gap in existing methods: Existing DNN Rowhammer backdoors are all CPU-only, with the attacker and victim model on the same CPU; although iGPU-side Rowhammer has been demonstrated, the authors state that graphics interfaces do not directly expose physical address mappings, making it difficult to control the location of target weight pages.
    • Core observation: The attack must simultaneously solve "where to fault" and "when to intervene": target pages must match the device fault map, memory grooming must occur after model compilation and before zero-copy binding, and Rowhammer must occur after binding and before inference dispatch.
    • Proposed approach: The authors propose BridgeHammer, which offline constructs a backdoor and page mapping compatible with DRAM faults, and online, through instruction monitoring and signal synchronization, performs target memory grooming and fault injection at two breakpoints respectively.
    • Threat model:
      • Goal: Make trigger-bearing inputs produce the attacker-chosen output while keeping Clean Accuracy on benign inputs close to the original model.
      • Knowledge: The attacker knows the public target model and the DNN serving software stack, and can obtain device-specific DRAM fault characteristics.
      • Capabilities: A separate user-space process on the same machine can execute Rowhammer, observe the victim's progress through microarchitectural side channels, and temporarily interrupt it.
      • Boundary and victim system: The victim system is a unified-memory CPU–iGPU inference service; the attacker cannot modify the victim application and has no access to the iGPU execution interface.
  2. What related research exists?

    Related work is divided into DNN weight backdoors, CPU-side Rowhammer, and GPU-side Rowhammer; this paper follows ROBBIN's offline design.

    DNN weight-modification backdoors

    • TBT (2020): injects a trigger-activated backdoor through targeted weight modification; a representative algorithm-layer targeted weight attack.
    • ProFlip (2021): searches for the parameters most effective for the backdoor to reduce the number of required bit flips.
    • OneFlip (2025): the authors relay its results as stating that on some models, a single FP32 bit flip can install a backdoor.

    CPU-side Rowhammer integrity attacks

    • DeepHammer (2020), Don’t Knock (2023), OneFlip (2025), ROBBIN (2026): all place the attacker on the same CPU as the victim DNN and include memory grooming, using OS page-frame allocation to place target model pages in locations susceptible to Rowhammer; attack targets and bit-flip efficiency differ.
    • Don’t Knock (2023): targets INT8 models, incorporates device fault constraints into backdoor construction, requires target flips to be sparse and one per page, and selects DRAM frames that can tolerate collateral flips.
    • ROBBIN (2026): considers the full device fault map of candidate DRAM pages and selects the DNN-to-DRAM page mapping to balance ASR and Clean Accuracy; BridgeHammer’s offline fault-aware backdoor directly adopts its method.

    GPU-side Rowhammer and related primitives

    • Grand Pwning Unit (2018) and OpenGL GPU-Based Rowhammer Attack (2025): study launching Rowhammer from an integrated GPU; the authors note that such opaque graphics interfaces do not directly provide the physical address mapping and placement control required for targeted backdoors.
    • GPUHammer (2025) and Not So Refreshing (2025): the former targets discrete GPU memory, the latter studies timing leakage related to in-DRAM Refresh Management (RFM).
    • Blacksmith (2022) and Flush+Reload (2016): provide, respectively, the frequency-domain Rowhammer fault analysis tool and the shared-library instruction monitoring primitive used in this paper; Rubicon (2025) is cited for page-granularity memory grooming and PCP capacity background.

    Experimental comparisons and baselines: the paper sets no other backdoor attacks as numerical baselines; the comparison in Table I is each model’s original Baseline Accuracy; experiments use CIFAR-10 and compare INT8 with FP32.

    The authors position this paper as an attack across the CPU–iGPU deployment lifecycle: weights are still loaded and managed by the CPU but consumed by the iGPU via zero-copy binding; the authors state that backdoor feasibility in this scenario had not been studied previously.

  3. How does the paper address this problem?

    BridgeHammer uses an offline fault map to guide page mapping, and completes memory grooming and Rowhammer at two deployment breakpoints.

    The overall idea is to make the offline backdoor design compatible with actual DRAM faults, then use online dual-breakpoint synchronization to place the target weight pages into designated physical frames, and reproduce these faults after zero-copy binding. The backdoor then persistently affects subsequent iGPU inference.

    Problem setting and page classification

    • Attack goal: ASR measures the proportion of trigger-bearing inputs that produce the attacker-chosen output, and CA measures accuracy on benign inputs; success requires high ASR while CA is close to the original model's Baseline Accuracy.
    • Virtual page classification: Target DNN pages contain the parameters that the backdoor designates to corrupt; Benign DNN pages are kept intact to maintain normal accuracy.
    • Physical frame classification: Vulnerable DRAM frames are frames where the required bit flips can occur; Robust DRAM frames are neither attack targets nor located on the aggressor rows used by the attacker.

    Offline fault analysis and backdoor construction

    • Fault profiling: Uses Blacksmith's non-uniform frequency-domain Rowhammer patterns, varying the aggressor-row access order and intensity; the authors state that these patterns can bypass Target Row Refresh (TRR) on the experimental DDR4 modules.
    • Fault map contents: For each reproducible bit flip, records the PFN, the bit offset within the 4-KiB frame, the 0→1 or 1→0 direction, and the specific Rowhammer pattern that reproduces it, forming a fault map indexed by PFN.
    • Hardware-aware backdoor: Following ROBBIN, selects model target bits and the DNN pages-to-DRAM frames mapping according to the fault map; the complete fault pattern of the selected frames jointly constitutes the backdoor, rather than first selecting ideal flips and then finding locations.
    • Offline output: The mapping from target DNN pages to vulnerable DRAM frames, and the complete fault pattern corresponding to each frame, for use in online placement and injection.

    Online dual-breakpoint procedure

    1. T1: Target memory grooming: The breakpoint is after model compilation completes and before zero-copy weight anchoring. The attacker pauses the victim process and uses a large dummy buffer to create system-level memory pressure until all target DNN pages are evicted from the page cache.
    2. PCP placement: According to the offline mapping, the attacker releases the designated vulnerable frames to the per-CPU pageset (PCP), then accesses the target pages at known file offsets so that the kernel allocates these frames from the PCP; repeats release-and-reload until all target pages are in place, then resumes the victim process.
    3. Zero-copy binding: After the victim process resumes, it binds the file-backed weights to shared-memory tensors; the target pages therefore use the physical frames arranged by the attacker, while benign pages that were evicted together are reloaded through the normal kernel path.
    4. T2: Fault injection: The breakpoint is after zero-copy anchoring completes and before inference dispatch. The attacker pauses the victim process again, executes the offline-recorded Rowhammer pattern on each selected frame, reproduces the faults, and then resumes the process; the iGPU subsequently reads the corrupted shared weights.

    Intel/OpenVINO implementation and synchronization

    • Deployment path: The platform is an Intel Core i7-8700 (Coffee Lake) with Intel UHD Graphics 630, sharing one DRAM controller and 8 GB DDR4; the host loads the model with numpy.memmap, and after OpenVINO compilation sets the Tensor's shared_memory to true, then calls infer().
    • Page residency monitoring: The attacker uses page-aligned offsets of the target model file and checks page-cache residency with preadv2()'s RWF_NOWAIT flag, without accessing the victim process's page tables; during the placement phase, uses madvise(MADV_DONTNEED) to release its own pages.
    • Breakpoint anchors: Monitors the caller instruction after CompiledModel::create_infer_request() returns and the instruction after set_input_tensor(), corresponding to T1 and T2 respectively; upon detection, pauses with SIGSTOP and resumes with SIGCONT.
    • Flush+Reload parameters: Cache hit and miss latencies are 44 and 214 cycles respectively, the classification threshold is set to 120 cycles, and a 6.4K-cycle observation window is used between the two monitoring points; Algorithm 1 also defines a threshold τ and a delay interval ∆, but the paper does not give numerical values for either.
    • Success determination: The main evaluation compares ASR, Clean Accuracy, and Baseline Accuracy, and checks target page placement, bit-flip reproduction, attack duration, and pause timing margin; the paper does not state the trigger pattern, target class, number of ASR queries, or human/model review.
  4. What experiments did the paper conduct?

    The ASR of six precision configurations of three CIFAR-10 models is 84.4%–90.2%; overhead, synchronization, and SHA-256 checks were also measured.

    Experimental Setup

    • Models tested: ResNet-20, VGG-16, ResNet-50, each evaluated on CIFAR-10 in INT8 and FP32, for six configurations in total (Table I).
    • Platform and software: Intel Core i7-8700, Intel UHD Graphics 630, 8 GB DDR4, Ubuntu 22.04 and OpenVINO; the experiments run the victim process, attack process, and default OS background services concurrently.
    • Comparisons and metrics: no other attack methods are compared; Table I reports Baseline Accuracy, post-attack Clean Accuracy, ASR, and the number of model pages, target pages, and bit flips for each configuration.
    • Complexity definition: the bit-flip count follows ROBBIN’s definition and is the number of flips contained in the full profiled fault patterns of the selected vulnerable DRAM frames, not only the target bits required by the backdoor.
    • Other measurements: Figure 2 reports normalized attack overhead relative to ResNet-20 INT8; Figure 3 measures the pause latency and remaining execution time at the two breakpoints in the corresponding experiments.
    • Unreported protocol information: the paper does not give the CIFAR-10 evaluation sample size, number of ASR queries, number of repetitions, or trigger and target-class settings, and does not use an LLM or human review.

    Main Results

    Swipe horizontally to read the table

    ModelPrecisionModel pagesTarget pagesBit flipsBaseline AccuracyClean AccuracyASR
    ResNet-20INT866187090.5%82.8%89.7%
    VGG-16INT8365713031992.0%91.5%90.1%
    ResNet-50INT86599342151390.9%87.3%84.4%
    ResNet-20FP322655235991.3%85.0%90.0%
    VGG-16FP32149057849693.3%85.9%90.2%
    ResNet-50FP3223678250170196.1%85.1%88.7%

    According to Table I; the average ASR across the six configurations is 88.9%, and the average Clean Accuracy is 86.3%.

    • Result range: on the full Table I, ASR is 84.4%–90.2% and Clean Accuracy is 82.8%–91.5%; the lowest ASR occurs for ResNet-50 INT8.
    • Physical realization: the authors report that all six configurations achieve 100% accurate target-page placement and bit-flip reproduction; model footprints are 66–23,678 pages, while the selected target pages are 18–342 pages.
    • PCP condition: the measured PCP capacity is 1,135 4-KiB pages; the model footprints of VGG-16 and ResNet-50 exceed this capacity, and the authors state that controlled eviction can still complete the required target-page placement.

    Attack Overhead and Synchronization Reliability

    • Overhead figure: Figure 2 normalizes both T1’s eviction and memory grooming time and T2’s Rowhammer time to ResNet-20 INT8; the converted text does not preserve bar heights, so the specific multiples for each configuration cannot be read.
    • Authors’ interpretation of overhead: T1 eviction time depends on when all target pages are evicted and need not be linear in the number of target pages; the authors state that T2 hammering time increases linearly with the number of target pages.
    • Pause timing: at the two breakpoints, the latency from detecting the monitored instruction to issuing SIGSTOP is 7.55–25.51 µs; all T1 trials pause before the first set_tensor(), with 84–296 µs of victim execution remaining, and T2 has 63.9–114.1 µs remaining before infer().
    • Platform conditions: the authors therefore consider the chosen monitoring points to provide sufficient timing margin for reliable pausing, while noting that changing platforms requires re-characterizing the Flush+Reload threshold and synchronization timing.

    Software Defense Prototype

    • Defense location: after zero-copy weight anchoring and before inference dispatch, recompute the weight buffer digest using an offline reference SHA-256 digest; on mismatch, abort the request to prevent the iGPU from consuming corrupted weights.
    • Detection conclusion: the authors state that this single deployment-time check can detect persistent weight corruption introduced during this attack’s lifecycle while preserving the existing zero-copy shared-memory path; time complexity is linear in total weight footprint.
    • Measured cost: median times are 2.42 ms for ResNet-20 INT8 (262 KiB), 111 ms for VGG-16 INT8 (14.3 MiB), and 206 ms for ResNet-50 INT8 (24.3 MiB); the paper does not report FP32 defense time, false-positive rate, or adaptive attacks.

    Other Ablations and Analysis

    • Cache timing characterization: 44 cycles on hit, 214 cycles on miss, classification threshold 120 cycles, observation window 6.4K cycles (Section V-B).
    • T1 reliability: all trials for the six configurations pause before the first set_tensor(), with 84–296 µs remaining (Section V-B).
    • T2 reliability: the pause occurs before inference dispatch, with 63.9–114.1 µs remaining until the subsequent infer() (Section V-B).
    • Defense overhead: only the three INT8 configurations and their respective weight footprints are reported; no separate digest recomputation counts or statistical dispersion are given (Section VI).
  5. What are some points that can be further explored?

    The authors plan to extend to Jetson and AMD APU; current evidence is limited to one Intel platform and six configurations.

    Limitations noted by the authors and future directions

    • Platform scope: In Section VI "Extension to Other Platforms", the authors explicitly write that they tested only one Intel CPU–iGPU platform.
    • Future platforms: The same section states that Future work will examine NVIDIA Jetson (Arm CPU and GPU sharing LPDDR, TensorRT/CUDA) and AMD Ryzen APU (Zen CPU, GPU, XDNA NPU, Ryzen AI, and ONNX Runtime).
    • Recalibrating synchronization: Section V-B points out that the Flush+Reload threshold and synchronization timing should be re-characterized on different platforms.
    • Defense directions: Section VI "Countermeasures" considers that disabling zero-copy would sacrifice its performance benefits, and instead proposes pre-inference integrity verification, Rowhammer-aware memory allocation that excludes vulnerable physical pages, and monitoring PCP-based memory-massaging activity.

    Scope of experimental coverage

    • Models and data: The tested models are ResNet-20, VGG-16, and ResNet-50, three in total; all are tested on CIFAR-10 with INT8 and FP32, forming the six configurations in Table I.
    • Hardware and software: The experimental platform is only an Intel Core i7-8700 and Intel UHD Graphics 630, sharing 8 GB DDR4; the software is Ubuntu 22.04 and OpenVINO.
    • Defense evaluation: What is implemented and timed is a SHA-256 weight integrity check after zero-copy binding and before inference; the other two defense types are discussed only in Section VI as potential approaches.
    • Timing evidence: T1 states that all trials of the six configurations were paused in time, but does not give the number of trials; T2 reports remaining-time ranges, and the paper does not report the number of independent repetitions.
    • Unreported information: The paper does not report sample sizes, confidence intervals, or statistical tests for ASR/CA, nor does it describe the trigger, target class, INT8 quantization calibration process, or adaptive attack evaluation.
  6. Summarize the main content of the paper

    BridgeHammer combines hardware-aware backdoors with dual-breakpoint synchronization to achieve CPU-side fault injection on shared-memory iGPU inference.

    BridgeHammer is a Rowhammer DNN backdoor attack targeting heterogeneous CPU–iGPU SoCs, focusing on model weight integrity in unified-memory zero-copy inference.

    • Problem to solve: The CPU loads the weights and the iGPU later consumes them; the attacker must both make the target pages match reproducible DRAM faults and choose two correct intervention points among compilation, zero-copy binding, and inference dispatch.
    • Method highlights: Offline, uses Blacksmith to build a fault map and follows ROBBIN to generate a hardware-aware backdoor and page mapping; online, uses Flush+Reload monitoring and SIGSTOP/SIGCONT to complete page-cache eviction and PCP target placement at T1, and to reproduce Rowhammer faults at T2.
    • Main results: On an Intel Core i7-8700, OpenVINO, and CIFAR-10, the six INT8/FP32 configurations of three models average 88.9% ASR and 86.3% average Clean Accuracy; in Table I, ASR is lowest at 84.4% for ResNet-50 INT8 and highest at 90.2% for VGG-16 FP32.
    • Physical and timing evidence: The authors report that target page placement and bit-flip reproduction accuracy are both 100% across the six configurations; all T1 trials pause before the first set_tensor(), and T2 pauses before infer(), with remaining times of 84–296 µs and 63.9–114.1 µs respectively.
    • Defense experiment: The median overhead of the pre-inference SHA-256 weight check ranges from 2.42 ms for ResNet-20 INT8 to 206 ms for ResNet-50 INT8; the authors state that it can detect the persistent weight corruption caused by this attack while preserving the zero-copy path.
    • Authors' conclusion: The authors state that BridgeHammer is the first Rowhammer backdoor across CPU–iGPU targeting zero-copy DNN inference, and on that basis argue for protecting model weights in shared-memory inference; currently only one Intel platform is measured, with plans to examine NVIDIA Jetson and AMD Ryzen APU.

Related papers

Show 3 more papers
Read originalarxiv.org