• Home
  • Search
  • Dynamic Detection of Vulnerable DMA Race Conditions
  • https://doi.org/10.1145/3719027.3765126Copy DOI Icon

Dynamic Detection of Vulnerable DMA Race Conditions

  • Nov 19, 2025
  • Brian Johannesmeyer +3 more
Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

The drivers of modern operating systems use Direct Memory Access (DMA) to efficiently communicate with peripheral devices. Since the memory accessed by DMA is a shared resource between driver and device, it is a possible source of race conditions. Peripheral devices are also often untrusted, so these race conditions open up a new potential attack vector against a trusted OS kernel. In this paper, we present DMARacer, a dynamic detector called for these DMA-based race conditions in kernel code. DMARacer tracks memory accesses to DMA memory throughout the kernel's lifetime and analyses them for various indicators of race conditions. Additionally, upon detecting a race condition, DMARacer uses taint tracking to trace its impact and identify any potential vulnerabilities it may trigger, such as memory corruption or denial-of-service. We used DMARacer to search the drivers of the Linux kernel for DMA-based errors and find that DMA-based race conditions are a systemic issue in driver code. In total, DMARacer was able to detect 817 problematic memory accesses and 344 vulnerable operations in the scanned Linux kernel drivers.

Similar Papers
  • Research Article
  • Citations2

DCMA: Accelerating Parallel DMA Transfers with a Multi-Port Direct Cached Memory Access in a Massive-Parallel Vector Processor

  • Jun 30, 2025
  • ACM Transactions on Architecture and Code Optimization
  • Gia Bao Thieu +2
  • Research Article
  • Citations3

Architectural Support for Coherent Architecturally Visible Storage in Instruction Set Extensions

  • Jan 01, 2010
  • Infoscience (Ecole Polytechnique Fédérale de Lausanne)
  • Ties Jan Henderikus Kluter
  • Conference Article
  • Citations49

DICE: Automatic Emulation of DMA Input Channels for Dynamic Firmware Analysis

  • May 01, 2021
  • Alejandro Mera +3
  • Conference Article
  • Citations6

Design and Implementation of EDMA Controller for AI based DSP SoCs for Real- Time Multimedia Processing

  • Oct 07, 2020
  • Madhuri R A +5
  • Conference Article
  • Citations8

Optimal 2D Data Partitioning for DMA Transfers on MPSoCs

  • Sep 01, 2012
  • Selma Saidi +3
  • Research Article

整合SDRAM控制器、主僕式矽智財、與SoC匯流排分析儀之系統晶片設計架構

  • Jan 01, 2009
  • 吳俊慶
  • Conference Article
  • Citations7

SecWalk: Protecting Page Table Walks Against Fault Attacks

  • Dec 12, 2021
  • Robert Schilling +3
  • Research Article

DMA method for NAND flash based on PXA3xx processor

  • Oct 09, 2009
  • Journal of Computer Applications
  • Bin Shi +2
  • Conference Article
  • Citations14

Poster

  • Oct 17, 2011
  • Patrick Stewin +2
  • Research Article
  • Citations24

DMA transfer method for wide-range speed and frequency measurement

  • Jan 01, 1993
  • IEEE Transactions on Instrumentation and Measurement
  • M Prokin
  • Research Article
  • Citations2

HiPeC — High Performance Cryptographic Service for Heterogeneous Network-on-Chip Systems

  • Jan 01, 2015
  • IFAC PapersOnLine
  • Hermann Seuschek +2
  • Conference Article
  • Citations14

A Processor-DMA-Based Memory Copy Hardware Accelerator

  • Jul 01, 2011
  • Wen Su +3
  • Research Article
  • Citations15

Optimizing Inter-Core Communications Under the LET Paradigm using DMA Engines

  • Jan 01, 2023
  • IEEE Transactions on Computers
  • Paolo Pazzaglia +3
  • Conference Article
  • Citations11

Simulating the Wenchuan earthquake with accurate surface topography on Sunway TaihuLight

  • Nov 11, 2018
  • Bingwei Chen +11
  • PDF
  • Research Article

PIMP My Many-Core: Pipeline-Integrated Message Passing

  • Nov 06, 2020
  • International Journal of Parallel Programming
  • Jörg Mische +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.