Linux Kernel 8250 Serial Driver DMA Transaction Management Vulnerability

Vulnerability

A vulnerability in the Linux kernel's 8250 serial driver can lead to a deadlock in transmitting data over Direct Memory Access (DMA). This issue arises because the function 'dmaengine_terminate_async' does not ensure that the '__dma_tx_complete' callback is executed. The callback is crucial as it clears the 'tx_running' status of the DMA transaction. If the callback is skipped, the 'tx_running' flag remains set, preventing the scheduling of new DMA transmissions, which can disrupt data flow and cause communication issues.

Impact

This vulnerability can cause a transmission deadlock, where new DMA transactions cannot be scheduled, potentially leading to data loss or communication failures.

Reproduction

The vulnerability can be reproduced by initiating a DMA transmission using the 8250 serial driver, then canceling the transaction before the '__dma_tx_complete' callback has a chance to run. This can be done by terminating the DMA channel asynchronously, which will not clear the 'tx_running' flag, creating a blockage in the transmission process.

Remediation

The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version where this issue has been fixed.

Added: May 5, 2026, 4:56 PM
Updated: May 5, 2026, 4:56 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
3.9
remediation
7.7
relevance
7.5
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.