CVE-2026-139740: dmaengine: xilinx_dma: Move descriptors to done list based on completion bit

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

dmaengine: xilinxdma: Move descriptors to done list based on completion bit

In AXI MCDMA, xilinxdmacompletedescriptor() walks the channel's activelist and unconditionally moves every entry to the donelist. The MCDMA IOC interrupt handler invokes this function on every interrupt-on-completion, but with interrupt coalescing (IRQThreshold > 1) an IOC interrupt may fire after only a subset of the queued descriptors have actually been processed by the hardware. As a result, descriptors whose completion bit is not yet set in the BD status were being reported as completed to client drivers.

Add a check for the descriptor completion bit before moving entries from the active list to the done list, using the appropriate direction- specific status field (s2mmstatus for DMADEVTOMEM, mm2sstatus for DMAMEMTODEV).

This mirrors the AXIDMA fix in commit 7bcdaa658102 ("dmaengine: xilinxdma: Freeup active list based on descriptor completion bit").

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Update xilinx_dma_complete_descriptor() to check the descriptor completion bit before moving an entry from active_list to done_list. Check s2mm_status for DMA_DEV_TO_MEM and mm2s_status for DMA_MEM_TO_DEV, and leave descriptors whose completion bit is unset on active_list.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel's Xilinx AXI MCDMA driver are affected when descriptors are queued on a channel. The issue specifically concerns interrupt-on-completion handling in AXI MCDMA.

2

What configuration makes the incorrect completion reporting more likely?

The issue occurs with interrupt coalescing enabled and IRQThreshold greater than 1. In that configuration, an IOC interrupt can occur after only some queued descriptors have been processed.

3

What is the practical effect of the flaw?

The driver can report descriptors as completed to client drivers before the hardware has set their completion bits. This can cause clients to treat unprocessed DMA work as complete.

4

How is the issue fixed?

The fix checks each descriptor's direction-specific completion status before moving it from the active list to the done list. It uses s2mm_status for DMA_DEV_TO_MEM and mm2s_status for DMA_MEM_TO_DEV.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203