Race Condition in DMA RX Transfer - Linux Kernel Vulnerability

linux Updated 02 Oct 2025

Summary

02/03/2024
N/A
No i
High
7.0

CVE-2023-52517: In the Linux kernel, the following vulnerability has been resolved: spi: sun6i: fix race between DMA RX transfer completion and RX FIFO drain Previously the transfer complete IRQ immediately drained to RX FIFO to read an... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is a core component of many operating systems, providing essential services for hardware management, process control, and system security. It supports a wide range of hardware architectures and is known for its stability and performance. This vulnerability specifically affects the SPI (Serial Peripheral Interface) subsystem, which is crucial for communication between microcontrollers and peripheral devices. The vulnerability arises from a race condition during DMA (Direct Memory Access) operations, potentially leading to data corruption.

Vulnerability Detail

In the Linux kernel, a race condition exists between the DMA RX transfer completion and the RX FIFO drain process. When the transfer complete interrupt is triggered, it immediately attempts to drain the RX FIFO to read any remaining data. In interrupt mode, this behavior is correct; however, in DMA mode, the interrupt fires prematurely, causing a race between the DMA engine and the drain procedure. This can corrupt data being read from the RX FIFO. Additionally, the RX buffer pointer does not adjust according to DMA progress, leading to further complications in data handling.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the recommended updates to the Linux kernel as soon as possible.

Conclusion

The CVE-2023-52517 vulnerability in the Linux kernel presents a significant risk due to a race condition in DMA RX operations. It is crucial for users to update their systems to the latest kernel versions to mitigate potential data corruption issues. Regular monitoring and timely updates are essential for maintaining system integrity.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability can lead to data corruption during DMA RX operations, which may affect the integrity of data being processed by the system.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.

All versions of the Linux kernel prior to the fixed versions in Debian 12 (6.1.64-1) and Debian 13 (6.5.6-1) are affected.

While the vulnerability exists, the risk of exploitation depends on the specific use case and configuration of the system. It is advisable to apply the fix promptly.

If immediate updates are not possible, monitor your system closely for any unusual behavior and consider isolating affected components until a fix can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback